usa
977eb1bae7
* win32/win32.c (rb_w32_getpid): don't need to use _getpid() on
...
mswin32 and mingw32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-13 01:50:32 +00:00
usa
1a1724229e
* object.c (nil_inspect): fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-13 01:22:31 +00:00
usa
03f75020c9
ChangeLog
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-13 01:22:16 +00:00
aamine
3f5c917860
* ext/ripper/depend: (nmake hack) prepend "./" to ripper.c to avoid {$(srcdir)}.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-13 00:30:47 +00:00
aamine
98258515dd
* ext/ripper/tools/list-parse-event-ids.rb: does not use getopts.
...
* ext/ripper/tools/list-scan-event-ids.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-12 21:44:13 +00:00
aamine
5cdf9a0a19
* ext/Setup: add ripper.
...
* ext/Setup.atheos: ditto.
* ext/Setup.dj: ditto.
* ext/Setup.emx: ditto.
* ext/Setup.nt: ditto.
* ext/Setup.x68: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-12 17:42:49 +00:00
aamine
c971589817
* ext/ripper: ripper extention added.
...
* ext/ripper/MANIFEST: new file.
* ext/ripper/README: new file.
* ext/ripper/depend: new file.
* ext/ripper/extconf.rb: new file.
* ext/ripper/eventids2.c: new file.
* ext/ripper/ripper.rb.in: new file.
* ext/ripper/lib/ripper.rb: new file.
* ext/ripper/test/check-event-arity.rb: new file.
* ext/ripper/test/check-event-coverage.sh: new file.
* ext/ripper/test/check-scanner-event-coverage.rb: new file.
* ext/ripper/test/list-called-events.rb: new file.
* ext/ripper/test/src_rb: new file.
* ext/ripper/test/validate.rb: new file.
* ext/ripper/tools/generate-eventids1.rb: new file.
* ext/ripper/tools/generate-param-macros.rb: new file.
* ext/ripper/tools/generate-ripper_rb.rb: new file.
* ext/ripper/tools/list-parse-event-ids.rb: new file.
* ext/ripper/tools/list-scan-event-ids.rb: new file.
* ext/ripper/tools/preproc.rb: new file.
* ext/ripper/tools/strip.rb: new file.
* test/ripper: ripper tests added.
* test/ripper/dummyparser.rb: new file.
* test/ripper/test_parser_events.rb: new file.
* test/ripper/test_scanner_events.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-12 17:34:30 +00:00
nagai
5bea219a9d
* ext/tcltklib/tcltklib.c: improve control of preserv/release tcltkip
...
* ext/tcltklib/tcltklib.c: store original 'exit' command
* ext/tk/tkutil.c: fix(?) SEGV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-12 16:05:59 +00:00
eban
a472f971f0
2004-09-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-12 15:26:19 +00:00
aamine
fcbdda36d9
* parse.y: fix file header.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-12 15:23:41 +00:00
aamine
b86ccb7973
* parse.y: ripper merged.
...
* lex.c: ditto.
* keywords: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-12 15:21:49 +00:00
ocean
d7da08aadd
* util.c (ruby_strdup): remove unnecessary code. (xmalloc never
...
returns NULL.)
* util.c (ruby_getcwd): fix memory leak on failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-12 14:55:22 +00:00
eban
4ad01cad01
2004-09-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-12 05:27:40 +00:00
nagai
82ba5974c4
* ext/tcltklib/tcltklib.c: add TclTkIp#allow_ruby_exit? and allow_ruby_exit=
...
* ext/tk/lib/multi-tk.rb: ditto.
* ext/tk/lib/remote-tk.rb: ditto.
* ext/tcltklib/MANUAL.euc: ditto.
* ext/tcltklib/MANUAL.eng: ditto.
* ext/tcltklib/tcltklib.c: fix some reasons of SEGV
* ext/tk/tkutil.c: ditto.
* ext/tk/lib/multi-tk.rb: ditto.
* ext/tk/lib/tk/timer.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-11 17:45:53 +00:00
eban
3e9b083f34
2004-09-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-11 07:12:51 +00:00
dave
61503bbf3b
Fix up cross-file class merging
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-11 07:11:46 +00:00
ocean
b22110e517
* ext/tcltklib/tcltklib.c (lib_merge_tklist): fix suspicious
...
pointer conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-10 11:22:31 +00:00
ocean
6302bcf022
* bcc32/Makefile.sub: bccwin32 port starts to use RTL dll.
...
(need to rebuild all) [ruby-dev:24138]
* win32/win32.{h,c}: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-10 10:24:08 +00:00
aamine
ed1a776ae0
* lib/fileutils.rb (mkdir_p): should pass mode argument to Dir.mkdir. [ruby-dev:24242]
...
* test/fileutils/test_fileutils.rb: test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-10 06:56:20 +00:00
eban
54876834a6
2004-09-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-10 02:18:26 +00:00
dave
a7a1ac81da
James Buck's patch for call-seq
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-09 17:46:05 +00:00
nagai
d782aad77d
* ext/tcltklib/tcltklib.c (ip_init): change flag value for setting 'argv' and 'argv0' variable
...
* ext/tk/lib/remote-tk.rb: follow changes of multi-tk.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-09 05:03:21 +00:00
eban
a8fc3fb8b0
2004-09-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-09 04:59:04 +00:00
dave
156ea41fa2
Allow spaces around parameter to define_method_under
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-09 02:48:32 +00:00
nobu
a838eb5c65
* ext/stringio/stringio.c (strio_write): zero fill a gap if exsts.
...
[ruby-dev:24190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-08 09:44:46 +00:00
eban
3d8690ebdb
2004-09-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-08 06:52:20 +00:00
nagai
38bbb9673f
* ext/tcltklib/tcltklib.c (ip_init): cannot create a IP at level 4
...
* ext/tk/lib/multi-tk.rb: improve 'exit' operation, security check, and error treatment
* ext/tk/lib/multi-tk.rb: allow a trusted slave IP to create slave IPs.
* ext/tk/lib/tk/listbox.rb: add TkListbox#value, value=, clear, and erase
* ext/tk/lib/tk/text.rb: add TkText#clear and erase
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-08 06:23:41 +00:00
akr
23a4871368
don't modify $/
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-07 07:11:06 +00:00
akr
1ae2ac92d2
test_ungetc_paragraph: restore $/.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-07 07:03:51 +00:00
akr
08907d87e0
add test for [ruby-dev:24060], [ruby-dev:24065], [ruby-dev:24103],
...
[ruby-dev:24190], [ruby-dev:24191], [ruby-dev:24194], [ruby-dev:24197],
[ruby-dev:24202], [ruby-dev:24213], [ruby-dev:24223] and [ruby-dev:24228].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-07 05:32:26 +00:00
usa
eb136f8643
2004-09-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-07 03:52:52 +00:00
usa
f4d60b5f63
* {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.
...
* win32/win32.[ch] (fcntl): ditto.
* win32/win32.c (rb_w32_connect): support nonblocking mode.
* ext/socket/socket.c (wait_connectable, ruby_connect): support
nonblocking connect on various platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-07 03:52:15 +00:00
ocean
70f8c054b2
* ext/tk/lib/tk/menu.rb(TkOptionMenubutton#insert): call correct method
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-06 02:03:02 +00:00
usa
7818f988b9
2004-09-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-06 00:50:19 +00:00
matz
d58885977b
* eval.c (cvar_cbase): singletons should refer outer cvar scope.
...
[ruby-dev:24223]
* eval.c (rb_load): should preserve previous ruby_wrapper value.
[ruby-dev:24226]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-06 00:48:03 +00:00
eban
6faa93ff25
2004-09-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-04 02:00:51 +00:00
matz
bf22dff8ea
* eval.c (cvar_cbase): class variables cause SEGV in
...
instance_eval() for fixnums and symbols. [ruby-dev:24213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-03 17:41:27 +00:00
matz
880d7af47a
* struct.c (make_struct): remove redefining constant when
...
conflict. [ruby-dev:24210]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-03 09:00:52 +00:00
nagai
7cf8256075
* ext/tk/lib/tk.rb: Tk.after makes TkCore::INTERP.tk_cmd_tbl grow [ruby-dev:24207]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-03 02:33:08 +00:00
nagai
0a054a5fd8
* ext/tcltklib/tcltklib.c: fix typo [ruby-talk:111266]
...
* ext/tk/lib/tk/text.rb: fix typo
* ext/tk/lib/multi-tk.rb: improve safe-level treatment on slave IPs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-02 17:17:20 +00:00
eban
abcd179a2b
2004-09-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-02 17:06:58 +00:00
nobu
a7ec244cc7
* ext/extmk.rb (extmake): extact target prefix from Makefiles.
...
* ext/extmk.rb: already built-in libraries satisfy dependencies.
[ruby-dev:24028]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-02 16:54:35 +00:00
ocean
1e1054f3d8
2004-09-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-01 12:32:44 +00:00
ocean
9e73d16db2
* ext/tk/lib/tk/spinbox.rb: fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-01 12:27:43 +00:00
nobu
c0a2f6effe
* process.c (rb_proc_exec): label cannot precede variable declarations.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-01 10:28:45 +00:00
ocean
3fb0d33b19
* ext/tk/tkutil.c (cbsubst_init): fix memory leak
...
* ext/tk/tkutil.c (cbsubst_get_all_subst_keys): fix SEGV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31 09:24:36 +00:00
nagai
24053adc1e
* ext/tcltklib/tcltklib.c (ip_delete): when a tcltkip is deleted, destroy its root widget
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31 07:09:49 +00:00
eban
b064a106d5
2004-08-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31 03:49:53 +00:00
nagai
ec76306b0a
* ext/tcltklib/tcltklib.c (del_root): fix SEGV
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31 03:32:33 +00:00
dave
f7b9018390
Add documentation for Module#included
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-30 14:23:19 +00:00