Skip to content
Permalink
Browse files

nano: update to 4.4 (closes #323)

  • Loading branch information...
RMerl committed Sep 25, 2019
1 parent 68df0da commit 3c322f8e0919f2763e829e774871829e2a5d9589
Showing with 26,780 additions and 26,594 deletions.
  1. +6 −1 release/src/router/nano/AUTHORS
  2. +313 −0 release/src/router/nano/ChangeLog
  3. +3 −0 release/src/router/nano/IMPROVEMENTS
  4. +2 −3 release/src/router/nano/Makefile.in
  5. +53 −42 release/src/router/nano/NEWS
  6. +3 −3 release/src/router/nano/README
  7. +5 −4 release/src/router/nano/THANKS
  8. +6 −19 release/src/router/nano/config.h.in
  9. +896 −1,408 release/src/router/nano/configure
  10. +1 −1 release/src/router/nano/configure.ac
  11. +2 −3 release/src/router/nano/doc/Makefile.in
  12. +1 −1 release/src/router/nano/doc/faq.html
  13. +25 −10 release/src/router/nano/doc/nano.1
  14. +40 −17 release/src/router/nano/doc/nano.1.html
  15. +85 −61 release/src/router/nano/doc/nano.html
  16. +125 −109 release/src/router/nano/doc/nano.info
  17. +88 −64 release/src/router/nano/doc/nano.texi
  18. +42 −30 release/src/router/nano/doc/nanorc.5
  19. +65 −53 release/src/router/nano/doc/nanorc.5.html
  20. +1 −1 release/src/router/nano/doc/rnano.1
  21. +2 −2 release/src/router/nano/doc/rnano.1.html
  22. +7 −8 release/src/router/nano/doc/sample.nanorc.in
  23. +38 −0 release/src/router/nano/lib/Makefile.am
  24. +24 −5 release/src/router/nano/lib/Makefile.in
  25. +20 −5 release/src/router/nano/lib/flexmember.h
  26. +2 −2 release/src/router/nano/lib/fpucw.h
  27. +1 −716 release/src/router/nano/lib/glthread/lock.c
  28. +41 −363 release/src/router/nano/lib/glthread/lock.h
  29. +139 −28 release/src/router/nano/lib/intprops.h
  30. +166 −22 release/src/router/nano/lib/localcharset.c
  31. +2 −1 release/src/router/nano/lib/math.in.h
  32. +259 −183 release/src/router/nano/lib/mbrtowc.c
  33. +8 −2 release/src/router/nano/lib/nl_langinfo.c
  34. +1 −1 release/src/router/nano/lib/str-two-way.h
  35. +25 −10 release/src/router/nano/lib/unistd.in.h
  36. +53 −44 release/src/router/nano/lib/verify.h
  37. +2 −3 release/src/router/nano/m4/Makefile.in
  38. +3 −5 release/src/router/nano/m4/flexmember.m4
  39. +38 −1 release/src/router/nano/m4/gnulib-comp.m4
  40. +11 −0 release/src/router/nano/m4/regex.m4
  41. +20 −8 release/src/router/nano/m4/sys_socket_h.m4
  42. +35 −69 release/src/router/nano/m4/threadlib.m4
  43. +3 −1 release/src/router/nano/m4/unistd_h.m4
  44. +6 −2 release/src/router/nano/m4/wcwidth.m4
  45. +1 −1 release/src/router/nano/nano.spec
  46. BIN release/src/router/nano/po/bg.gmo
  47. +603 −575 release/src/router/nano/po/bg.po
  48. BIN release/src/router/nano/po/ca.gmo
  49. +609 −585 release/src/router/nano/po/ca.po
  50. BIN release/src/router/nano/po/cs.gmo
  51. +607 −580 release/src/router/nano/po/cs.po
  52. BIN release/src/router/nano/po/da.gmo
  53. +718 −678 release/src/router/nano/po/da.po
  54. BIN release/src/router/nano/po/de.gmo
  55. +648 −625 release/src/router/nano/po/de.po
  56. BIN release/src/router/nano/po/eo.gmo
  57. +610 −583 release/src/router/nano/po/eo.po
  58. BIN release/src/router/nano/po/es.gmo
  59. +652 −630 release/src/router/nano/po/es.po
  60. BIN release/src/router/nano/po/eu.gmo
  61. +603 −575 release/src/router/nano/po/eu.po
  62. BIN release/src/router/nano/po/fi.gmo
  63. +605 −580 release/src/router/nano/po/fi.po
  64. BIN release/src/router/nano/po/fr.gmo
  65. +609 −581 release/src/router/nano/po/fr.po
  66. BIN release/src/router/nano/po/ga.gmo
  67. +605 −578 release/src/router/nano/po/ga.po
  68. BIN release/src/router/nano/po/gl.gmo
  69. +605 −579 release/src/router/nano/po/gl.po
  70. BIN release/src/router/nano/po/hr.gmo
  71. +613 −584 release/src/router/nano/po/hr.po
  72. BIN release/src/router/nano/po/hu.gmo
  73. +605 −579 release/src/router/nano/po/hu.po
  74. BIN release/src/router/nano/po/id.gmo
  75. +600 −572 release/src/router/nano/po/id.po
  76. BIN release/src/router/nano/po/it.gmo
  77. +607 −581 release/src/router/nano/po/it.po
  78. BIN release/src/router/nano/po/ja.gmo
  79. +613 −585 release/src/router/nano/po/ja.po
  80. BIN release/src/router/nano/po/ko.gmo
  81. +607 −579 release/src/router/nano/po/ko.po
  82. BIN release/src/router/nano/po/ms.gmo
  83. +613 −586 release/src/router/nano/po/ms.po
  84. +598 −570 release/src/router/nano/po/nano.pot
  85. BIN release/src/router/nano/po/nb.gmo
  86. +695 −660 release/src/router/nano/po/nb.po
  87. BIN release/src/router/nano/po/nl.gmo
  88. +611 −584 release/src/router/nano/po/nl.po
  89. BIN release/src/router/nano/po/nn.gmo
  90. +598 −570 release/src/router/nano/po/nn.po
  91. BIN release/src/router/nano/po/pl.gmo
  92. +607 −581 release/src/router/nano/po/pl.po
  93. BIN release/src/router/nano/po/pt.gmo
  94. +614 −587 release/src/router/nano/po/pt.po
  95. BIN release/src/router/nano/po/pt_BR.gmo
  96. +609 −581 release/src/router/nano/po/pt_BR.po
  97. BIN release/src/router/nano/po/ro.gmo
  98. +609 −584 release/src/router/nano/po/ro.po
  99. BIN release/src/router/nano/po/ru.gmo
  100. +604 −578 release/src/router/nano/po/ru.po
  101. BIN release/src/router/nano/po/sl.gmo
  102. +603 −577 release/src/router/nano/po/sl.po
  103. BIN release/src/router/nano/po/sr.gmo
  104. +605 −579 release/src/router/nano/po/sr.po
  105. BIN release/src/router/nano/po/sv.gmo
  106. +762 −714 release/src/router/nano/po/sv.po
  107. BIN release/src/router/nano/po/tr.gmo
  108. +609 −581 release/src/router/nano/po/tr.po
  109. BIN release/src/router/nano/po/uk.gmo
  110. +611 −584 release/src/router/nano/po/uk.po
  111. BIN release/src/router/nano/po/vi.gmo
  112. +606 −580 release/src/router/nano/po/vi.po
  113. BIN release/src/router/nano/po/zh_CN.gmo
  114. +610 −582 release/src/router/nano/po/zh_CN.po
  115. BIN release/src/router/nano/po/zh_TW.gmo
  116. +610 −582 release/src/router/nano/po/zh_TW.po
  117. +2 −3 release/src/router/nano/src/Makefile.in
  118. +8 −18 release/src/router/nano/src/browser.c
  119. +70 −86 release/src/router/nano/src/chars.c
  120. +52 −62 release/src/router/nano/src/color.c
  121. +88 −91 release/src/router/nano/src/cut.c
  122. +181 −239 release/src/router/nano/src/files.c
  123. +49 −76 release/src/router/nano/src/global.c
  124. +63 −80 release/src/router/nano/src/help.c
  125. +3 −3 release/src/router/nano/src/history.c
  126. +7 −7 release/src/router/nano/src/move.c
  127. +368 −388 release/src/router/nano/src/nano.c
  128. +25 −38 release/src/router/nano/src/nano.h
  129. +30 −24 release/src/router/nano/src/prompt.c
  130. +38 −40 release/src/router/nano/src/proto.h
  131. +293 −229 release/src/router/nano/src/rcfile.c
  132. +95 −105 release/src/router/nano/src/search.c
  133. +221 −262 release/src/router/nano/src/text.c
  134. +21 −35 release/src/router/nano/src/utils.c
  135. +167 −182 release/src/router/nano/src/winio.c
  136. +2 −3 release/src/router/nano/syntax/Makefile.in
  137. +1 −1 release/src/router/nano/syntax/asm.nanorc
  138. +1 −1 release/src/router/nano/syntax/awk.nanorc
  139. +2 −2 release/src/router/nano/syntax/c.nanorc
  140. +2 −2 release/src/router/nano/syntax/cmake.nanorc
  141. +3 −0 release/src/router/nano/syntax/default.nanorc
  142. +2 −2 release/src/router/nano/syntax/fortran.nanorc
  143. +1 −1 release/src/router/nano/syntax/lua.nanorc
  144. +1 −1 release/src/router/nano/syntax/mgp.nanorc
  145. +11 −2 release/src/router/nano/syntax/perl.nanorc
  146. +1 −1 release/src/router/nano/syntax/php.nanorc
  147. +2 −2 release/src/router/nano/syntax/po.nanorc
  148. +6 −5 release/src/router/nano/syntax/python.nanorc
  149. +1 −1 release/src/router/nano/syntax/ruby.nanorc
  150. +1 −1 release/src/router/nano/syntax/tex.nanorc
@@ -14,7 +14,9 @@ David Lawrence Ramsey <pooka109@gmail.com>
* Former stable series maintainer. Multiple buffer support,
operating dir (-o) option, bug fixes for display routines,
wrapping code, spelling fixes, constantshow mode, parts of
UTF-8 support, softwrap overhaul, and various other fixes.
UTF-8 support, softwrap overhaul, undoable (un)indentations,
undoable justifications, justifiable regions, and numerous
other fixes.

Jordi Mallach <jordi@gnu.org>
* Debian package maintainer, fellow bug squasher.
@@ -67,3 +69,6 @@ Rishabh Dave <rishabhddave@gmail.com>

Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>
* Filtering text through an external command.

Brand Huntsman <alpha@qzx.com>
* The delayed parsing of syntax files.

Large diffs are not rendered by default.

@@ -2,6 +2,9 @@ Improvements in GNU nano
========================

Since 4.0:
- The ability to perform a search at startup with +/string or +?string.
- Comment characters are copied when automatic hard-wrapping occurs.
- The ability to both read from and write to a FIFO.
- Automatic hard-wrapping is no longer the default.
- Addition of --guidestripe to draw a helpful vertical bar.
- Meta-Up and Meta-Down scroll the screen linewise.
@@ -361,6 +361,7 @@ GNULIB_CLOSEDIR = @GNULIB_CLOSEDIR@
GNULIB_COPYSIGN = @GNULIB_COPYSIGN@
GNULIB_COPYSIGNF = @GNULIB_COPYSIGNF@
GNULIB_COPYSIGNL = @GNULIB_COPYSIGNL@
GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@
GNULIB_COSF = @GNULIB_COSF@
GNULIB_COSHF = @GNULIB_COSHF@
GNULIB_COSL = @GNULIB_COSL@
@@ -728,6 +729,7 @@ HAVE_CHOWN = @HAVE_CHOWN@
HAVE_CLOSEDIR = @HAVE_CLOSEDIR@
HAVE_COPYSIGN = @HAVE_COPYSIGN@
HAVE_COPYSIGNL = @HAVE_COPYSIGNL@
HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@
HAVE_COSF = @HAVE_COSF@
HAVE_COSHF = @HAVE_COSHF@
HAVE_COSL = @HAVE_COSL@
@@ -1074,8 +1076,6 @@ LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMULTITHREAD = @LIBMULTITHREAD@
LIBOBJS = @LIBOBJS@
LIBPTH = @LIBPTH@
LIBPTH_PREFIX = @LIBPTH_PREFIX@
LIBS = @LIBS@
LIBTHREAD = @LIBTHREAD@
LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@
@@ -1093,7 +1093,6 @@ LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
LTLIBOBJS = @LTLIBOBJS@
LTLIBPTH = @LTLIBPTH@
LTLIBTHREAD = @LTLIBTHREAD@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
@@ -1,3 +1,18 @@
2019.08.25 - GNU nano 4.4 "Hagelslag"
• At startup, the cursor can be put on the first or last occurrence
of a string by preceding the filename with +/string or +?string.
• When automatic hard-wrapping occurs (--breaklonglines), any leading
quoting characters will be automatically copied to the new line.
• M-6 works again also when the cursor is at end of buffer.

2019.06.18 - GNU nano 4.3 "Musa Kart"
• The ability to read from and write to a FIFO has been regained.
• Startup time is reduced by fully parsing a syntax only when needed.
• Asking for help (^G) when using --operatingdir does not crash.
• The reading of a huge or slow file can be stopped with ^C.
• Cut, zap, and copy operations are undone separately when intermixed.
• M-D reports the correct number of lines (zero for an empty buffer).

2019.04.24 - GNU nano 4.2 "Tax the rich, pay the teachers"
• The integrated spell checker does not crash when 'spell' is missing.
• Option --breaklonglines works also when --ignorercfiles is used.
@@ -607,7 +622,7 @@
like this what could POSSIBLY go WRONG? Hahaha.
Enjoy and if you find new bugs, as always please
use Savannah's bug tracker.
http://savannah.gnu.org/bugs/?func=additem&group=nano
https://savannah.gnu.org/bugs/?func=additem&group=nano

2010.01.17 - GNU nano 2.2.2 is released for you, you, you. This
release includes fixes for: crashes when writing
@@ -692,7 +707,7 @@
editor, via the -$ or --softwrap command-line flags,
or via "set softwrap" in your .nanorc. As always,
please report any bugs to the nano Savannah project page
(http://savannah.gnu.org/bugs/?func=additem&group=nano)
(https://savannah.gnu.org/bugs/?func=additem&group=nano)
Remember: data loss happens, back up your files.

2009.07.28 - GNU nano 2.1.10 "Ellie" is released. This version includes
@@ -720,45 +735,41 @@
birthday lenny!

2009.02.07 - GNU nano 2.1.8 "unsafe at any speed" is released. This
release include some long overdue performance
improvements in syntax color highlighting, the ability
to abort running searches (useful mainly when
editing very large files) and the ability to use nano
like a pager for viewing standard input (i.e. "nano -").
Additionally, there are gentoo syntax highlighting
updates and fixes for issues with reading files
in a directory with strange parent directory permissions.
The key bindings code was also substantially changed
in order to be more ISO-C compatible. Be sure to use
the Savannah page not only for bug reports but for any
release includes some long overdue performance improvements
in syntax color highlighting, the ability to abort running
searches (useful mainly when editing very large files) and
the ability to use nano like a pager for viewing standard
input (i.e. "nano -"). Additionally, there are gentoo
syntax highlighting updates and fixes for issues with
reading files in a directory with strange parent directory
permissions. The key-bindings code was also substantially
changed in order to be more ISO-C compatible. Be sure to
use the Savannah page not only for bug reports but for any
features you would like to see before the next stable
series is released. Have fun with it!

2008.11.10 - GNU nano 2.1.7 "Effingham" is ready to make good on those
campaign promises of lower bug rates and 50% more pie.
This release includes a new check for external
modifications when saving a file, some code and
documentation cleanups, and more bug fixes for
the new undo code (but we continue to welcome
your bug reports via the Savannah bug page at
http://savannah.gnu.org/bugs/?func=additem&group=nano).
This release includes a new check for external modifications
when saving a file, some code and documentation cleanups,
and more bug fixes for the new undo code (but we continue
to welcome your bug reports via the Savannah bug page at
https://savannah.gnu.org/bugs/?func=additem&group=nano).
Come get some.

2008.10.03 - GNU nano 2.1.6 was for new features before it was against
them. This release includes more undo capability,
several new syntax highlighting configurations including
Objective C, OCaml, and Fortran, and a new capability
to activate highlighting based on the 1st line of the
file being edited. Also, the new default configure
options now include color syntax highlighting, .nanorc
support, multibuffer and extras. These items can still
be disabled and are not enabled with --enable-tiny. Bug
fixes include better signal handling under Cygwin, and
that's about it. Again please remember to
submit bug reports via Savannah at
http://savannah.gnu.org/bugs/?func=additem&group=nano
as undo functions certainly need more testing.
Bon appetit.
them. This release includes more undo capability, several
new syntax highlighting configurations including Objective
C, OCaml, and Fortran, and a new capability to activate
highlighting based on the 1st line of the file being
edited. Also, the new default configure options now
include color syntax highlighting, .nanorc support,
multibuffer and extras. These items can still be disabled
and are not enabled with --enable-tiny. Bug fixes include
better signal handling under Cygwin, and that's about it.
Again please remember to submit bug reports via Savannah at
https://savannah.gnu.org/bugs/?func=additem&group=nano as
undo functions certainly need more testing. Bon appetit.

2008.08.30 - GNU nano 2.1.5 is ready to lead on day one. This release
contains a better fix for incorrectly reported successful
@@ -781,15 +792,15 @@
are likely to run out of space; see Savannah bug #24000.
Have fun with it!

2008.08.04 - GNU nano 2.1.3 "least stable version ever" is released. This
release includes new (and experimental) undo and redo
functionality for most text operations. The default
key bindings are Meta-U for undo and Meta-E for redo, but
these can be remapped using the new 2.1 keybinding code.
Also included are some fixes for configuring using wide
curses, crashing when invoking the help menu with
certain locales, and not saving the search history when
compiled with configure options.
2008.08.04 - GNU nano 2.1.3 "least stable version ever" is released.
This release includes new (and experimental) undo and redo
functionality for most text operations. The default key
bindings are Meta-U for undo and Meta-E for redo, but these
can be remapped using the new 2.1 keybinding code. Also
included are some fixes for configuring using wide curses,
crashing when invoking the help menu with certain locales,
and not saving the search history when compiled with
configure options.

2008.04.24 - GNU nano 2.1.2 "New York City" is released. This release
contains fixes for binding bad keys, some
@@ -15,10 +15,10 @@ Overview

Nano aimed to solve these problems by: 1) being truly free software
by using the GPL, 2) emulating the functionality of Pico as closely
as is reasonable, and 3) include extra functionality by default.
as is reasonable, and 3) including extra functionality by default.

Nowadays, nano wants to be a generally useful editor, with default
settings that do not change the file contents automatically.
Nowadays, nano wants to be a generally useful editor with sensible
defaults (linewise scrolling, no automatic line breaking).

The nano editor is an official GNU package. For more information on
GNU and the Free Software Foundation, please see https://www.gnu.org/.
@@ -11,6 +11,7 @@ Mario Blättermann <mario.blaettermann@gmail.com> German
Ricardo Cárdenes Medina <ricardo@conisys.com> Spanish
Antonio Ceballos <aceballos@gmail.com> Spanish
Wei-Lun CHAO <chaoweilun@pcmail.com.tw> Chinese (traditional)
Seong-ho Cho <darkcircle.0426@gmail.com> Korean
Yuri Chornoivan <yurchor@ukr.net> Ukrainian
Marco Colombo <magicdice@inwind.it> Italian
Mihai Cristescu <mihai.cristescu@archlinux.info> Romanian
@@ -22,22 +23,22 @@ Rafael Fontenelle <rffontenelle@gmail.com> Brazilian Portuguese
Pavel Fric <pavelfric@seznam.cz> Czech
Jorge González <aloriel@gmail.com> Spanish
Jean-Philippe Guérard <jean-philippe.guerard@laposte.net> French
Geir Helland <pjallabais@users.sourceforge.net> Norwegian Bokmål
Tedi Heriyanto <tedi_h@gmx.net> Indonesian
Václav Haisman <V.Haisman@sh.cvut.cz> Czech
Takeshi Hamasaki <hmatrjp@users.sourceforge.jp> Japanese
Geir Helland <pjallabais@users.sourceforge.net> Norwegian Bokmål
Tedi Heriyanto <tedi_h@gmx.net> Indonesian
Kjetil Torgrim Homme <kjetilho@linpro.no> Norwegian Nynorsk
Szabolcs Horvath <horvaths@janus.gimsz.sulinet.hu> Hungarian
Jorma Karvonen <karvonen.jorma@gmail.com> Finnish
Mehmet Kececi <mkececi@mehmetkececi.com> Turkish
Mehmet Kececi <mkececi@mehmetkececi.com> Turkish
Gabor Kelemen <kelemeng@gnome.hu> Hungarian
Kalle Kivimaa <kalle.kivimaa@iki.fi> Finnish
Eivind Kjørstad <ekj@vestdata.no> Norwegian Nynorsk
Florian König <floki@bigfoot.com> German
Klemen Košir <klemen913@gmail.com> Slovenian
Wojciech Kotwica <wkotwica@post.pl> Polish
Ask Hjorth Larsen <asklarsen@gmail.com> Danish
Clement Laforet <clem_laf@wanadoo.fr> French
Ask Hjorth Larsen <asklarsen@gmail.com> Danish
LI Daobing <lidaobing@gmail.com> Chinese (simplified)
Jordi Mallach <jordi@gnu.org> Catalan
João Victor Duarte Martins <jvdm@sdf.lonestar.org> Brazilian Portuguese
@@ -115,12 +115,10 @@
#undef ENABLE_WRAPPING

/* Define to nothing if C supports flexible array members, and to 1 if it does
not. That way, with a declaration like 'struct s { int n; double
not. That way, with a declaration like 'struct s { int n; short
d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
compilers. When computing the size of such an object, don't use 'sizeof
(struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
MSVC and with C++ compilers. */
compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate
the size in bytes of such a struct containing an N-element array. */
#undef FLEXIBLE_ARRAY_MEMBER

/* Define as the bit index in the word where to find bit 0 of the exponent of
@@ -785,6 +783,9 @@
/* Define to 1 if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H

/* Define to 1 if you have the <threads.h> header file. */
#undef HAVE_THREADS_H

/* Define to 1 if you have the `towlower' function. */
#undef HAVE_TOWLOWER

@@ -1086,24 +1087,10 @@
weak. */
#undef USE_POSIX_THREADS_WEAK

/* Define if the GNU Pth multithreading library can be used. */
#undef USE_PTH_THREADS

/* Define if references to the GNU Pth multithreading library should be made
weak. */
#undef USE_PTH_THREADS_WEAK

/* Define this to use the slang wrappers for curses instead of native curses.
*/
#undef USE_SLANG

/* Define if the old Solaris multithreading library can be used. */
#undef USE_SOLARIS_THREADS

/* Define if references to the old Solaris multithreading library should be
made weak. */
#undef USE_SOLARIS_THREADS_WEAK

/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE

0 comments on commit 3c322f8

Please sign in to comment.
You can’t perform that action at this time.