51 Commits

Author SHA1 Message Date
Wang Mingyu
7a2ecc36be
nano: upgrade 8.7 -> 8.7.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-02 19:25:47 -08:00
Randy MacLeod
aa635dc5dd
nano: upgrade 8.6 -> 8.7
ChangeLog:
==========
      build: avoid a warning when configured with --disable-multibuffer
      bump version numbers and add a news item for the 8.7 release
      display: regenerate the screen after a resize during a spell check
      display: regenerate the screen only before and after waiting for input
      display: upon resize, redraw the subwindows only when fully initialized
      docs: add example of copy-to-clipboard-with-OSC52 to the sample nanorc
      docs: mention that `execute` can pipe buffer or region to the command
      gnulib: update to its current upstream state
      moving: prevent a negative relative jump from going beyond top of buffer
      new feature: execute a command without capturing the output
      startup: register the handler for SIGWINCH much earlier
      text: when blanking a line due to --autoindent, keep the mark in sync
      tweaks: improve a few comments, drop one, and unwrap some lines
      tweaks: improve the punctuation of one item in the sample nanorc
      tweaks: replace a remaining double dash with a true emdash
      tweaks: reshuffle some #ifdefs, and rename a function
      tweaks: unwrap three lines, for esthetics

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-18 08:17:54 -08:00
Yi Zhao
a582f6250f
nano: update UPSTREAM_CHECK_URI
Update UPSTREAM_CHECK_URI to check the correct latest stable verison.

Before the patch:
$ devtool latest-version nano
INFO: Current version: 8.6
INFO: Latest version:

After the patch:
$ devtool latest-version nano
INFO: Current version: 8.6
INFO: Latest version: 8.6

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-12 09:39:00 -08:00
Wang Mingyu
fed0c272a2
nano: upgrade 8.5 -> 8.6
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-04 10:28:24 -07:00
Wang Mingyu
e9efacfc5c
nano: upgrade 8.3 -> 8.5
Changelog:
============
- Anchors are now saved when a file is closed, and restored when
  the file is reopened -- if and when --positionlog is active.
- Nano exits with an error status upon keystrokes ^O^Q and ^X^Q.
- Keystroke ^L just centers the cursor, while M-% cycles it.
- Option --whitespace is accepted, but left undocumented.
- Syntax coloring now works correctly in more locales.
- Bracketed pastes over a slow connection are more reliable.
- Tabs in an external paste at a prompt are not dropped.
- Feedback occurs when the cursor sits on a Byte Order Mark.
- The Execute prompt is more forgiving of a typo.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-30 08:03:07 -07:00
Alexis Cellier
d4d4e98856
nano: Remove dependency on file
Dependency on file was added on version 2.7.4, but even then, there was
no reference to this dependency in nano documentation.
Today, still no reference to file as a dependency.

Cc: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexis Cellier <alexis.cellier@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-25 04:50:39 -08:00
Wang Mingyu
d61b4aa452 nano: upgrade 8.2 -> 8.3
Changelog:
============
- A build failure with gcc-15 is fixed.
- Several translations were updated.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-24 08:23:08 -08:00
Wang Mingyu
11b8047012
nano: upgrade 8.1 -> 8.2
Changelog:
==========
- At a Yes-No prompt, beside Y and the localized initial for "Yes",
  also ^Y is accepted.  Similarly, ^N for "No", and ^A for "All".
- A text-highlighting bug with Alt+Home/Alt+End is fixed.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:38 -07:00
Wang Mingyu
647874f20f
nano: upgrade 8.0 -> 8.1
Changelog:
===========
• The idiom 'nano filename:linenumber' is understood only when the
  option --colonparsing (or 'set colonparsing') is used.
• Modern bindings are *not* activated when nano's invocation name
  starts with "e", as it jars with Debian's alternatives system.
• New bindable function 'cycle' first centers the current row,
  then moves it to the top of the viewport, then to the bottom.
  It is bound by default to ^L.
• Option --listsyntaxes/-z lists the names of available syntaxes.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-15 16:36:12 -07:00
Wang Mingyu
03656602ab
nano: upgrade 7.2 -> 8.0
Changelog:
=============
- Above modern bindings are activated also when the name of nano's
  executable (or a symlink to it) starts with the letter "e".
- To open a file at a certain line number, one can now use also
  'nano filename:number', besides 'nano +number filename'.
- <Alt+Home> and <Alt+End> put the cursor on the first and last
  row in the viewport, while retaining the horizontal position.
- When the three digits in an #RGB color code are all the same,
  the code is mapped to the xterm grey scale, giving access to
  fourteen levels of grey instead of just four.
- For easier access, M-" is bound to placing/removing an anchor,
  and M-' to jumping to the next anchor.
- Whenever an error occurs, the keystroke buffer is cleared, thus
  stopping the execution of a macro or a string bind.
- The mousewheel scrolls the viewport instead of moving the cursor.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-19 08:27:53 -07:00
Wang Mingyu
26bebc704c nano: upgrade 7.1 -> 7.2
Changelog:
============
  bindings: let ^/ toggle between the 'search' and 'gotoline' menus
  bump version numbers and add a news item for the 7.2 release
  copyright: update the years for the FSF
  docs: give ^K and ^U some useful function in the alternative bindings
  docs: put the binding of ^Y after its unbinding, for it to be effective
  gnulib: update to its current upstream state
  input: disallow bracketed pastes when in view mode
  syntax: html: colorize specially the other two emphasizing tags too
  tweaks: avoid warnings when compiling with -Wpedantic
  tweaks: rewrap an old news item
  tweaks: separate a special thanks from the preceding ones

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18 13:19:36 -08:00
Wang Mingyu
84a09e8cfa nano: upgrade 7.0 -> 7.1
Changelog:
==========
  build: fix compilation when configured with --disable-comment
  bump version numbers and add a news item for the 7.1 release
  copyright: update the last year for significantly changed files
  docs: say thanks to the Albanian translator
  rcfile: report an error when an included file does not exist
  text: upon Enter, eat only lefthand blanks, not any other characters
  tweaks: avoid passing NULL to access()
  tweaks: wrap overlong lines in the Tcl syntax, to make them manageable

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-23 08:52:22 -08:00
Wang Mingyu
956d9f0124 nano: upgrade 6.4 -> 7.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-19 08:11:45 -08:00
Wang Mingyu
68df7a1749 nano: upgrade 6.3 -> 6.4
Changelog:
==========
  bump version numbers and add a news item for the 6.4 release
  display: remember text and column positions when softwrapping a line
  docs: concisely describe how the linter behaves
  docs: remove the two notices about the changed defaults
  docs: rename README.GIT to README.hacking, so it's clearer what is meant
  docs: stop mentioning the obsoleted keywords that were removed
  files: designate the root directory with a simple "/", not with "//"
  formatter: instead of leaving curses, use full_refresh() to wipe messages
  gnulib: update to its current upstream state
  help: reshuffle two shortcuts so that more help-line items are paired
  options: stop accepting -z, as --suspendable has been dropped too
  rcfile: remove five obsolete or deprecated keywords
  syntax: default: do not colorize a square or angle bracket after a URL
  syntax: perl: add missing keywords, and reduce the length of some lines
  syntax: python: mention an alternative linter in a comment
  tweaks: add a missing word to a news item
  tweaks: add a translator hint
  tweaks: improve a comment, and reshuffle two functions plus some lines
  tweaks: put each regex on separate line, to better show many keywords
  tweaks: rename a variable, to not be the same as a function name
  tweaks: rename two variables, to not contain the name of another
  tweaks: reshuffle a description and rewrap another
  tweaks: reshuffle a few lines, to group things better
  version: condense the copyright message, to not dominate the output

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-15 16:27:53 -07:00
wangmy
d97868cf21 nano: upgrade 6.2 -> 6.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-09 08:59:46 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Wang Mingyu
3e5cd95d80 nano: upgrade 6.0 -> 6.2
Changes between v6.0 and v6.2:
------------------------------
  display: suppress the bottom-bar wiping only when the user is editing
  linter: adjust the parsing to accommodate for a modern 'pyflakes'
  syntaxes: fold a couple of regexes together, and improve a few comments
  tweaks: change the type of a variable, to avoid a compiler warning
  tweaks: consistently backslash-escape the dash in M-letter keystrokes
  tweaks: rename a misnamed variable
  tweaks: rename a variable, reshuffle five lines, and snip two comments
  tweaks: rename a variable, to be more correct, and adjust two comments
  tweaks: rename a variable, to be more fitting
  tweaks: rename two more variables, and drop unneeded initializations
  tweaks: rename two variables (to get rid of a prefix), and elide a third
  tweaks: store a result, to avoid calling a function twice
  tweaks: use an intermediate variable, to avoid using one for two purposes
  build: fix compilation when configured with --enable-tiny
  build: prevent autopoint from overwriting a newer M4 file from gnulib
  copyright: update the last year for significantly changed files
  copyright: update the years for the FSF
  docs: mention bindable function 'zero', for toggling the interface bars
  docs: mention 'set guidestripe' and 'set unix' in the sample nanorc
  docs: remove obsolete Ctrl+Z from the cheatsheet; mention Alt+X instead
  files: let ^C cancel the exiting when the file on disk was changed
  gnulib: update to its current upstream state
  help: make the description of <Tab> more accurate
  help: update the description of M-D, to match the actual order of counts
  input: instead of moving waiting keycodes, just increment a pointer
  input: suppress any spotlighting when there are more keycodes waiting
  menus: don't show M-6 in the help lines of any prompt
  prompt: allow the user to copy the answer to the cutbuffer (with M-6)
  prompt: let ^K erase text after cursor (if any), otherwise whole answer
  tweaks: add some feedback to the autogen.sh script, to ease the wait
  tweaks: add some small, clarifying comments
  tweaks: adjust a translator hint, to fit the order in the POT file
  tweaks: drop foreign M-U and M-R from among the sample CUA bindings
  tweaks: remove a redundant check -- add a different one for symmetry
  tweaks: remove two redundant checks
  tweaks: rename a function and its two parameters, for clarity
  tweaks: rename a function and reshuffle its call
  tweaks: rename a function, to not contain the name of a variable
  tweaks: rename another variable, to better fit in with its sisters
  tweaks: rename a variable and a parameter, to be more descriptive
  tweaks: rename a variable, away from an abbreviation
  tweaks: rename a variable, for clarity and contrast
  tweaks: rename a variable, to make it clearer it refers to a window
  tweaks: rename two variables, and elide a near-enough duplicate
  tweaks: reshuffle some sample bindings, to group them differently
  tweaks: reword two comments, and rename a variable (away from an abbrev)
  tweaks: stop asking the terminal for its new size -- let ncurses do it
  tweaks: use some symbolic names instead of unclear numeric values
  tweaks: when discarding keycodes, don't bother parsing them

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-23 09:25:19 -08:00
wangmy
f6c329a3c2 nano: upgrade 5.9 -> 6.0
Changes between v5.9 and v6.0:
------------------------------

bindings: allow rebinding ^Z also on a Linux console (a VT)
bindings: allow toggling line numbers (when enabled) also in tiny version
bindings: let ^T in the tiny version invoke spell checker (when included)
browser: with --zero, do not use the bottom row for displaying filenames
build: fix compilation when configured with --disable-color
build: fix compilation when configured with --disable-nanorc
build: fix compilation when configured with --enable-tiny
build: fix compilation with --enable-tiny --enable-nanorc
build: fix compilation with --enable-tiny --enable-wrapping
build: include the YAML syntax file among the distributed files
bump version numbers and add a news item for the 6.0 release
display: clear the status bar early enough, so that --zero can show text
display: do not wipe the status bar when --zero or --minibar is active
display: ensure feedback will be cleared also on a one-row terminal
display: make sure there are at least as many text lines as help lines
display: move some code for overwriting verbatim feedback with --zero
display: redraw the screen in tiny version upon resuming from suspension
display: with --zero, redraw the bottom row instead of wiping a message
docs: add a hint about making ^L do just 'refresh' to the sample nanorc
docs: add a meta description for the HTML rendering of the manual
docs: add a suggested rebind and three suggested unbinds to the sample rc
docs: avoid large Table of Contents at top of HTML version of manual
docs: clarify that --enable options do not fully counteract --enable-tiny
docs: correct the description of the layout -- four areas, not five
docs: document the effect of --quickblank together with --zero/--minibar
docs: explain the effect of --zero / -0 / 'set zero'
docs: explain what it means when --rawsequences is needed
docs: give more examples of things that --enable-tiny excludes
docs: improve the title of the manual, away from the bare "nano"
docs: list the new color names, from 'rosy' to 'crimson'
docs: mark options -z, --suspendable, and 'set suspendable' as obsolete
docs: mention "grey" also at the other place where color names are listed
docs: mention M-Z (for toggling the interface) among the Feature Toggles
docs: mention that --zero and 'set zero' hide also the help lines
docs: move the chapter about editor basics into third position
docs: prevent a black square in the PDF after the long synopsis line
docs: reshuffle a GNU marker, to make the title clearer in search engines
docs: reword several of the descriptions in the chapter on building nano
docs: reword the beginning of the chapter on nanorc files
docs: say thanks to the Indonesian translator
feedback: give a more accurate message when the help lines won't appear
feedback: refuse the --constantshow toggle (M-C) on a one-row terminal
feedback: report an unbindable function key as an "Unknown sequence"
feedback: report the number of inserted lines also with --zero or --mini
feedback: show a relevant message for M-O when the syntax has 'tabgives'
feedback: suppress chatty messages when --zero is active
feedback: to have a status bar, suppress --zero while in the help viewer
feedback: when reporting an unbound function key, mention its number
feedback: when the user types ^Z, say they can suspend nano with ^T^Z
feedback: with --mini or --zero, suppress number of lines for new buffer
feedback: with --mini/--zero, suppress message when toggling whitespace
feedback: with --zero, drop a message in a short while, as with --minibar
files: allow inserting also when started with the --noread option
files: clear original filename when the user toggles Append or Prepend
gnulib: update to its current upstream state
help: do not show ^S when --preserve is in effect
help: ensure there is a blank line between title bar and start of text
help: group the now lone mouse toggle with the "behavioral" ones
help: remove an unneeded restriction for small terminals
help: skip the leading blank line when the terminal is very flat
help: when done, always redraw the "bottom bars", also with --zero
history: process file faster by not filtering out hypothetical duplicates
input: ensure that no more bytes are consumed than are available
justify: correctly determine whether top-of-buffer has been reached
memory: avoid a tiny leak when an option with an argument is given twice
memory: avoid leaking the filename when dottifying it on the minibar
new feature: option --zero for an interface without bars
options: make --zero imply --nohelp, and 'set zero' imply 'set nohelp'
pasting: when less than a line is pasted, allow automatic hard-wrapping
prompt: avoid resetting the history pointer when the search is cancelled
prompt: begin at bottom of history list when at secondary prompt
prompt: keep a clear answer clear also after an excursion into history
rcfile: recognize fourteen new color names, mostly for subdued shades
rcfile: remove the deprecated 'cutwordleft' and 'cutwordright' keywords
replacing: keep centering the occurrence, also after toggling help lines
replacing: keep the spotlighted occurrence in view, also with --zero
replacing: keep the spotlighting, also after toggling the help lines
search: with --zero, do not obscure an occurrence on the bottom row
search: with --zero, drop a message at the same time as the spotlight
statusbar: count words in the way that matches how Ctrl+Right moves
statusbar: overwrite a message also when using --constant with --zero
suspension: enable ^Z by default -- ignore -z option and drop M-Z toggle
suspension: leave ^Z unbound by default -- just ^T^Z will suspend nano
syntax: debian: remove file -- Debian itself will have to handle it
syntax: default: colorize comments as one of the last things
syntax: default: colorize dates, URLs, and nano's release motto
syntax: email: use a character class, as \s does not work inside brackets
syntax: gentoo: remove file -- Gentoo itself will have to handle it
syntax: nanorc: add 'execute' menu for unbind, and drop a bad constraint
syntax: nanorc: avoid colorizing #rgb codes as if they were comments
syntax: nanorc: colorize a trailing comment when it begins with non-hex
syntax: nanorc: colorize each of the fourteen new color names as valid
syntax: nanorc: improve the file-matching regex
syntax: nanorc: paint arguments of 'include' and 'extendsyntax' specially
syntax: nanorc: require whitespace before the start= and end= keywords
syntax: python: colorize backslash escapes, such as \n and \xef
syntax: ruby: colorize embedded documentation as a comment
syntax: rust: do not colorize as string the text between two strings
syntax: sql: add a few more missing keywords, like TRUE and FALSE
syntax: sql: add more missing keywords, like INNER and OUTER JOIN
syntax: sql: add some missing keywords, like ALL and ANY and OR
syntax: sql: add two missing data types -- xml and tsquery
syntax: sql: colorize as flow control only keywords that clearly are such
syntax: sql: colorize keywords regardless of case, and tweak the colors
syntax: sql: colorize only single-quoted things as strings
syntax: sql: colorize strings differently than types
syntax: sql: remove alien stuff -- it was copied mostly from ruby syntax
syntax: texinfo: be more precise in colorizing @commands
syntax: texinfo: colorize the special @-plus-punctuation commands too
syntaxes: avoid coloring "this\" as if it were a valid string
syntaxes: colorize hex more strictly by using character class [:xdigit:]
syntaxes: drop three redundant end-of-line anchors
syntaxes: undouble the backslash within bracket expressions
syntaxes: use one regex for coloring quoted strings, to avoid overlap
tabbing: also with --zero, stay one row away from the prompt bar
tweaks: add an auxiliary variable, to prepare for handling --zero
tweaks: add two spaces and two comments, and drop an internal check
tweaks: adjust two values -- help lines need at least 6 rows to be shown
tweaks: avoid a compiler warning with --enable-tiny --enable-linenumbers
tweaks: avoid redrawing the entire window when just a 'touch' will do
tweaks: condense the definitions of all the empty functions
tweaks: condense the regexes for Types in the SQL syntax
tweaks: don't redraw the help lines (if present), and normalize a brace
tweaks: drop a fragment of code that became functionless
tweaks: elevate two messages, so they get shown with --mini or --zero
tweaks: elide a variable that is confusing and has just one use case
tweaks: elide two functions that each were called just once
tweaks: elide two parameters, as they are now always the same
tweaks: exclude some hidden-interface code from the tiny version
tweaks: exclude some suspension code from the tiny version
tweaks: fix a parentheses mistake -- found by a warning from Clang
tweaks: fix a somewhat humorous typo
tweaks: fix typo, and improve description of 'set zero' in sample nanorc
tweaks: fold a special case into the general one
tweaks: fold some regexes together, and trim or improve some comments
tweaks: frob a couple of comments, and drop two, for conciseness
tweaks: improve a comment, and drop two cluttering compile conditions
tweaks: invert a condition, to get an early return instead of indentation
tweaks: just let do_wrap() set 'refresh_needed' instead of returning TRUE
tweaks: mark keystrokes consistently with @kbd in the manual
tweaks: move a translator hint to where xgettext will see it
tweaks: normalize whitespace, drop unneeded prototype, condense comment
tweaks: on one-row terminals, suppress the message for two toggles
tweaks: place the unsetting of a flag better, and rename a variable
tweaks: put three email addresses between the customary angled brackets
tweaks: reassign a copy of a string to a variable more economically
tweaks: reduce redundancy (--enable-color implies --enable-nanorc)
tweaks: remove redundant pair of parentheses, and swap two alternatives
tweaks: remove redundant parentheses, trim comments, fold some regexes
tweaks: remove two unneeded unsettings
tweaks: rename a function and its parameter, to be clearer
tweaks: rename a function, away from using an abbreviation
tweaks: rename a function, for some contrast and to get rid of a suffix
tweaks: rename a function, to describe better what it does nowadays
tweaks: rename a function, to make it make sense
tweaks: rename a variable, to be distinctive and less confusing
tweaks: rename a variable, to be easier to read and to make more sense
tweaks: rename five empty functions, to get rid of a meaningless suffix
tweaks: rename three functions, to better fit the general scheme
tweaks: rename three parameters, away from single letters
tweaks: rename two empty functions, to be more to the point
tweaks: rename two functions, to get rid of another senseless suffix
tweaks: rename two functions, to get rid of one more senseless suffix
tweaks: rename two functions, to get rid of the senseless suffix of one
tweaks: rename two more functions, to lose a senseless suffix
tweaks: rename two parameters and one variable, away from single letters
tweaks: rename two variables, away from abbreviations
tweaks: rename two variables, to fit with the names of similar ones
tweaks: replace a verbose condition with a simpler early return
tweaks: replace the obscure @* with the slightly clearer @sp
tweaks: replace two direct refreshes with two scheduled ones
tweaks: reshuffle a coloring rule, to have related ones together
tweaks: reshuffle a few lines, and rename a variable
tweaks: reshuffle a few lines, for Christmas and to group things better
tweaks: reshuffle a fragment of code to a better place
tweaks: reshuffle a line and adjust indentation after previous change
tweaks: reshuffle a line into its proper order, and improve two comments
tweaks: reshuffle some conditions, so that the ifs have similar formats
tweaks: reshuffle some conditions, to have more balanced lines
tweaks: reshuffle some lines, one for clarity, others for conciseness
tweaks: reshuffle the flag conversion into their order in the help text
tweaks: reshuffle two conditions, re-indent, and rewrap a line
tweaks: reword a paragraph, and use usual M- to depict Meta keystrokes
tweaks: rewrap an old news item, for distraction
tweaks: rewrap three old NEWS items, for esthetics, and fix a date
tweaks: shorten a comment, and drop some conditionalizing
tweaks: shorten the description of --zero in the manuals a bit
tweaks: shorten two comments, and fold two statements together
tweaks: swap two parts of specific regexes, for consistency with others
tweaks: untangle two case items, and shorten a message
tweaks: use a color closer to the rest of the string, to reduce contrast
tweaks: use a few fewer capitals, and drop an unneeded synonym
docs: add a description of the hexadecimal #rgb color specification
rcfile: support #rgb format for specifying colors in 256-color terminals

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-21 18:49:37 -08:00
Oleksandr Kravchuk
0e60f404c4 nano: update to 5.9
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-16 08:25:21 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
zangrc
72280dcf59 nano: upgrade 5.7 -> 5.8
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18 08:42:25 -07:00
Andreas Müller
0fa836b69c nano: upgrade 5.6 -> 5.7
Full changelog is found at [1]

[1] https://www.nano-editor.org/dist/latest/ChangeLog

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-19 09:17:49 -07:00
zhengruoqin
a0a6f6827c nano: upgrade 5.5 -> 5.6
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 09:04:24 -08:00
Oleksandr Kravchuk
41ea8b479c nano: update to 5.5
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-04 09:26:48 -08:00
zangrc
ce591a54e7 nano: upgrade 5.3 -> 5.4
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-18 08:23:14 -08:00
zangrc
0612567794 nano: upgrade 5.2 -> 5.3
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-23 10:20:24 -07:00
Leon Anavi
9dbdae818b nano: Upgrade 5.1 -> 5.2
Upgrade to release 5.2 "Ranrapalca":

- Making certain replacements after a large paste does not crash.
- Hitting a toggle at the Search prompt does not clear the answer.
- Using --positionlog does not complain at the first start.
- A macro containing a Search command will not sometimes fail.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-03 07:56:08 -07:00
Zang Ruochen
e768f4369b nano: upgrade 5.0 -> 5.1
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-21 10:16:29 -07:00
Oleksandr Kravchuk
7dc6c20b27 nano: update to 5.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-31 13:22:53 -07:00
Zheng Ruoqin
a3f13f3d86 nano: upgrade 4.9.2 -> 4.9.3
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-28 12:35:51 -07:00
Pierre-Jean Texier
0e34b28d2e nano: upgrade 4.4 -> 4.9.2
See full changelog https://www.nano-editor.org/news.php

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-08 08:16:10 -07:00
Pierre-Jean Texier
34f89a5936 nano: fix upstream check URL
Fixes:

$: devtool check-upgrade-status nano
<...>

INFO: nano                      4.4             UNKNOWN_BROKEN  None

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-05 10:38:14 -07:00
Oleksandr Kravchuk
7cd67125aa nano: update to 4.4
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-05 18:13:44 -07:00
Oleksandr Kravchuk
54884f9cb9 nano: update to 4.3
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-25 14:21:47 -07:00
Oleksandr Kravchuk
ba5c0efc62 nano: update to 4.2
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:46:50 -07:00
Oleksandr Kravchuk
96bd35d812 nano: update to 4.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:56 -07:00
Oleksandr Kravchuk
cea36fd86d nano: update to 4.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-24 09:55:49 -07:00
Oleksandr Kravchuk
2761b6b35c nano: upgrade to 3.2
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07 09:33:45 -08:00
Adrian Bunk
07ff007355 nano: Depend only on ncurses-terminfo-base
nano is a popular choice for a small user-friendly editor
on embedded systems.

Depending only on ncurses-terminfo-base instead of ncurses-terminfo
saves over 3 MB, and is sufficient in practice.

The vim recipe already depends only on ncurses-terminfo-base.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-01 10:16:15 -07:00
Oleksandr Kravchuk
2c3aa1e4b6 nano: upgrade to 3.0
Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 22:10:11 -07:00
Leon Anavi
8f3e6f4339 nano: Upgrade 2.9.7 -> 2.9.8
Upgrade nano to 2.9.8, the latest version as of 2 June 2018:
https://www.nano-editor.org/dist/v2.9/ChangeLog

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-14 08:57:14 -07:00
Khem Raj
b9819752df nano: Upgrade 2.9.3 -> 2.9.7
Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-26 21:10:55 -07:00
Huang Qiyu
100a00a32d nano: 2.7.4 -> 2.9.3
Upgrade nano form 2.7.4 to 2.9.3.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-16 19:13:29 -07:00
Andre McCurdy
ebef449638 remove some more True options to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls. Fix a small number of cases not addressed
by the original patch:

  http://git.openembedded.org/meta-openembedded/commit/?id=efd3696e70a6603f1a45faa4a172433514f0a487

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:23 +01:00
Oleksandr Kravchuk
e79566f51d nano: upgrade to 2.7.4
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:23 +01:00
Oleksandr Kravchuk
29f111e03a nano: update SRC_URI with new source
FTP server is not accesible anymore. Use HTTPS mirror instead.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-10 13:12:55 +01:00
Vesa Jääskeläinen
e5f01cae38 nano: fix license to GPLv3.
Nano recipe has incorrectly stated GPLv2 license where actually it is GPLv3.

Signed-off-by: Vesa Jääskeläinen <dachaac@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:25 +02:00
David Andrey
01bd032f2f nano: use FTP as download method
FTP was noticed as the prefered file access method for nano sources
after several HTTP server hang-up.

The nano-devel mailing list refers to this change

Signed-off-by: David Andrey <david.andrey@netmodule.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:23 +01:00
Paul Eggleton
3a30c56238 Replace bb.data.* with d.*
Used sed expression given here:

http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html

Plus an additional expression for .expand. Full expression is:

sed \
-e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

Some minor correction in systemd.bbclass was needed for some expressions
that didn't quite match the regex in the desired way; additionally a few
instances were manually changed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-28 14:32:06 +00:00
Christopher Larson
9afc488a1b nano: add PACKAGECONFIG for 'tiny' build
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-25 09:18:12 +02:00