Eli Zaretskii
6e53178a37
Avoid inflooping when 'tab-bar-format' includes embedded newlines
...
* src/xdisp.c (tab_bar_height, redisplay_tab_bar): Support
'tab-bar-format' with embedded newlines. (Bug#52947)
2022-01-02 21:36:13 +02:00
Stefan Kangas
9e7191048b
elide-head: Add support for modified BSD license
...
* lisp/elide-head.el (elide-head-headers-to-hide): Add support for
the modified BSD license (3-clause BSD).
2022-01-02 19:26:34 +01:00
Juri Linkov
83da3a09d0
* lisp/tab-line.el: Revert part of the fix in a6adfe21e4 (bug#52881)
...
(tab-line--get-tab-property, tab-line-auto-hscroll): Use get-pos-property
instead of get-text-property that fails after previous-single-property-change.
2022-01-02 20:00:40 +02:00
Stefan Kangas
984391a9dc
New :type key for defcustom
...
As compared to the old type key-sequence that deals with raw key
sequences, this :type conforms to the format used by the new keymap-*
functions.
* lisp/wid-edit.el (key): New widget type. (Bug#52523)
(widget-key-prompt-value-history): New variable.
(widget-key-validate): New function.
(key-sequence): Doc fix.
* doc/lispref/customize.texi (Simple Types): Document above new type.
2022-01-02 16:46:02 +01:00
Mattias Engdegård
b2167d9843
Don't fail flymake-tests if gcc actually is Clang
...
* test/lisp/progmodes/flymake-tests.el (flymake-tests--gcc-is-clang)
(different-diagnostic-types, included-c-header-files): Skip tests that
depend on the `gcc` command really being GCC and not Clang.
2022-01-02 13:59:07 +01:00
Po Lu
be6b9e4580
Add column width to tooltip frame width on pgtk
...
* src/pgtkfns.c (Fx_show_tip): Add column width to width to
avoid an odd problem in the GTK allocation code. (bug#52705)
2022-01-02 20:28:58 +08:00
Eli Zaretskii
b477cff35d
Clarify %g and %G time format specs
...
* src/timefns.c (Fformat_time_string):
* doc/lispref/os.texi (Time Parsing): Clarify %g/%G. (Bug#52934)
2022-01-02 09:30:15 +02:00
Stefan Monnier
9156e10927
(define-char-code-property): Workaround for bug#52945
...
* lisp/international/mule-cmds.el (define-char-code-property): Ignore
requests to re-setup lazy loading after the char-table is already loaded.
2022-01-02 02:25:55 -05:00
Po Lu
01615b24da
Fix mouse wheel scroll direction on pgtk
...
* src/pgtkterm.c (scroll_event): Fix scroll modifiers when
`mwheel-coalesce-scroll-events' is nil.
2022-01-02 15:14:16 +08:00
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