diff options
| author | Kenichi Handa | 2013-03-16 01:03:54 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2013-03-16 01:03:54 +0900 |
| commit | 8a44e6d176989d8eef140314098c76a70248ba61 (patch) | |
| tree | 096ee4a0f9a15f2f300ba68d2dd1dd28b88e18a0 /src/ChangeLog | |
| parent | 9b5939800615a4e08ac389813a70faf4b9e57bba (diff) | |
| download | emacs-8a44e6d176989d8eef140314098c76a70248ba61.tar.gz emacs-8a44e6d176989d8eef140314098c76a70248ba61.zip | |
Optimize ASCII file reading with EOL format detection and decoding.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8ae25e6e612..44e2ff1a1f1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,31 @@ | |||
| 1 | 2013-03-15 handa <handa@gnu.org> | ||
| 2 | |||
| 3 | * insdel.c (insert_from_gap): New arg text_at_gap_tail. | ||
| 4 | (adjust_after_replace): Make it back to static. Delete the third | ||
| 5 | arg text_at_gap_tail. Cancel the code for handling it. | ||
| 6 | |||
| 7 | * coding.h (struct coding_system): New member eol_seen. | ||
| 8 | |||
| 9 | * coding.c (detect_ascii): New function. | ||
| 10 | (detect_coding): Set coding->head_ascii and coding->eol_seen only | ||
| 11 | when the source bytes are actually scanned. On detecting for | ||
| 12 | coding_category_utf_8_auto, call detect_ascii instead of scanning | ||
| 13 | source bytes directly. | ||
| 14 | (produce_chars): Call insert_from_gap with the new arg 0. | ||
| 15 | (encode_coding): Likewise. | ||
| 16 | (decode_coding_gap): Control ASCII optimization by the variable | ||
| 17 | disable_ascii_optimization instead of #ifndef .. #endif. | ||
| 18 | Deccode EOL format according to coding->eol_seen. | ||
| 19 | (syms_of_coding): Declare disable-ascii-optimization as a Lisp | ||
| 20 | variable. | ||
| 21 | |||
| 22 | * global.h (struct emacs_globals): New member | ||
| 23 | f_disable_ascii_optimization. | ||
| 24 | (disable_ascii_optimization): New macro. | ||
| 25 | |||
| 26 | * lisp.h (adjust_after_replace): Cancel externing it. | ||
| 27 | (insert_from_gap): Adjust prototype. | ||
| 28 | |||
| 1 | 2013-03-11 Paul Eggert <eggert@cs.ucla.edu> | 29 | 2013-03-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 30 | ||
| 3 | * insdel.c (adjust_after_replace): Use bool for boolean. | 31 | * insdel.c (adjust_after_replace): Use bool for boolean. |