<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/irb/context.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/irb] Store method objects in constants</title>
<updated>2024-11-20T18:59:26+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-11-20T18:59:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=51bf0d4d68fb6cc2b073ab45ce882ab5bbece629'/>
<id>51bf0d4d68fb6cc2b073ab45ce882ab5bbece629</id>
<content type='text'>
(https://github.com/ruby/irb/pull/1033)

It probably won't speed up things significantly, but these are hot paths
and we can save a few method calls per completion/input call.

https://github.com/ruby/irb/commit/f1e25ec7ae
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/1033)

It probably won't speed up things significantly, but these are hot paths
and we can save a few method calls per completion/input call.

https://github.com/ruby/irb/commit/f1e25ec7ae
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Move main object's safe call logic to Context</title>
<updated>2024-11-20T15:02:17+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-11-20T15:02:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2df2e868bc21e39ac493cebac1c981f1ed279010'/>
<id>2df2e868bc21e39ac493cebac1c981f1ed279010</id>
<content type='text'>
(https://github.com/ruby/irb/pull/1034)

https://github.com/ruby/irb/commit/9750fa23cc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/1034)

https://github.com/ruby/irb/commit/9750fa23cc
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Change default completor from regexp to auto, try</title>
<updated>2024-10-06T11:10:12+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-10-06T11:10:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=98620f6c5246d27fed440b8d61cdb31cd915eafa'/>
<id>98620f6c5246d27fed440b8d61cdb31cd915eafa</id>
<content type='text'>
TypeCompletor and fallback to RegexpCompletor.
(https://github.com/ruby/irb/pull/1010)

https://github.com/ruby/irb/commit/bb6a99d815
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TypeCompletor and fallback to RegexpCompletor.
(https://github.com/ruby/irb/pull/1010)

https://github.com/ruby/irb/commit/bb6a99d815
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Fix debug command in nomultiline mode</title>
<updated>2024-09-20T10:13:39+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-09-20T10:13:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=34e008d0756a355e0658f9b52f7d66b4b8eee388'/>
<id>34e008d0756a355e0658f9b52f7d66b4b8eee388</id>
<content type='text'>
(https://github.com/ruby/irb/pull/1006)

* Fix debug command in nomultiline mode

* context.colorize_code -&gt; context.colorize_input

https://github.com/ruby/irb/commit/71f4d6bfb5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/1006)

* Fix debug command in nomultiline mode

* context.colorize_code -&gt; context.colorize_input

https://github.com/ruby/irb/commit/71f4d6bfb5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Remove KEYWORD_ALIASES which handled special alias name</title>
<updated>2024-09-12T15:04:37+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-09-12T15:04:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a542479a750ff65c036df913a4b8d9dd350c4522'/>
<id>a542479a750ff65c036df913a4b8d9dd350c4522</id>
<content type='text'>
of irb_break irb_catch and irb_next command
(https://github.com/ruby/irb/pull/1004)

* Remove KEYWORD_ALIASES which handled special alias name of irb_break irb_catch and irb_next command

* Remove unused instance variable user_aliases

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

---------

https://github.com/ruby/irb/commit/f256d7899f

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
of irb_break irb_catch and irb_next command
(https://github.com/ruby/irb/pull/1004)

* Remove KEYWORD_ALIASES which handled special alias name of irb_break irb_catch and irb_next command

* Remove unused instance variable user_aliases

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

---------

https://github.com/ruby/irb/commit/f256d7899f

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Move parse_command method to Context</title>
<updated>2024-08-27T12:49:23+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-08-27T12:49:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=87fa75c5db2e6f89a892c0ed75f1701398ce5f19'/>
<id>87fa75c5db2e6f89a892c0ed75f1701398ce5f19</id>
<content type='text'>
(https://github.com/ruby/irb/pull/993)

Since Context dictates whether a line is a command or an expression,
moving the parse_command method to Context makes the relationship
more explicit.

https://github.com/ruby/irb/commit/9a4487af61
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/993)

Since Context dictates whether a line is a command or an expression,
moving the parse_command method to Context makes the relationship
more explicit.

https://github.com/ruby/irb/commit/9a4487af61
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Improve how command calls' return value is handled</title>
<updated>2024-06-18T15:15:23+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-06-18T15:15:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=921f22e563d6372d9f853f87d48b11c479126da9'/>
<id>921f22e563d6372d9f853f87d48b11c479126da9</id>
<content type='text'>
(https://github.com/ruby/irb/pull/972)

In #934, we changed command calls to return nil only. This PR improves
the behaviour even further by:

- Not echoing the `nil` returned by command calls
- Not overriding previous return value stored in `_` with the
  `nil` from commands

https://github.com/ruby/irb/commit/c844176842
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/972)

In #934, we changed command calls to return nil only. This PR improves
the behaviour even further by:

- Not echoing the `nil` returned by command calls
- Not overriding previous return value stored in `_` with the
  `nil` from commands

https://github.com/ruby/irb/commit/c844176842
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Add a new initialization step to validate IRB.conf's</title>
<updated>2024-05-10T11:40:58+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-05-10T11:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c68bb2408829ffdac2465f38a1d040b7f1e1c6aa'/>
<id>c68bb2408829ffdac2465f38a1d040b7f1e1c6aa</id>
<content type='text'>
values
(https://github.com/ruby/irb/pull/953)

Currently, users can only find out that they have set a wrong value
for IRB configs when the value is used, with opaque error messages like
"comparison of Integer with true failed (TypeError)".

This commit adds a new initialization step to validate the values of
some IRB configs, so that users can find out about the wrong values
during the initialization of IRB.

https://github.com/ruby/irb/commit/af8ef2948b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
values
(https://github.com/ruby/irb/pull/953)

Currently, users can only find out that they have set a wrong value
for IRB configs when the value is used, with opaque error messages like
"comparison of Integer with true failed (TypeError)".

This commit adds a new initialization step to validate the values of
some IRB configs, so that users can find out about the wrong values
during the initialization of IRB.

https://github.com/ruby/irb/commit/af8ef2948b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Use flag instead of caller for `debug`'s binding.irb</title>
<updated>2024-05-04T03:22:17+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-05-04T03:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fb2ea7084f5755e92ff724165547d6dca77a5ed9'/>
<id>fb2ea7084f5755e92ff724165547d6dca77a5ed9</id>
<content type='text'>
check
(https://github.com/ruby/irb/pull/947)

https://github.com/ruby/irb/commit/4a4d7a4279
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
check
(https://github.com/ruby/irb/pull/947)

https://github.com/ruby/irb/commit/4a4d7a4279
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync IRB 241e061</title>
<updated>2024-05-02T18:33:30+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2024-05-02T17:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=945a99e81a2b4910a106e932c620abac75717cb1'/>
<id>945a99e81a2b4910a106e932c620abac75717cb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
