1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

153322 Commits

Author SHA1 Message Date
Stefan Kangas
ad125a9927 Merge from origin/emacs-28
efb1c7ec37 ; * admin/notes/years: More known problems.
f475c5823a ; Copyright year fixes
2684def348 ; Run set-copyright from admin.el
2558b37b5e ; * admin/notes/years: Mention known problems with 'update...
2022-01-02 06:31:44 +01:00
Po Lu
96212e1a27 Fix XRegisterIMInstantiateCallback function argument configure test
* configure.ac: Use XIDProc where XIMProc was mistakenly used.
2022-01-02 11:02:49 +08:00
Po Lu
a6952f78f3 Stop sending touch-end events if coalescing scroll events
* src/xterm.c (handle_one_xevent): Don't generate touch-end
events if mwheel_coalesce_scroll_events is non-nil.
2022-01-02 11:02:02 +08:00
Po Lu
5bdf413b19 Fix mouse face problems when moving between two frames on Haiku
* src/haiku_support.cc (movement_locker): New locker.
(MouseMoved): Lock that locker.
(BWindow_new):
(BWindow_quit): Use LockLooper instead of Lock.

* src/haikuterm.c (haiku_read_socket): Clear mouse face if
a motion event is received for a frame other than the one
that is currently displaying the mouse face.
2022-01-02 02:37:21 +00:00
Po Lu
af729b1dfd Make quitting actually work in Haiku file dialogs
* src/haiku_support.h: (be_popup_file_dialog)
* src/haiku_support.cc (be_popup_file_dialog): New parameter
`maybe_quit_function'.
* src/haikufns.c (Fhaiku_read_file_name): Pass `maybe_quit' as
the maybe_quit_function.
2022-01-02 00:43:54 +00:00
Eli Zaretskii
efb1c7ec37 ; * admin/notes/years: More known problems. 2022-01-01 22:21:46 +02:00
Glenn Morris
f475c5823a ; Copyright year fixes 2022-01-01 10:02:17 -08:00
Glenn Morris
2684def348 ; Run set-copyright from admin.el 2022-01-01 09:52:06 -08:00
Eli Zaretskii
2558b37b5e ; * admin/notes/years: Mention known problems with 'update-copyright'. 2022-01-01 17:11:32 +02:00
Eli Zaretskii
1d3020908b Merge from origin/emacs-28
58b0ada20b Update more copyright years
2022-01-01 08:38:36 -05:00
Stefan Kangas
31fefef4a2 elide-head: Support more licenses
* lisp/elide-head.el (elide-head-headers-to-hide): Add support for the
Expat License, and more variants of the BSD-2-Clause License.

Add old FSF address.  This fixes a bug reported in 2003:
https://lists.gnu.org/r/bug-gnu-emacs/2003-01/msg00142.html
2022-01-01 14:26:39 +01:00
Eli Zaretskii
58b0ada20b Update more copyright years
* etc/tutorials/TUTORIAL.he (זכויות שימוש):
* config.bat: Update Copyright years.
2022-01-01 14:20:37 +02:00
Eli Zaretskii
823b6b8d26 ; Add 2022 to copyright years. 2022-01-01 07:07:15 -05:00
Eli Zaretskii
dcd76bd48d Merge from origin/emacs-28
836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year.
86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year
ebe8772f65 ; Minor fixes related to copyright years
23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye...
8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t.
19dcb237b5 ; Add 2022 to copyright years.

# Conflicts:
#	etc/NEWS
#	etc/refcards/ru-refcard.tex
#	lib/cdefs.h
#	lisp/erc/erc-dcc.el
#	lisp/erc/erc-imenu.el
#	lisp/erc/erc-replace.el
#	lisp/image-dired.el
#	lisp/progmodes/xref.el
#	m4/alloca.m4
#	m4/byteswap.m4
#	m4/errno_h.m4
#	m4/getopt.m4
#	m4/gnulib-common.m4
#	m4/inttypes.m4
#	m4/stddef_h.m4
#	m4/stdint.m4
#	m4/sys_socket_h.m4
2022-01-01 07:03:03 -05:00
Eli Zaretskii
84a8f656d3 ; Merge from origin/emacs-28
The following commit was skipped:

8a08af20a8 ; Auto-commit of loaddefs files.
2022-01-01 06:51:57 -05:00
Eli Zaretskii
836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 2022-01-01 13:43:00 +02:00
Po Lu
4dce09db18 Increase size of precision scrolling momentum ring
* lisp/pixel-scroll.el
(pixel-scroll-precision-initial-velocity-factor): Fix
calculation of last timestamp.
(pixel-scroll-precision):
(pixel-scroll-kinetic-state):
(pixel-scroll-accumulate-velocity):
(pixel-scroll-start-momentum):
(pixel-scroll-calculate-velocity): Increase default ring size
to 30.
2022-01-01 19:35:12 +08:00
Michael Albinus
86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year 2022-01-01 12:22:15 +01:00
Eli Zaretskii
ebe8772f65 ; Minor fixes related to copyright years
* admin/notes/years: Advise redirecting output of update-copyright
to a file.

* etc/refcards/gnus-refcard.tex (Copyright): Update years.
2022-01-01 13:01:44 +02:00
Po Lu
748e670d5d Make last change compile
* src/haiku_support.cc (EmacsShow): Fix last change.
(TearDownDoubleBuffering): Likewise.
(Draw): Draw normally if not double buffered even if shown_flag
is true.
2022-01-01 10:29:44 +00:00
Po Lu
141a06334e Fix expose events in non-double-buffered child frames on Haiku
* src/haiku_support.cc (EmacsShow): Set shown_flag to 1 only if
this view is double buffered.
(TearDownDoubleBuffering): Clear shown_flag.
2022-01-01 10:24:38 +00:00
Eli Zaretskii
23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright years change. 2022-01-01 05:19:17 -05:00
Zhehao Lin
8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t.
Copyright-paperwork-exempt: yes
2022-01-01 11:57:42 +02:00
Po Lu
ab3c6c799e Fix some more off-by-one errors in Haiku image code
* src/haiku_draw_support.cc (BView_DrawBitmapWithEraseOp):
(BView_DrawMask):
(BBitmap_transform_bitmap):
* src/haiku_support.cc (AttachCairoSurface): Adjust calculations
to take account of BRect width and height functions returning
(start - end) instead of the actual width and height of the
rectangle.
2022-01-01 09:56:14 +00:00
Po Lu
c6d83707d6 Fix deadlocks with invisible frames and threads in Haiku
* src/haiku_support.cc (class EmacsWindow): New field
`was_shown_p'.
(EmacsShow): Lock looper if the window wasn't ever visible.
(BWindow_new): Unlock window looper after creating it.
2022-01-01 09:33:15 +00:00
Eli Zaretskii
19dcb237b5 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
Po Lu
a27511ff2f Set display last user time when handling pinch events
* src/xterm.c (handle_one_xevent): Set last user time for XI
pinch events.
2022-01-01 15:23:55 +08:00
Po Lu
cbc77dcf03 Fix child frame synchronization order on Haiku
* src/haiku_support.cc (DoMove):
(FrameMoved): Fix locking and sync order semantics.
2022-01-01 07:10:39 +00:00
Stefan Kangas
c7e642bab2 ; Auto-commit of loaddefs files. 2022-01-01 07:25:56 +01:00
Po Lu
376d6cf36a Implement numeric values of `mouse-highlight' on Haiku
* src/haikuterm.c (haiku_read_socket): Clear mouse face on
keyboard input if `mouse-highlight' is a fixnum.
2022-01-01 06:17:51 +00:00
Stefan Kangas
8a08af20a8 ; Auto-commit of loaddefs files. 2022-01-01 07:14:35 +01:00
Stefan Kangas
e7f25b95f4 Update publicsuffix.txt from upstream
* etc/publicsuffix.txt: Update from
https://publicsuffix.org/list/public_suffix_list.dat
dated 2021-12-31 02:56:06 UTC.
2022-01-01 06:56:33 +01:00
Stefan Kangas
78066671c0 Merge from origin/emacs-28
67400da412 Improve doc strings of fringe indicator variables
a6adfe21e4 * lisp/tab-line.el (tab-line--get-tab-property): New funct...
2022-01-01 06:51:58 +01:00
Stefan Kangas
48bd406793 ; Merge from origin/emacs-28
The following commit was skipped:

89f205084b Avoid assertion violations with variable-weight fonts
2022-01-01 06:51:58 +01:00
Stefan Kangas
1d92f6094c Merge from origin/emacs-28
f2031d0ddb Minor improvement in user documentation of completion style
1e3076e2db Fix bug where bookmark-jump used (point), not (point-at-bol)
2022-01-01 06:51:56 +01:00
Po Lu
57753ed761 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2022-01-01 05:36:23 +00:00
Po Lu
d7e1ed17d9 Flush frames after mouse face is cleared on a child frame in Haiku
* src/haiku_support.cc (~EmacsWindow):
(UpwardsSubsetChildren):
(UpwardsUnSubsetChildren): Fix locking semantics.

* src/haikuterm.c (haiku_read_socket): Flush dirty back buffers
after clearing mouse face because the pointer was moved out of a
frame.
2022-01-01 05:32:42 +00:00
Po Lu
4d1968b4c9 Print dead xwidgets specially
* src/print.c (print_vectorlike) <PVEC_XWIDGET>: Print "killed
xwidget" for dead xwidgets.
2022-01-01 08:54:51 +08:00
Eli Zaretskii
67400da412 Improve doc strings of fringe indicator variables
* src/buffer.c (syms_of_buffer): Fix doc strings of
'indicate-empty-lines' and 'indicate-buffer-boundaries'.
2021-12-31 21:58:42 +02:00
Stefan Kangas
4521a3a19c Use defvar-keymap in play/*.el
* lisp/play/5x5.el (5x5-mode-map):
* lisp/play/blackbox.el (blackbox-mode-map):
* lisp/play/bubbles.el (bubbles-mode-map):
* lisp/play/decipher.el (decipher-mode-map):
* lisp/play/doctor.el (doctor-mode-map):
* lisp/play/gametree.el (gametree-mode-map):
* lisp/play/gomoku.el (gomoku-mode-map):
* lisp/play/mpuz.el (mpuz-mode-map):
* lisp/play/pong.el (pong-mode-map):
* lisp/play/solitaire.el (solitaire-mode-map): Use defvar-keymap.
2021-12-31 17:17:16 +01:00
Lars Ingebrigtsen
c09fcb8f07 `make-finalizer' now has to be called with a function, so adjust test 2021-12-31 16:50:50 +01:00
Michael Albinus
db0cab990c Documentation update for Secret Service
* doc/misc/auth.texi (Secret Service API): Precise "session" collection.

* lisp/auth-source.el (auth-sources): Adapt custom label.

* lisp/net/secrets.el: Adjust comments.
2021-12-31 14:36:49 +01:00
Po Lu
1f34f072be Fix copyright dates in some files belonging to the pgtk port
* src/pgtkgui.h:
* src/pgtkim.c:
* src/pgtkmenu.c:
* src/pgtkselect.c:
* src/pgtkselect.h:
* src/pgtkterm.c:
* src/pgtkterm.h: Fix copyright dates to say '2021'.
2021-12-31 21:08:23 +08:00
Po Lu
7dd4dc6ace On Haiku, sync a frames's connection to the app sever after raising
* src/haiku_support.h: (BWindow_sync)
* src/haiku_support.cc (BWindow_sync): New function.
* src/haikuterm.c (haiku_frame_raise_lower): Synchronize window
after raising it to avoid situations where raising windows is
done out-of-order, such as when ediff raises a frame.
2021-12-31 13:03:07 +00:00
Po Lu
a8c3e8e2a6 Fix child frame unlinking on Haiku
* src/haiku_support.cc (UnlinkChild): Fix obvious mistake.
(DoMove): Lock child frame window before moving it.
2021-12-31 10:59:53 +00:00
Po Lu
eab422a653 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2021-12-31 09:38:41 +00:00
Po Lu
d1fde0ab8a Use a single global lock for the child frame state on Haiku
Each BWindows (and various system callbacks) runs in a separate
thread, so there are very complicated locking semantics that
used to be handled manually.  This changes child frame state to
use a single global lock, which makes things much easier.

* src/haiku_support.cc (child_frame_lock): New variable.
(class EmacsWindow):
(~EmacsWindow):
(Unparent):
(ParentTo):
(MoveChild):
(FrameMoved):
(EmacsHide):
(EmacsShow):
(GetParentWidthHeight):
(OffsetChildRect):
(MakeFullscreen):
(SetUpDoubleBuffering): Use a single lock for controlling access
to child frame state.
2021-12-31 09:31:27 +00:00
Stephen Berman
95ee6e8b90 Fix handling of webkit xwidget bookmarks
Make jumping to a bookmarked webkit xwidget in another window or
another frame show the xwidget only in that window or frame and
refactor new session code used by the bookmark code (bug#52856).
In addition, make xwidget-webkit-clone-* commands work.

* lisp/xwidget.el (xwidget-webkit-clone-and-split-below)
(xwidget-webkit-clone-and-split-right): Unbreak these functions by
passing just the URL to them, not the message displaying it.
(xwidget-webkit-bookmark-jump-new-session): Adjust doc string,
rephrasing and removing a customization suggestion that cannot
take effect.
(xwidget-webkit-bookmark-jump-handler): New autoloaded function.
(xwidget-webkit-bookmark-make-record): Use it.
(xwidget-webkit--create-new-session-buffer): New function
extracted from `xwidget-webkit-new-session'.
(xwidget-webkit-new-session): Use it.
2021-12-31 10:25:52 +01:00
Juri Linkov
a6adfe21e4 * lisp/tab-line.el (tab-line--get-tab-property): New function (bug#52881).
(tab-line-auto-hscroll): Use ‘tab-line--get-tab-property’ instead of
‘get-pos-property 1’, and ‘get-text-property’ instead of
‘get-pos-property’.
(tab-line-select-tab, tab-line-close-tab): Use tab-line--get-tab-property.
2021-12-31 11:20:51 +02:00
Eli Zaretskii
0922634b28 Minor improvements of 'lisp-directory' docs
* lisp/startup.el (lisp-directory):
* etc/NEWS:
* doc/lispref/loading.texi (Library Search): Improve wording of
documentation of 'lisp-directory' and related features.
2021-12-31 10:56:28 +02:00