hsbt
6a08beef51
Removed math mode from irb.
...
mathn is deprecated from Ruby 2.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-20 09:11:36 +00:00
nobu
7802f01d4f
prelude.rb: Binding#irb [ci skip]
...
* prelude.rb (Binding#irb): [EXPERIMENTAL] automatically require
irb and run. [ruby-core:78960] [Bug #13099 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-06 03:11:45 +00:00
nobu
493e488974
irb.rb: Binding#irb
...
* lib/irb.rb (Binding#irb): new method like Binding#pry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 02:53:25 +00:00
nobu
5e214d40d5
irb.rb: IRB::Irb#run
...
* lib/irb.rb (IRB::Irb#run): split from IRB.start.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 02:49:49 +00:00
hsbt
966e020add
* lib/irb.rb: avoid to needless truncation when using back_trace_limit option.
...
[fix GH-1205][ruby-core:72773][Bug #11969 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-26 01:57:58 +00:00
a_matsuda
3a05da1321
[DOC] Fix typos
...
* benchmark.rb
* getoptlong.rb
* irb.rb
* net/http.rb
* net/http/header.rb
* net/imap.rb
* optparse.rb
* pstore.rb
* webrick.rb
* xmlrpc.rb
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-23 03:43:23 +00:00
naruse
3e92b635fb
Add frozen_string_literal: false for all files
...
When you change this to true, you may need to add more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
hsbt
00d8b1a85d
* lib/irb.rb: Ignored assignment of STDOUT.sync = true
...
when irb.rb loaded. It's affected to IDE such as Jetbrain.
[fix GH-864] Patch by @os97673
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-23 08:55:35 +00:00
gogotanaka
1781c4c1e1
* Fix typo. Patch by @davydovanton
...
[Fix GH-928][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-10 05:06:25 +00:00
hsbt
2afed6ecef
* lib/e2mmap.rb: remove needless instance variables.
...
* lib/irb.rb: ditto.
* lib/irb/**/*.rb: ditto.
* lib/shell.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24 07:16:25 +00:00
hsbt
f741fd2d9d
* lib/irb.rb: Prevent irb from crashing when exception with
...
nil backtrace is raised.
[fix GH-434][ruby-core:58078][Bug #9063 ]
* test/irb/test_raise_no_backtrace_exception.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-13 02:19:48 +00:00
hsbt
76515504d5
* lib/irb.rb: removed commented-out code.
...
* lib/irb/**/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 02:02:58 +00:00
zzak
22e09d1e22
* lib/irb.rb: [DOC] PROMPT_I cannot be nil, patch by @hgillane [ci skip]
...
Fixes documenting-ruby/ruby#37
https://github.com/documenting-ruby/ruby/pull/37
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-26 20:13:03 +00:00
zzak
77a8010abd
* lib/irb.rb: [DOC] Fixed syntax error in example by @jasdeepsingh.
...
Patch submitted via documenting-ruby/ruby#32 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 01:02:59 +00:00
a_matsuda
1f861a6ea8
* lib/irb.rb: [DOC] Fix typo
...
s/degits/digits/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-23 05:34:39 +00:00
zzak
c366a99cc5
* lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341]
...
Patch by Dave Worth https://github.com/ruby/ruby/pull/341
* lib/webrick.rb: ditto
* lib/scanf.rb: ditto
* lib/xmlrpc/config.rb: ditto
* lib/resolv.rb: ditto
* lib/e2mmap.rb: ditto
* lib/fileutils.rb: ditto
* lib/mkmf.rb: ditto
* lib/cgi/session.rb: ditto
* lib/yaml.rb: ditto
* lib/erb.rb: ditto
* lib/irb.rb: ditto
* lib/tracer.rb: ditto
* lib/net/http.rb: ditto
* ext/syslog/lib/syslog/logger.rb: ditto
* sample/pty/expect_sample.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-18 13:50:32 +00:00
drbrain
0fb6a44da9
* lib/irb.rb: Fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-12 20:49:44 +00:00
zzak
5b15e5a38f
* lib/irb.rb: Remove example from restrictions, it works [Github #246 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 15:57:19 +00:00
zzak
f11ff34d8f
* lib/irb.rb, lib/irb/ext/save-history.rb: Add documentation on how to
...
enabled irb history [ruby-core:51347] [Bug #7679 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-04 23:04:09 +00:00
zzak
e195e181e6
* lib/irb.rb, lib/irb/context.rb: Add documentation on how to enable
...
auto-indentation and autocompletion using irbrc and irb_context
[ruby-core:51209] [Bug #7642 ] and [ruby-core:51348] [Bug #7680 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-04 22:36:22 +00:00
zzak
790e7f797b
* lib/irb.rb, lib/prime.rb: Typos in overview
...
Patch by Ershad K [Github Fixes #234 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-13 05:07:08 +00:00
zzak
e8a7607ed0
* lib/irb/input-method.rb, lib/irb.rb: Typo in
...
InputMethod#readable_atfer_eof? to #readable_after_eof?
[ruby-core:51069] [Bug #7599 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-21 17:29:18 +00:00
zzak
7e9eb32669
* lib/irb.rb, lib/irb/*: Documentation for IRB
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-21 05:45:50 +00:00
zzak
8983315238
* lib/irb*: merge doc from doc/irb/ird.rd and improve overall
...
documentation of IRB
* doc/irb/irb.rd: remove stale documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-13 05:22:30 +00:00
nobu
d371e3583e
* lib: revert r31635-r31638 and untabify with expand(1).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-19 00:07:25 +00:00
drbrain
7bbf2f3085
* lib: Convert tabs to spaces for ruby files per
...
http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style
Patch by Steve Klabnik [Ruby 1.9 - Bug #4730 ]
Patch by Jason Dew [Ruby 1.9 - Feature #4718 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 21:19:18 +00:00
matz
7a8a264f1d
* lib/irb.rb: remove double exclamation marks. a patch from Diego
...
Viola. [ruby-core:30589]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-19 02:12:40 +00:00
keiju
6ca6efc246
* lib/irb.rb: suppoort [Feature#988], [ruby-core:21177].
...
* lib/irb/context.rb: fix Context#verbose?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 13:03:23 +00:00
keiju
5ab016489c
* lib/irb.rb: forget svn commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 17:35:24 +00:00
keiju
c7fa0c727c
* bin/irb, lib/irb.rb lib/irb/*: irb-0.9.6, extend inspect-mode
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-07 11:36:20 +00:00
nobu
287a34ae0d
* {ext,lib,test}/**/*.rb: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
matz
4faa9ea612
* lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i.
...
[ruby-core:19718]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 03:27:57 +00:00
nobu
50c241002a
* lib/irb.rb (IRB::Irb#inspect): instance_variables returns symbols
...
instead of strings now. [ruby-dev:34930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-10 00:35:14 +00:00
matz
772c19298d
* lib/irb.rb (IRB::Irb::eval_input): SyntaxError should not be
...
considered as IRB bug. [ruby-dev:33991]
* lib/irb/workspace.rb (IRB::WorkSpace::filter_backtrace): should
filter 'irb.rb' as well for context mode 2 and 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-04 12:37:05 +00:00
nobu
8bc75b5bb0
* lib/irb.rb (IRB::Irb::eval_input): rescues Interrupt and other than
...
SystemExit and SignalException. [ruby-core:15359]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-08 15:44:54 +00:00
akr
6cdef2dc7e
* $Date$ keyword removed to avoid inclusion of locale dependent
...
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-06 15:49:38 +00:00
keiju
7756f1df18
* lib/irb.rb: typo. Thanks, Giles Bowkett.
...
* lib/irb/completion.rb: support Ruby1.9 changing return value
String to Symbol for Object#methods, etc. [ruby-dev:31148].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-06 11:09:38 +00:00
matz
c6b9f16231
* string.c (scan_once): wrong condition to use mbclen2().
...
[ruby-dev:27535]
* time.c (time_sunday): added predicate methods for the days of the
week. [ruby-list:41340]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-27 08:18:38 +00:00
keiju
622b522047
* bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 15:27:09 +00:00
matz
373a59b95b
* lib/irb.rb (IRB::Irb::eval_input): warn and exit if $SAFE >=3
...
after input evaluation.
* lib/irb.rb (IRB::Irb::eval_input): untaint input string. now
irb works for levels 1 and 2.
* ext/syck/rubyext.c (syck_loader_transfer): should not use
rb_cProc directly, since type_proc may be Proc, Block, or
Method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 05:22:17 +00:00
matz
5315f0d667
* array.c (rb_ary_zip): iterates over items in the receiver.
...
zipped with nil if argument arrays are shorter. if arrays are
longer, left items are ignored. now works with blocks.
* enum.c (zip_i): changed for new behavior.
* array.c (rb_ary_transpose): added. [new]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-19 08:07:51 +00:00
nobu
29cef5f795
use Object#class instead of deprecated Object#type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-02 16:45:35 +00:00
keiju
af064b04b1
* irb 0.9
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-09 11:17:17 +00:00
keiju
3c1264113e
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-08 09:28:19 +00:00
knu
94df732f8b
Get rid of Japanese comments and fix English comments as appropriate.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-03 08:56:49 +00:00
knu
f8ab487e4d
Initial revision
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-30 17:38:21 +00:00