This is now a C++ package.
Cherry-pick a patch from the unreleased HEAD of cgdb for GDB 8.3+.
Take maintainership.
cgdb-0.7.1 (08/04/2019)
* Status bar messages are now displayed properly in veritical mode.
The message is now truncated according to the status bar width instead
of the width of the terminal.
* Fix spurious error from CGDB on shutdown. You may have seen,
CGDB had unexpected results. Search the logs for more details.
In the log there was a waitpid error. CGDB was using the API wrong.
* Fix issue #161 - CGDB would lock up when doing a regex search from
the status bar if the file was just opened from the file dialog and
the search did not match any text in the file. Now the search fails
to match text as expected.
* Status bar commands and gdb console commands now both show gdb
output in the gdb window (instead of only the gdb console commands).
This fixed issue #154 on github.
* Fixed issue where typing F8 would do a 'next', 'step' and
screen refresh instead of just doing a 'next' command.
* Fix issue #139 - Show appropriate logos when color disabled
Previously, if the user had colors disabled, CGDB would still show
logos that had ansi escape color sequences in them.
* Fixed :highlight regression introduced in 0.7.0.
In 0.6.8, if the user entered a :highlight command from the CGDB
status bar, for instance:
:highlight Comment ctermfg=Blue
CGDB would updated the currently displayed source file
with the requested highlighting changes. In 0.7.0 this would not occur.
Both versions honored :highlight in the .cgdbrc file.
* Fix issue #125 - CGDB can cross compile again.
* The rust syntax highlighter is now case sensitive instead of case
insensitive.
* Fix issue #129. CGDB with old versions of ncurses (5.6 or before)
would not display colors. Now it will display colors, but will
not support ansi colors in the GDB window.
* Fix issue #137. rustlexer.lpp fails to compile with some versions
of GNU autotools.
* Fix issue #135. CGDB would "freeze" when opening the file
dialog if the number of files was very large. Updating the
gdbwire parser resolved the issue.
* Add support for readline's backward-kill-word and kill-word at gdb prompt
cgdb-0.7.0 (03/21/2017)
* Remove help2man dependency. CGDB has a good info page which
should suffice.
* The hlsearch option has been added to CGDB. This improves the
searching and displaying of searching functionality within CGDB.
By default the option is off. When enabled, and there exists a
previous search, CGDB will display the search results using
the Search highlighting group. The IncSearch highlighting group
is used to display the active search. The hlsearch option
highlights previous searches in the source window, the gdb window
when in scroll mode and the file dialog window.
* CGDB now supports showing assembly code! By default, CGDB will
display source code when it is available and assembly code
when no source code is available. The option 'set disasm'
allows you to show mixed source/assembly when both are available.
* Add support to enable/disable showing assembly code in CGDB.
The default is disabled. The 'set disasm' enables showing
mixed assembly mode by default. See the documentation for more
information.
* Add the :logo command to cgdb. This tells CGDB to display a logo
in the source window.
* Add an initial Rust syntax highlighter.
* Support vi type <digit>j and <digit>k motions. Previously only
typing j or k with out a number was supported.
* Add support for marks. m[a-z] will set a local file mark and
m[A-Z] will set a global mark. '[a-z] will jump to the
corresponding local mark and '[A-Z] will jump to the corresponding
global mark. As an added bonus '' will jump to the last jump location
and '. will jump to the last executing line.
The showmarks option was introduced to show the marks in the source
window. It defaults to true. You can disable the viewing of marks
using 'set noshowmarks'.
* Add support to enable or disable color in the source window.
The default is enabled. See the documentation for more information.
* Add support for showing colors in the debug window. If gdb or the
program being debugged output an ansi escape code representing color,
https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
then CGDB will display the corresponding color instead of the escape
code. This option is configurable with the set debugwincolor option.
* Add the winminwidth option to CGDB. It controls the minimum width
that a window can be resized. It corresponds to the winminheight
option. This was introduced now that CGDB can have vertically split
windows.
* Add support for vertical or horizontal splitting of the CGDB/GDB
windows. Thanks to Daniel Cohen for the original implementation
of this idea! You can change the window orientation by using the
command 'set winsplitorientation=horizontal or vertical'.
horizontal is the default orientation. Type Ctrl-w to switch between
vertical and horizontal viewing.
* Remove the TTY mode and TTY window from CGDB. This previously allowed
you to send input to the program being debugged through the TTY
window in CGDB. It is better for the user to run their program in
one terminal and attach to it with CGDB from another terminal in
order to get terminal input and terminal output working correctly.
* Add the -w command line option to CGDB. It directs CGDB to wait
to start until either a debugger is attached to it, or until a key
is written to it's stdin. This helps simplify debugging CGDB itself.
* Added GDB scroll mode in addition to the existing GDB command mode.
To enter scroll mode, type 'page up' when in GDB mode and to exit
type 'q', 'i' or 'Enter'. In scroll mode, you can scroll through
the GDB output. You can also search the GDB output with the /, ?, n
and N keys. Marks are also supported. You can set a mark by typing
m[a-z] and you can jump to a mark by typing '[a-z]. See the
documentation for more details.
* Extended support for the G command when in CGDB mode. The new supported
syntax is [<number>]G, allowing users to jump to a specific line within
the source file, rather than just the end of the source file. This is
identical to the :<number> command.
* Added support for 'executinglinedisplay' and 'selectedlinedisplay'
configuration options. See documentation for full explanation.
This allows you to configure how CGDB displays both the currently
executing line and the currently selected line.
The default for executing line is set to longarrow.
The default for selected line is set to block.
The 'arrowstyle' option has been deprecated (but still supported)
and users should use the 'executinglinedisplay' option instead.
* CGDB now only supports ncurses. Support for curses was removed.
The curses support was previously very out of date and untested.
If curses support is needed, please let us know.
Change log:
Version 3.1.0
* Python 3.9 support, no inter-interpreter support
* Add R_INSET relation for in unordered set relationship
* Unified MorePrinter code path
* Set __qualname__ to __name__ on dynamic classes
* hp.Prod(), .byprod classifier, producer profiler
* IdentitySet.prod to print tracemalloc results
* Add .all to MorePrinter
2.10.2 (25.09.2020)
~~~~~~~~~~~~~~~~~~~
* Fix: Avoid use of `icon` class name on userbar icon to prevent clashes
with front-end styles (Karran Besen)
* Fix: Prevent focused button labels from displaying as white on white
(Karran Bessen)
* Fix: Avoid showing preview button on moderation dashboard for page
types with preview disabled (Dino Perovic)
* Fix: Prevent oversized buttons in moderation dashboard panel (Dan
Braghis)
* Fix: `create_log_entries_from_revisions` now handles revisions that
cannot be restored due to foreign key constraints (Matt Westcott)
2.10.1 (26.08.2020)
~~~~~~~~~~~~~~~~~~~
* Fix: Prevent `create_log_entries_from_revisions` command from failing
when page model classes are missing (Dan Braghis)
* Fix: Prevent page audit log views from failing for user models without
a `username` field (Vyacheslav Matyukhin)
* Fix: Fix icon alignment on menu items (Coen van der Kamp)
* Fix: Page editor header bar now correctly shows 'Published' or 'Draft'
status when no revisions exist (Matt Westcott)
* Fix: Prevent page editor from failing when `USE_TZ` is false (Matt
Westcott)
* Fix: Ensure whitespace between block-level elements is preserved when
stripping tags from rich text for search indexing (Matt Westcott)
Convert to use the new mk/blas.buildlink3.mk rather than a specific blas
package
These dependents were overlooked in the initial upgrade and rev bump because
they listed blas in DEPENDS rather than including the bl3.
ShellCheck is a GPLv3 tool that gives warnings and suggestions for
bash/sh shell scripts.
The goals of ShellCheck are:
* To point out and clarify typical beginner's syntax issues that cause
a shell to give cryptic error messages.
* To point out and clarify typical intermediate level semantic problems
that cause a shell to behave strangely and counter-intuitively.
* To point out subtle caveats, corner cases and pitfalls that may cause
an advanced user's otherwise working script to fail under future
circumstances.
0.16.1
Fixed
* Support literal IPv6 addresses in URLs.
* Force lowercase headers in ASGI scope dictionaries.
0.16.0
Changed
* Preserve HTTP header casing.
* Drop `response.next()` and `response.anext()` methods in favour of `response.next_request` attribute.
* Closed clients now raise a runtime error if attempting to send a request.
Added
* Add Python 3.9 to officially supported versions.
* Type annotate `__enter__`/`__exit__`/`__aenter__`/`__aexit__` in a way that supports subclasses of `Client` and `AsyncClient`.
0.12.0
Changed
- HTTP header casing is now preserved, rather than always sent in lowercase.
Added
- Add Python 3.9 to officially supported versions.
Fixed
- Gracefully handle a stdlib asyncio bug when a connection is closed while it is in a paused-for-reading state.
3.0.8:
New features:
- Added `validator` parameter to `input_dialog`.
Fixes:
- Cope with stdout not having a working `fileno`.
- Handle situation when /dev/null is piped into stdin, or when stdin is closed
somehow.
- Fix for telnet/ssh server: `isatty` method was not implemented.
- Display correct error when a tuple is passed into `to_formatted_text`.
- Pass along WORD parameter in `Document._is_word_before_cursor_complete`.
Fixes some key bindings.
- Expose `ProgressBarCounter` in shortcuts module.
New features:
- Added .netrc support
- Added –tls-sni option
- Swaks is now available on CPAN as App::swaks
- Swaks will now print errors if deprecated functionality is used
Notable changes:
- Automatic file detection is deprecated. Previously, if an argument
to –data, –body, –attach-body, and –attach resolved to an
openable file, the contents of that file would be used as the actual
argument. Now the proper way to do this is to place '@' in front
of the argument to state explicitly that the argument contents are
in a file.
- If any of the –xclient-* family of options (–xclient-name,
–xclient-addr, etc) is provided more than once, only the last option
provided will be used. See –xclient option if you need to simulate
the previous behavior
- -g option is now deprecated
- Time::Local is no longer used and POSIX is now listed as a
required module
Notable bugs fixed:
- Fix for subtle issue related to environment variable options. Affected
error handling for options which required args.
- Fix issue preventing XCLIENT and STARTTLS from working together
properly (#21)
- Fix issue which could cause generated date header to oscillate on the
day of DST transition (#17, deb bug 955798)
OpenLDAP 2.4.54
Fixed slapd delta-syncrepl to ignore delete ops on deleted entry
Fixed slapd delta-syncrepl to be fully serialized
Fixed slapd delta-syncrepl MOD on zero-length context entry
Fixed slapd sessionlog to use a TAVL tree
Fixed slapd syncrepl to be fully serialized
Fixed slapd syncrepl to call check_syncprov on fresh consumer
Fixed slapd syncrepl to propagate errors from overlay_entry_get_ov
Fixed slapd syncrepl to not create empty ADD ops
Fixed slapd syncrepl replace usage on single valued attrs
Fixed slapd-monitor fix monitor_back_register_database for empty suffix DB
Fixed slapo-accesslog normalizer for reqStart
Fixed slapo-accesslog to not generate new contextCSN on purge
Fixed slapo-syncprov contextCSN generation with empty suffix
pkgsrc changes:
---------------
* Use release archive from Github to avoid the dependency on autotools
and to remove conflict with the tag archive potentially present in
${DISTDIR} which has the same name but a different checksum.
* Reorder variables to be compliant with pkgsrc policy described in
doc/Makefile-example.
Packaged by kikadf in wip and in PR pkg/54704
U-Boot is a bootloader for embedded boards based on PowerPC, ARM, MIPS and
several other processors, which can be installed in a boot ROM and used to
initialize and test the hardware or to download and run application code.
This package provides U-Boot for the Xunlong Orange Pi PC.
CHANGELOG
=========
0.23.1
------
- Added `--preview-window` options for disabling flags
- `nocycle`
- `nohidden`
- `nowrap`
- `default`
- Built with Go 1.14.9 due to performance regression
- https://github.com/golang/go/issues/40727
0.23.0
------
- Support preview scroll offset relative to window height
```sh
git grep --line-number '' |
fzf --delimiter : \
--preview 'bat --style=numbers --color=always --highlight-line {2} {1}' \
--preview-window +{2}-/2
```
- Added `--preview-window` option for sharp edges (`--preview-window sharp`)
- Added `--preview-window` option for cyclic scrolling (`--preview-window cycle`)
- Reduced vertical padding around the preview window when `--preview-window
noborder` is used
- Added actions for preview window
- `preview-half-page-up`
- `preview-half-page-down`
- Vim
- Popup width and height can be given in absolute integer values
- Added `fzf#exec()` function for getting the path of fzf executable
- It also downloads the latest binary if it's not available by running
`./install --bin`
- Built with Go 1.15.2
- We no longer provide 32-bit binaries
0.22.0
------
- Added more options for `--bind`
- `backward-eof` event
```sh
# Aborts when you delete backward when the query prompt is already empty
fzf --bind backward-eof:abort
```
- `refresh-preview` action
```sh
# Rerun preview command when you hit '?'
fzf --preview 'echo $RANDOM' --bind '?:refresh-preview'
```
- `preview` action
```sh
# Default preview command with an extra preview binding
fzf --preview 'file {}' --bind '?:preview:cat {}'
# A preview binding with no default preview command
# (Preview window is initially empty)
fzf --bind '?:preview:cat {}'
# Preview window hidden by default, it appears when you first hit '?'
fzf --bind '?:preview:cat {}' --preview-window hidden
```
- Added preview window option for setting the initial scroll offset
```sh
# Initial scroll offset is set to the line number of each line of
# git grep output *minus* 5 lines
git grep --line-number '' |
fzf --delimiter : --preview 'nl {1}' --preview-window +{2}-5
```
- Added support for ANSI colors in `--prompt` string
- Smart match of accented characters
- An unaccented character in the query string will match both accented and
unaccented characters, while an accented character will only match
accented characters. This is similar to how "smart-case" match works.
- Vim plugin
- `tmux` layout option for using fzf-tmux
```vim
let g:fzf_layout = { 'tmux': '-p90%,60%' }
```
0.21.1
------
- Shell extension
- CTRL-R will remove duplicate commands
- fzf-tmux
- Supports tmux popup window (require tmux 3.2 or above)
- ```sh
# 50% width and height
fzf-tmux -p
# 80% width and height
fzf-tmux -p 80%
# 80% width and 40% height
fzf-tmux -p 80%,40%
fzf-tmux -w 80% -h 40%
# Window position
fzf-tmux -w 80% -h 40% -x 0 -y 0
fzf-tmux -w 80% -h 40% -y 1000
# Write ordinary fzf options after --
fzf-tmux -p -- --reverse --info=inline --margin 2,4 --border
```
- On macOS, you can build the latest tmux from the source with
`brew install tmux --HEAD`
- Bug fixes
- Fixed Windows file traversal not to include directories
- Fixed ANSI colors with `--keep-right`
- Fixed _fzf_complete for zsh
- Built with Go 1.14.1
0.21.0
------
- `--height` option is now available on Windows as well (@kelleyma49)
- Added `--pointer` and `--marker` options
- Added `--keep-right` option that keeps the right end of the line visible
when it's too long
- Style changes
- `--border` will now print border with rounded corners around the
finder instead of printing horizontal lines above and below it.
The previous style is available via `--border=horizontal`
- Unicode spinner
- More keys and actions for `--bind`
- Added PowerShell script for downloading Windows binary
- Vim plugin: Built-in floating windows support
```vim
let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6 } }
```
- bash: Various improvements in key bindings (CTRL-T, CTRL-R, ALT-C)
- CTRL-R will start with the current command-line as the initial query
- CTRL-R properly supports multi-line commands
- Fuzzy completion API changed
```sh
# Previous: fzf arguments given as a single string argument
# - This style is still supported, but it's deprecated
_fzf_complete "--multi --reverse --prompt=\"doge> \"" "$@" < <(
echo foo
)
# New API: multiple fzf arguments before "--"
# - Easier to write multiple options
_fzf_complete --multi --reverse --prompt="doge> " -- "$@" < <(
echo foo
)
```
- Bug fixes and improvements
0.20.0
------
- Customizable preview window color (`preview-fg` and `preview-bg` for `--color`)
```sh
fzf --preview 'cat {}' \
--color 'fg:#bbccdd,fg+:#ddeeff,bg:#334455,preview-bg:#223344,border:#778899' \
--border --height 20 --layout reverse --info inline
```
- Removed the immediate flicking of the screen on `reload` action.
```sh
: | fzf --bind 'change:reload:seq {q}' --phony
```
- Added `clear-query` and `clear-selection` actions for `--bind`
- It is now possible to split a composite bind action over multiple `--bind`
expressions by prefixing the later ones with `+`.
```sh
fzf --bind 'ctrl-a:up+up'
# Can be now written as
fzf --bind 'ctrl-a:up' --bind 'ctrl-a:+up'
# This is useful when you need to write special execute/reload form (i.e. `execute:...`)
# to avoid parse errors and add more actions to the same key
fzf --multi --bind 'ctrl-l:select-all+execute:less {+f}' --bind 'ctrl-l:+deselect-all'
```
- Fixed parse error of `--bind` expression where concatenated execute/reload
action contains `+` character.
```sh
fzf --multi --bind 'ctrl-l:select-all+execute(less {+f})+deselect-all'
```
- Fixed bugs of reload action
- Not triggered when there's no match even when the command doesn't have
any placeholder expressions
- Screen not properly cleared when `--header-lines` not filled on reload
0.19.0
------
- Added `--phony` option which completely disables search functionality.
Useful when you want to use fzf only as a selector interface. See below.
- Added "reload" action for dynamically updating the input list without
restarting fzf. See https://github.com/junegunn/fzf/issues/1750 to learn
more about it.
```sh
# Using fzf as the selector interface for ripgrep
RG_PREFIX="rg --column --line-number --no-heading --color=always --smart-case "
INITIAL_QUERY="foo"
FZF_DEFAULT_COMMAND="$RG_PREFIX '$INITIAL_QUERY' || true" \
fzf --bind "change:reload:$RG_PREFIX {q} || true" \
--ansi --phony --query "$INITIAL_QUERY"
```
- `--multi` now takes an optional integer argument which indicates the maximum
number of items that can be selected
```sh
seq 100 | fzf --multi 3 --reverse --height 50%
```
- If a placeholder expression for `--preview` and `execute` action (and the
new `reload` action) contains `f` flag, it is replaced to the
path of a temporary file that holds the evaluated list. This is useful
when you multi-select a large number of items and the length of the
evaluated string may exceed [`ARG_MAX`][argmax].
```sh
# Press CTRL-A to select 100K items and see the sum of all the numbers
seq 100000 | fzf --multi --bind ctrl-a:select-all \
--preview "awk '{sum+=\$1} END {print sum}' {+f}"
```
- `deselect-all` no longer deselects unmatched items. It is now consistent
with `select-all` and `toggle-all` in that it only affects matched items.
- Due to the limitation of bash, fuzzy completion is enabled by default for
a fixed set of commands. A helper function for easily setting up fuzzy
completion for any command is now provided.
```sh
# usage: _fzf_setup_completion path|dir COMMANDS...
_fzf_setup_completion path git kubectl
```
- Info line style can be changed by `--info=STYLE`
- `--info=default`
- `--info=inline` (same as old `--inline-info`)
- `--info=hidden`
- Preview window border can be disabled by adding `noborder` to
`--preview-window`.
- When you transform the input with `--with-nth`, the trailing white spaces
are removed.
- `ctrl-\`, `ctrl-]`, `ctrl-^`, and `ctrl-/` can now be used with `--bind`
- See https://github.com/junegunn/fzf/milestone/15?closed=1 for more details
[argmax]: https://unix.stackexchange.com/questions/120642/what-defines-the-maximum-size-for-a-command-single-argument