1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00
emacs/etc/images
Michael Albinus 39e3fce0d5 'read-passwd' can toggle the visibility of passwords
* doc/lispref/minibuf.texi (Reading a Password):
* etc/NEWS: 'read-passwd' can toggle the visibility of passwords.

* etc/images/README: Mention the new images below.
* etc/images/conceal.pbm:
* etc/images/conceal.svg:
* etc/images/reveal.pbm:
* etc/images/reveal.svg: New images.

* lisp/simple.el (read-passwd--mode-line-buffer)
(read-passwd--mode-line-icon): New defvars.
(read-passwd--toggle-visibility, read-passwd-mode): New defuns.

* lisp/subr.el (read-passwd-map): Add 'TAB' binding.
(read-passwd--hide-password): New defvar.
(read-passwd--hide-password): Rename function from
`read-password--hide-password'.  Adapt callees.  Implement both
hiding and showing the password.  (Bug#69237)
(read-passwd): Call `read-passwd-mode'.
2024-02-25 10:06:09 +01:00
..
custom ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ezimage ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
gnus ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
gud ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
icons ; Update copyright years in more files 2024-01-02 10:17:39 +08:00
low-color
mail
mpc ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
newsticker ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
smilies ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
symbols ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
tabs ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tree-widget ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
alt.pbm Implement a tool bar containing modifier keys 2023-07-04 16:40:20 +08:00
attach.pbm
attach.xpm
back-arrow.pbm
back-arrow.xpm
bookmark_add.pbm
bookmark_add.xpm
cancel.pbm
cancel.xpm
checkbox-mixed.svg Work around librsvg bug (bug#47074) 2021-04-04 14:26:07 +01:00
checked.svg Work around librsvg bug (bug#47074) 2021-04-04 14:26:07 +01:00
checked.xpm Standardize XPM files 2022-09-28 12:36:42 +02:00
close.pbm
close.xpm
commit.pbm Introduce a toolbar for Log Edit mode 2023-12-24 15:23:38 +08:00
commit.xpm Introduce a toolbar for Log Edit mode 2023-12-24 15:23:38 +08:00
conceal.pbm 'read-passwd' can toggle the visibility of passwords 2024-02-25 10:06:09 +01:00
conceal.svg 'read-passwd' can toggle the visibility of passwords 2024-02-25 10:06:09 +01:00
connect-to-url.pbm Add new tool-bar items to xwidget-webkit 2021-11-07 02:59:41 +01:00
connect-to-url.xpm Add new tool-bar items to xwidget-webkit 2021-11-07 02:59:41 +01:00
connect.pbm
connect.xpm
contact.pbm
contact.xpm
copy.pbm
copy.xpm
ctrl.pbm Implement a tool bar containing modifier keys 2023-07-04 16:40:20 +08:00
cut.pbm
cut.xpm
data-save.pbm
data-save.xpm
delete.pbm
delete.xpm
describe.pbm
describe.xpm
diropen.pbm
diropen.xpm
disconnect.pbm
disconnect.xpm
down.svg Use current face foreground for SVG icons in customize 2021-11-04 10:06:57 +02:00
exit.pbm
exit.xpm
fwd-arrow.pbm
fwd-arrow.xpm
gen-changelog.pbm Introduce a toolbar for Log Edit mode 2023-12-24 15:23:38 +08:00
gen-changelog.xpm Introduce a toolbar for Log Edit mode 2023-12-24 15:23:38 +08:00
gnus.pbm
help.pbm
help.xpm
home.pbm
home.xpm
hyper.pbm Implement a tool bar containing modifier keys 2023-07-04 16:40:20 +08:00
index.pbm
index.xpm
info.pbm
info.xpm
ins-changelog.pbm Introduce a toolbar for Log Edit mode 2023-12-24 15:23:38 +08:00
ins-changelog.xpm Introduce a toolbar for Log Edit mode 2023-12-24 15:23:38 +08:00
jump-to.pbm
jump-to.xpm
last-page.pbm Add a Doc View tool bar 2023-07-13 19:19:57 +08:00
last-page.xpm Add a Doc View tool bar 2023-07-13 19:19:57 +08:00
left-arrow.pbm
left-arrow.xpm
left.svg Use current face foreground for SVG icons in customize 2021-11-04 10:06:57 +02:00
letter.pbm
letter.xpm
load-changelog.pbm Introduce a toolbar for Log Edit mode 2023-12-24 15:23:38 +08:00
load-changelog.xpm Introduce a toolbar for Log Edit mode 2023-12-24 15:23:38 +08:00
lock-broken.pbm
lock-broken.xpm
lock-ok.pbm
lock-ok.xpm
lock.pbm
lock.xpm
meta.pbm Implement a tool bar containing modifier keys 2023-07-04 16:40:20 +08:00
mh-logo.pbm
mh-logo.xpm Standardize XPM files 2022-09-28 12:36:42 +02:00
new.pbm
new.xpm
next-node.pbm
next-node.xpm
next-page.pbm
next-page.xpm
open.pbm
open.xpm
outline-close.pbm Add portable versions of the outline SVGs 2022-09-16 15:45:36 +08:00
outline-close.svg Add outline open/close images (bug#57813) 2022-09-16 10:09:20 +03:00
outline-open.pbm Add portable versions of the outline SVGs 2022-09-16 15:45:36 +08:00
outline-open.svg Add outline open/close images (bug#57813) 2022-09-16 10:09:20 +03:00
paste.pbm
paste.xpm
preferences.pbm
preferences.xpm
prev-node.pbm
prev-node.xpm
print.pbm
print.xpm
radio-checked.svg Work around librsvg bug (bug#47074) 2021-04-04 14:26:07 +01:00
radio-mixed.svg Work around librsvg bug (bug#47074) 2021-04-04 14:26:07 +01:00
radio.svg Make new SVG widgets match character height (bug#47074) 2021-04-03 23:23:54 +01:00
README 'read-passwd' can toggle the visibility of passwords 2024-02-25 10:06:09 +01:00
redo.pbm
redo.xpm
refresh.pbm
refresh.xpm
reveal.pbm 'read-passwd' can toggle the visibility of passwords 2024-02-25 10:06:09 +01:00
reveal.svg 'read-passwd' can toggle the visibility of passwords 2024-02-25 10:06:09 +01:00
right-arrow.pbm
right-arrow.xpm
right.svg Use current face foreground for SVG icons in customize 2021-11-04 10:06:57 +02:00
save.pbm
save.xpm
saveas.pbm
saveas.xpm
search-replace.pbm
search-replace.xpm
search.pbm
search.xpm
separator.pbm
separator.xpm
shift.pbm Update Android port 2023-07-07 10:00:56 +08:00
show.pbm
show.xpm
sort-ascending.pbm
sort-ascending.xpm
sort-column-ascending.pbm
sort-column-ascending.xpm
sort-criteria.pbm
sort-criteria.xpm
sort-descending.pbm
sort-descending.xpm
sort-row-ascending.pbm
sort-row-ascending.xpm
spell.pbm
spell.xpm
splash.bmp
splash.pbm
splash.png
splash.svg ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
splash.xpm
super.pbm Implement a tool bar containing modifier keys 2023-07-04 16:40:20 +08:00
unchecked.pbm
unchecked.svg Work around librsvg bug (bug#47074) 2021-04-04 14:26:07 +01:00
unchecked.xpm Standardize XPM files 2022-09-28 12:36:42 +02:00
undo.pbm
undo.xpm
up-arrow.pbm
up-arrow.xpm
up-node.pbm
up-node.xpm
up.svg Use current face foreground for SVG icons in customize 2021-11-04 10:06:57 +02:00
view-diff.pbm Introduce a toolbar for Log Edit mode 2023-12-24 15:23:38 +08:00
view-diff.xpm Introduce a toolbar for Log Edit mode 2023-12-24 15:23:38 +08:00
zoom-in.pbm
zoom-in.xpm
zoom-out.pbm
zoom-out.xpm

* The default GTK icons were not overridden by the GNOME theme due to
  a bug which was fixed in GNOME 2.15. Once GNOME 2.16 is in wide
  circulation, the GTK icons should be replaced with the equivalent
  GNOME icons.

* Recipe for Creating PBM Versions

1. Edit .xpm image in GIMP.
2. Image > Mode > Indexed. Check Use Black/White Palette and No
   Color Dithering.
3. File > Save As file.xbm.
4. Run xbmtopbm < file.xbm > file.pbm.

Thanks to jan.h.d@swipnet.se for the help.

Alternatively, run 'convert' from ImageMagick:

  convert file.xpm file.pbm


COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

* The following icons are part of Emacs.  All are licensed under the
  GNU General Public License version 3 (see COPYING) or later.
  The xpm and svg files contain copyright and license information, but
  it is reproduced here for convenience.

File: mh-logo.xpm
  Author: Satyaki Das
  Copyright (C) 2003-2024 Free Software Foundation, Inc.

Files: gnus.pbm
  Author: Luis Fernandes <elf@ee.ryerson.ca>
  Copyright (C) 2001-2024 Free Software Foundation, Inc.

Files: splash.png, splash.svg, splash.pbm, splash.xpm
  Author: Francesc Rocher <francesc.rocher@gmail.com>
  Copyright (C) 2008-2024 Free Software Foundation, Inc.

Files: checked.xpm, unchecked.xpm
  Author: Chong Yidong <cyd@stupidchicken.com>
  Copyright (C) 2010-2024 Free Software Foundation, Inc.


* The following icons are from GTK+ 2.x. They are not part of Emacs, but
are distributed and used by Emacs.  They are licensed under the
GNU Library General Public License version 2 or later.  See the source
of the gtk+ package for more information.

  close.xpm copy.xpm cut.xpm help.xpm home.xpm index.xpm info.pbm
  info.xpm jump-to.xpm left-arrow.xpm new.xpm open.xpm paste.xpm
  preferences.xpm print.xpm refresh.xpm right-arrow.xpm save.xpm
  saveas.xpm search.xpm sort-ascending.xpm sort-descending.xpm
  spell.xpm undo.xpm up-arrow.xpm

  back-arrow.xpm and fwd-arrow.xpm are slightly modified undo and redo.
  diropen.xpm is file-manager.png from Gnome hicolor theme.


* The following icons are from GNOME 2.x. They are not part of Emacs,
but are distributed and used by Emacs.  They are licensed under the
GNU General Public License version 2 or later.  See the source of
the gnome-icons-theme package for more information.

Emacs images and their source in the GNOME icons stock/ directory:

  attach.xpm                document/stock_attach
  bookmark_add.xpm          actions/bookmark_add
  cancel.xpm                slightly modified generic/stock_stop
  commit.xpm                code/stock_run
  connect-to-url.xpm        net/stock_connect-to-url
  connect.xpm               net/stock_connect
  contact.xpm               net/stock_contact
  data-save.xpm             data/stock_data-save
  delete.xpm                generic/stock_delete
  describe.xpm              generic/stock_properties
  disconnect.xpm            net/stock_disconnect
  exit.xpm                  generic/stock_exit
  gen-changelog.xpm         text/stock_autoformat
  ins-changelog.xpm         form/stock_show-form-dialog
  load-changelog.xpm        text/stock_insert_endnote
  lock-broken.xpm           data/stock_lock-broken
  lock-ok.xpm               data/stock_lock-ok
  lock.xpm                  data/stock_lock
  next-page.xpm             navigation/stock_next-page
  redo.xpm                  generic/stock_redo
  refresh.xpm               generic/stock_refresh
  search-replace.xpm        slightly modified generic/stock_search-and-replace
  separator.xpm             ?
  show.xpm                  slightly modified document/stock_new
  sort-ascending.xpm        slightly modified data/stock_sort-ascending
  sort-column-ascending.xpm data/stock_sort-column-ascending
  sort-criteria.xpm         data/stock_sort-criteria
  sort-descending.xpm       slightly modified data/stock_sort-descending
  sort-row-ascending.xpm    data/stock_sort-row-ascending
  view-diff.xpm             text/stock_list_enum-restart
  zoom-in.xpm               navigation/stock_zoom-in
  zoom-out.xpm              navigation/stock_zoom-out

  next-node.xpm and prev-node.xpm are from gthumb version 2.0 (part of
  GNOME 2.x) where they are called next-image-24.png and prev-image-24.png.
  up-node.xpm is just next-node.xpm rotated 90 degrees.

  Some icons in the mail/ and gnus/ subdirectories are also taken
  from this source (see their separate README files).

The images in the low-color/ subdirectory are low-color versions of
the files of the same name in this directory, and are subject to the
same conditions.

The *.pbm files were generally converted from *.xpm by running GIMP or
ImageMagick's 'convert'.


* The following icons are from the Adwaita Icon Theme (made by the
GNOME project).  They are not part of Emacs, but are distributed and
used by Emacs.  They are licensed under either the GNU LGPL v3 or the
Creative Commons Attribution-Share Alike 3.0 United States License.

To view a copy of the CC-BY-SA license, visit
http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative
Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA.

For more information see the adwaita-icon-theme repository at:

    https://gitlab.gnome.org/GNOME/adwaita-icon-theme

Emacs images and their source in the Adwaita/symbolic directory:

  checked.svg               ui/checkbox-checked-symbolic.svg
  unchecked.svg             ui/checkbox-symbolic.svg
  checkbox-mixed.svg        ui/checkbox-mixed-symbolic.svg
  radio.svg                 ui/radio-symbolic.svg
  radio-mixed.svg           ui/radio-mixed-symbolic.svg
  radio-checked.svg         ui/radio-checked-symbolic.svg
  down.svg                  ui/pan-down-symbolic.svg
  left.svg                  ui/pan-start-symbolic.svg
  right.svg                 ui/pan-end-symbolic.svg
  up.svg                    ui/pan-up-symbolic.svg
  conceal.svg               actions/view-conceal-symbolic.svg
  reveal.svg                actions/view-reveal-symbolic.svg

conceal.pbm and reveal.pbm are generated from the respective *.svg
files, using the ImageMagick converter tool.