<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/irb/ext/save-history.rb, branch v3_2_11</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] Use class methods of `File` over `Kernel.open`</title>
<updated>2022-11-30T10:18:57+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-11-30T10:11:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d532d27507678daa400e1e0ed3da3c014cd38f27'/>
<id>d532d27507678daa400e1e0ed3da3c014cd38f27</id>
<content type='text'>
https://github.com/ruby/irb/commit/e0ec5e1bd8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/e0ec5e1bd8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Rename leftover Reidline references</title>
<updated>2022-11-15T10:08:28+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-10-05T11:38:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4f348e482c2b539aaf535ac3dabc07fed6718e59'/>
<id>4f348e482c2b539aaf535ac3dabc07fed6718e59</id>
<content type='text'>
https://github.com/ruby/irb/commit/0ed8b103ed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/0ed8b103ed
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Fix the error when LC_MESSAGES config value is nil</title>
<updated>2022-09-14T02:14:08+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-09-14T02:05:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f863bc505cf1a976aecd0ed3cb21a3a82956953e'/>
<id>f863bc505cf1a976aecd0ed3cb21a3a82956953e</id>
<content type='text'>
https://github.com/ruby/irb/commit/6bbde84369
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/6bbde84369
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Fix history file saving with concurrent irb sessions when history file doesn't exist</title>
<updated>2022-09-14T01:15:45+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-09-14T01:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9299db49f567025e28082be698e1f624b3e3f3ed'/>
<id>9299db49f567025e28082be698e1f624b3e3f3ed</id>
<content type='text'>
If history file didn't exist when irb was started, @loaded_history_mtime
would be nil.  However, if the history file didn't exist before, but it
exists when saving history, that means the history file was modified,
and we should handle it the same way as we handle the other case where
the history file was modified.

Fixes #388

https://github.com/ruby/irb/commit/8d277aafcb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If history file didn't exist when irb was started, @loaded_history_mtime
would be nil.  However, if the history file didn't exist before, but it
exists when saving history, that means the history file was modified,
and we should handle it the same way as we handle the other case where
the history file was modified.

Fixes #388

https://github.com/ruby/irb/commit/8d277aafcb
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Make save-history extension safe for concurrent use</title>
<updated>2021-03-05T15:18:32+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-03-02T20:17:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=14e1739ff3ec81c9ea87a8aba03393f0bf0433a7'/>
<id>14e1739ff3ec81c9ea87a8aba03393f0bf0433a7</id>
<content type='text'>
This makes the save-history extension check for modifications to
the history file before saving it.  If the history file was modified
after the history was loaded and before it was saved, append only
the new history lines to the history file.

This can result in more lines in the history file than SAVE_HISTORY
allows.  However, that will be fixed the next time irb is run and
the history is saved.

Fixes [Bug #13654]

https://github.com/ruby/irb/commit/041ef53845
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes the save-history extension check for modifications to
the history file before saving it.  If the history file was modified
after the history was loaded and before it was saved, append only
the new history lines to the history file.

This can result in more lines in the history file than SAVE_HISTORY
allows.  However, that will be fixed the next time irb is run and
the history is saved.

Fixes [Bug #13654]

https://github.com/ruby/irb/commit/041ef53845
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Workaround a bug of ruby-mode.el</title>
<updated>2020-08-18T05:38:01+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-08-12T04:15:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7fa86de15b2a8aa85919f4aa76e86acbb9a43564'/>
<id>7fa86de15b2a8aa85919f4aa76e86acbb9a43564</id>
<content type='text'>
https://github.com/ruby/irb/commit/6dfd59400d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/6dfd59400d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Yet another unnecessary readline</title>
<updated>2020-08-18T05:38:01+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-08-12T03:50:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=82d4da7816d114e31395441aca3c86111f1251bd'/>
<id>82d4da7816d114e31395441aca3c86111f1251bd</id>
<content type='text'>
https://github.com/ruby/irb/commit/933841af11
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/933841af11
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Make history infinite if set SAVE_HISTORY to negative</title>
<updated>2020-08-18T05:38:01+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-08-08T11:48:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=126e1fc2961150a7026b9911a1ed82dbf9557af7'/>
<id>126e1fc2961150a7026b9911a1ed82dbf9557af7</id>
<content type='text'>
https://github.com/ruby/irb/commit/824473e880
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/824473e880
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Suppress crash when bignum is set to SAVE_HISTORY</title>
<updated>2020-08-18T05:38:01+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-08-07T14:42:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ef498a016b496c20e45dfeaa3064f8033f420336'/>
<id>ef498a016b496c20e45dfeaa3064f8033f420336</id>
<content type='text'>
https://github.com/ruby/irb/commit/5044eb2730
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/5044eb2730
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Reline.encoding_system_needs if exists</title>
<updated>2020-01-14T06:40:38+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-01-14T06:40:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8c3efa494091e6e0001f4a708fb7568c242387b9'/>
<id>8c3efa494091e6e0001f4a708fb7568c242387b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
