Commit Graph

250264 Commits

Author SHA1 Message Date
christos 5a6dcaa81f Disconnect maintaining fragment state from keeping session state. The user
now must specify keep frags along with keep state to have ipfilter do what
it did before, as documented in ipf.conf.5. (Cy Schubert @ FreeBSD)
2017-04-23 20:47:22 +00:00
christos f5c70f34c6 Free the right fragment (Cy Schubert @ FreeBSD). This will cause use after free
issues and eventually panic.
2017-04-23 19:09:29 +00:00
christos 8c06a4888e new tmux. 2017-04-23 18:23:32 +00:00
christos fe50335050 Add our utempter since it now everything works. 2017-04-23 18:22:36 +00:00
abhinav b2c6ef38f4 Teach whatis(1) to handle MLINKS
Similar to apropos(1), whatis did not utilise the mandb_links table till now.
Therefore, if it was asked about one of the links to a man page, it would
error out. This change teaches whatis(1) to look up both the FTS table
as well as the links table, thus ensuring that it is able to answer queries
about MLINKS as well.

Comparision between outputs before this change and after this change:

#Before change
$ whatis realloc
realloc: not found

#after change
$ ./whatis realloc
realloc(3) - general memory allocation operations
realloc(3) - general purpose memory allocation functions
realloc(9) - general-purpose kernel memory allocator
2017-04-23 16:56:49 +00:00
jdolecek bbe00fb4eb xref also mvsata(4), siisata(4) 2017-04-23 14:34:22 +00:00
abhinav e70b83fc18 Better handle MLINKS in apropos(1).
apropos(1) only indexes the first .Nm entry from the NAME section in the full
text index. Rest of the .Nm entries are stored in a separate table: mandb_links.

Till now apropos(1) did not use the mandb_links table. So whenever a query
was being made for one of the man page links, such as realloc(3), it was showing
malloc(3) in the results but not as the first result. And, also the result would
show up as malloc(3), rather than realloc(3) (which can be confusing).

With this change, for single keyword queries, apropos(1) would now utilise the
mandb_links table as well. If the query is for one of the links of a man page,
it would show as the first result. Also, the result would show up as the name
of the link rather than the original man page name. For example, if the query
was for realloc, the output would be realloc(3), rather than malloc(3).

Following are some example queries showing difference in the output before this
change and after this change:

#Before changes
$ apropos -n 5 -M realloc
reallocarr (3)    reallocate array
reallocarray (3)  reallocate memory for an array of elements checking
for overflow
fgetwln (3)       get a line of wide characters from a stream
fgetln (3)        get a line from a stream
posix_memalign (3)        aligned memory allocation

#After changes
$ ./apropos -n 5 -M realloc
realloc (3)       general memory allocation operations
realloc (3)       general purpose memory allocation functions
realloc (9)       general-purpose kernel memory allocator
reallocarr (3)    reallocate array
reallocarray (3)  reallocate memory for an array of elements checking
for overflow

#Before changes
$ apropos -n 5 -M TAILQ_REMOVE
SLIST_HEAD (3) implementations of singly-linked lists, lists, simple
queues, tail queues, and singly-linked tail queues

#After changes
$ ./apropos -n 5 -M TAILQ_REMOVE
TAILQ_REMOVE (3)  implementations of singly-linked lists, lists,
simple queues, tail queues, and singly-linked tail queues

#Before changes
$ apropos -n 5 -M falloc
filedesc (9)      file descriptor tables and operations
file (9)  operations on file entries

#After changes
$ ./apropos -n 5 -M falloc
falloc (9)        file descriptor tables and operations
file (9)  operations on file entries

ok christos@
2017-04-23 13:52:57 +00:00
christos 882d7a48e8 fix typo (Leonardo Taccari) 2017-04-23 13:23:02 +00:00
jmcneill c22398684e Split cpufreq driver out into a separate module. 2017-04-23 12:31:38 +00:00
wiz 014a98250c Sort errors. 2017-04-23 11:38:53 +00:00
wiz d53aff86f9 Use more markup. 2017-04-23 11:37:29 +00:00
mbalmer 1fe8d1aee4 Upstream Lua is at version 5.3.4. 2017-04-23 10:46:54 +00:00
abhinav bf7f329587 Fix sentences at couple of places
s/a file/the file/
	s/a -1 is returned/-1 is returned/
2017-04-23 06:46:04 +00:00
pgoyette a50767fa9b And actually remove the double-negative that triggered this series of
minor commits!  Thanks, Abhinav, for pointing out my typo!
2017-04-23 06:34:07 +00:00
pgoyette 40383af696 Reword further to make it clearer that the two flag bits are separately
settable.
2017-04-23 06:23:25 +00:00
abhinav a6c6c755c1 Fix a sentence (remove double negation)
Fix mandoc lint warning (remove Pp before Bd)
2017-04-23 05:56:50 +00:00
abhinav 86412f657a Fix typo. 2017-04-23 05:49:00 +00:00
christos e9a2d6fa8c merge conflicts
XXX: Does not work; core-dumps!
2017-04-23 02:01:59 +00:00
christos 6f84e2e257 Add VIS_DQ (for OpenBSD compat) 2017-04-23 01:58:48 +00:00
christos f81dba2062 Add vis DQ. 2017-04-23 01:57:36 +00:00
christos 4e179ddab9 CHANGES FROM 2.3 to 2.4 20 April 2017
Incompatible Changes
====================

* Key tables have undergone major changes. Mode key tables are no longer
  separate from the main key tables. All mode key tables have been removed,
  together with the -t flag to bind-key and unbind-key.

  The emacs-edit, vi-edit, emacs-choose and vi-choose tables have been replaced
  by fixed key bindings in the command prompt and choose modes. The mode-keys
  and status-keys options remain.

  The emacs-copy and vi-copy tables have been replaced by the copy-mode and
  copy-mode-vi tables. Commands are sent using the -X and -N flags to
  send-keys. So the following:

    bind -temacs-copy C-Up scroll-up
    bind -temacs-copy -R5 WheelUpPane scroll-up

  Becomes:

    bind -Tcopy-mode C-Up send -X scroll-up
    bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up

  This changes allows the full command parser (including command sequences) and
  command set to be used - for example, the normal command prompt with editing
  and history is now used for searching, jumping, and so on instead of a custom
  one. The default C-r binding is now:

    bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'"

  There are also some new commmands available with send -X, such as
  copy-pipe-and-cancel.
* set-remain-on-exit has gone -- can be achieved with hooks instead.
* Hooks: before hooks have been removed and only a selection of commands now
  have after hooks (they are no longer automatic). Additional hooks have been
  added.
* The xterm-keys option now defaults to on.

Normal Changes
==============

* Support for mouse double and triple clicks.
* BCE (Background Colour Erase) is now supported.
* All occurrences of a search string in copy mode are now highlighted;
  additionally, the number of search results is displayed. The highlighting
  updates interactively with the default emacs key bindings (incremental
  search).
* source-file now understands glob patterns.
* Formats now have simple comparisons:

    #{==:a,b}
    #{!=:a,b}

* There are the following new formats:

  - #{version} -- the tmux server version;
  - #{client_termtype} -- the terminal type of the client;
  - #{client_name} -- the name of a client;
  - #{client_written} -- the number of bytes written to the client.

* The configuration file now accepts %if/%endif conditional blocks which are
  processed when it is parsed; the argument is a format string (useful with the
  new format comparison options).
* detach-client now has -E to execute a command replacing the client instead of
  exiting.
* Add support for custom command aliases, this is an array option which
  contains items of the form "alias=command". This is consulted when an
  unknown command is parsed.
* break-pane now has -n to specify the new window name.
* OSC 52 support has been added for programs inside tmux to set a tmux buffer.
* The mouse "all event" mode (1003) is now supported.
* Palette setting is now possible (OSC 4 and 104).
* Strikethrough support (a recent terminfo is required).
* Grouped sessions can now be named (new -t).
* terminal-overrides and update-environment are now array options (the previous
  set -ag syntax should work without change).
* There have been substantial performance improvements.

CHANGES FROM 2.2 to 2.3 29 September 2016

Incompatible Changes
====================

None.

Normal Changes
==============

* New option 'pane-border-status' to add text in the pane borders.
* Support for hooks on commands: 'after' and 'before' hooks.
* 'source-file' understands '-q' to suppress errors for nonexistent files.
* Lots of UTF8 improvements, especially on MacOS.
* 'window-status-separator' understands #[] expansions.
* 'split-window' understands '-f' for performing a full-width split.
* Allow report count to be specified when using 'bind-key -R'.
* 'set -a' for appending to user options (@foo) is now supported.
* 'display-panes' can now accept a command to run, rather than always
  selecting the pane.
2017-04-23 00:21:37 +00:00
jmcneill 095f6375b1 Get rid of tegra_cpuinit after scanning fdt and attach the cpufreq support
to the /cpus node. Use regulator API instead of poking directly at the I2C
controller to set voltages.
2017-04-22 23:53:24 +00:00
jmcneill cd139f033f remove unused field in softc 2017-04-22 23:50:13 +00:00
jmcneill 4a00a79174 Add SD0 regulator. 2017-04-22 23:46:29 +00:00
christos 5a2222869d Clarify 0 2017-04-22 23:01:36 +00:00
riastradh a5d8818134 Clarify `kill -0'. Note standard exit codes. 2017-04-22 22:42:03 +00:00
abhinav 1582bbd585 Remove comma after the last Nm entry. 2017-04-22 22:36:00 +00:00
jmcneill d881362511 If the "vqmmc-supply" regulator is present, use it to set signal voltage. 2017-04-22 21:50:49 +00:00
jmcneill ddbcb5eb6c add as3722reg 2017-04-22 21:50:13 +00:00
jmcneill 872a36d5d4 Add a vendor callback for setting signal voltage. 2017-04-22 21:49:41 +00:00
jmcneill 115ef3a70e Add LDO6 regulator support. 2017-04-22 21:48:56 +00:00
jmcneill d1727b276a Add regulator APIs for setting and getting voltage. 2017-04-22 21:47:41 +00:00
skrll 3075701ba8 Comment indentation 2017-04-22 20:32:35 +00:00
skrll 3ec9103743 Improve a comment 2017-04-22 20:20:19 +00:00
skrll 2a27f4d582 Trailing whitespace 2017-04-22 20:19:53 +00:00
jmcneill 1e3ee39fea Explicitly initialize interrupt controllers and since we pass through to
GIC, don't include "LIC" in interrupt string.
2017-04-22 19:20:51 +00:00
jmcneill 8a28d5894f Set parent clock rate to 100MHz when SDR104 is disabled 2017-04-22 17:41:20 +00:00
jmcneill 22b9f6b21a Fix fractional divider calculations and round down for sdmmc clocks. 2017-04-22 17:40:47 +00:00
kre c1cbf1992b Keep track of the biggest fd used by, or available to, the user/script
and use that to control which fd's are examined by a (bare) fdflags
(with no fd args).

Usually this will mean that fdflags will no longer show the shell's
internal use fds, only user fds.

This is only a partial fix however, a user can easily discover the
shell's fd usage (eg: using fstat) and can then still use fdflags to
manipulate those fds (or even send output to them).

The shell needs to monitor its own fd usage better, and keep out of
the way of user fds - coming sometime later...
2017-04-22 16:02:39 +00:00
kre 9df68bad0e When verifying the size of the fd arg for fdflags skip leading 0's
(fdflags 0000000001 should work, fdflags 10000000 should not)
2017-04-22 15:54:53 +00:00
kre a38817863e When -x is set, show assignments to the loop variable in a for loop. 2017-04-22 15:53:17 +00:00
christos 4c074ab789 Obey MKCRYPTO. 2017-04-22 15:12:59 +00:00
macallan c385f5854b - set RI_FULLCLEAR
- clear RI_CURSOR when we clear the screen
no more garbage when switching screens
while there set RI_PREFER_ALPHA
2017-04-22 15:07:49 +00:00
macallan b810592ab9 add RI_PREFER_ALPHA flag, for drivers that can draw such fonts by hardware 2017-04-22 15:05:02 +00:00
jmcneill 71dda27406 Ensure that the task is returned to the free task list in an error branch. 2017-04-22 14:19:36 +00:00
jmcneill 48963fbd88 Add support for AS3722 RTC. 2017-04-22 13:26:05 +00:00
jmcneill b06fec0a20 Use fdtbus_todr_attach 2017-04-22 13:24:45 +00:00
jmcneill f57a76a7d7 Add fdtbus_todr_attach.
The kernel will only ever use the first RTC driver to call todr_attach.
When drivers use fdtbus_todr_attach, if an "rtc0" alias exists in the
devicetree, ensure that only that device node calls todr_attach.
2017-04-22 13:24:20 +00:00
kre 3f471a638f When called as "link" (not currently installed that way) always simply
do a link(2) sys call, never use the internal linkit() routine, which
allows for a destination directory and installs the link inside (and more.)

This makes ln's "link" variant comply with its (currently commented out)
section if its manual page, and also makes it identical to /usr/sbin/link.
2017-04-22 12:22:31 +00:00
nat d8e7cbe075 If there is no data in the mix ring, insert silence.
This will ensure that the hardware output pointer remains valid.
2017-04-22 10:37:51 +00:00