[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] comment-cache updated (de077da -> cecc25c)
From: |
Alan Mackenzie |
Subject: |
[Emacs-diffs] comment-cache updated (de077da -> cecc25c) |
Date: |
Fri, 23 Dec 2016 20:44:38 +0000 (UTC) |
acmacm pushed a change to branch comment-cache.
from de077da Merge branch 'master' into comment-cache
adds 68b3248 This introduces a thread-state object and moves various C
globals there. It also introduces #defines for these globals to avoid a
monster patch.
adds 2d525b7 This parameterizes the GC a bit to make it thread-ready.
adds 14b3dc5 This introduces the low-level system threading support.
It also adds the global lock. The low-level support is a bit over-eager, in
that even at the end of the present series, it will not all be used. I think
thiat is ok since I plan to use it all eventually -- in particular for the
emacs lisp mutex implementation.
adds e160922 This introduces some new functions to handle the specpdl.
The basic idea is that when a thread loses the interpreter lock, it will
unbind the bindings it has put in place. Then when a thread acquires the lock,
it will restore its bindings.
adds 60a9d2a This turns thread_state into a pseudovector and updates
various bits of Emacs to cope.
adds 1dcacbc This adds most of the thread features visible to emacs
lisp.
adds 51100bb This supplies the mutex implementation for Emacs Lisp.
adds fc196ac This adds some tests of the threading code.
adds 8d3566c This adds names to mutexes. This seemed like a nice
debugging extension.
adds dbb33d4 This adds thread-blocker, a function to examine what a
thread is blocked on. I thought this would be another nice debugging addition.
adds 0ccc5d8 fix a latent bug in process.c
adds aa14ccd1 Prepare process.c for threads by not having global select
masks. The next step is to make it so selects can choose fds by thread.
adds 6c0d5ae process changes
adds c26c683 add test case for I/O switching
adds abb9e9d declare unbind_for_thread_switch and
rebind_for_thread_switch in lisp.h
adds f52cfea write docstrings for the thread functions
adds b3c78ff refactor systhread.h
adds ee1464e comment fixes
adds 5651640 condition variables
adds 977c4aa use NILP
adds 3cbf5b1 ensure name of a mutex is a string
adds 9dad5e5 ensure name of a thread is a string
adds 1fb339b add condition-mutex and condition-name
adds 266c1c2 minor docstring fixup
adds b94de89 another docstring fixlet
adds 49bc1a9 Merge from trunk
adds fb77afb add convenience macros with-mutex and until-condition
adds 68608de pass the thread name to the OS if possible
adds 66ddd17 document process-thread and set-process-thread
adds c6bb874 rename condition-variablep to condition-variable-p
adds 0ec3764 first draft of threads documentation
adds c2283a7 document until-condition
adds 58c8e9a minor documentation updates
adds 09d7066 minor update to thread-join docs
adds e7c4e87 add tests for variable bindings
adds 599d4a9 fix test suite for condition-variable-p name change
adds 587dd92 cannot thread-join the current thread
adds 303324a link from thread docs to match data
adds bf69f52 merge from trunk
adds 3d6eced merge from trunk
adds 0e10ed2 Remove bit accidentally left over from the merge
adds 63d535c mention let bindings and lack of other ways to rewind
adds e078a23 merge from trunk
adds 6f4de08 merge from trunk
adds 71f9179 merge from trunk
adds 6bd488c merge from trunk
adds dad8121 fix process bugs
adds cbcba8c don't let kill-buffer kill a buffer if it is current in
any thread
adds 68359abb merge from trunk; clean up some issues
adds ac70709 update eval.c to make it build again after the merge
adds 313dfb6 fix a few latent issues in the thread patch
adds 5ccb7e7 merge from trunk
adds fbadec0 Fix a comment.
adds 1d10d04 remove unused field from struct thread_state
adds c60685a Don't call unbind_for_thread_switch in run_thread
adds 39d7c9d introduce thread_alive_p macro
adds 2efa60a unlink thread later
adds b09859f fix buglet in test case
adds e7b4d03 initialize saved_value
adds 9db4b98 avoid current_thread sometimes
adds 3bf8db9 avoid SAFE_ALLOCA
adds 32ca162 call init_primary_thread from init_threads
adds 0a6f2ff add assertion to flush_stack_call_func
adds 6dacdad merge from trunk
adds 65ddc9f fix xfree bug in run_thread
adds e6f6307 Use thread_alive_p in a couple more spots
adds b34a529 Merge from trunk
adds cc231cb merge from trunk
adds 6d75555 merge from trunk
adds 1ce4c63 fix up some merge errors in process.c
adds 793ea50 merge from trunk
adds 2ee7755 implement --enable-threads and a thread-less mode
adds c160274 use record_unwind_protect_void, avoid warning
adds 6e9fb70 Fix MS-Windows build.
adds 545af85 fix whitespace_regexp warning
adds 5b05b5a add a comment before flush_stack_call_func
adds 6a64a71 make thread_check_current_buffer return bool
adds c44fedc fix style of threadp, mutexp, and condition-variable-p
adds 07efb14 remove binding_symbol
adds 8c46d17 rename thread-blocker to thread--blocker
adds 4458614 zap until-condition
adds c1456e3 zap until-condition docs
adds 0e82377 use condition-notify in the docs, not condition-signal
adds dbe17fe Enable thread support in the MS-Windows build.
adds e57df8f Improve MS-Windows implementation of threads.
adds bed1087 Fix crashes when unbind_for_thread_switch signals an
error.
adds 7793601 change condition-variablep to condition-variable-p
adds 6a31219 * src/eval.c (unbind_for_thread_switch): Fix iteration
over the specpdl stack.
adds 39372e1 merge from trunk
adds 470e302 Fix the MS-Windows build
adds e7bde34 ; * src/systhread.c [WINDOWSNT]: Fix typos in comments.
adds de4624c Merge branch 'concurrency'
adds e4deba0 Fix merged code in process.c and eval.c.
adds 66a5abb Fix compilation problems.
adds 137898d Fix a typo in bytecode.c.
adds 8ad9241 Fix the test suite
adds 16ac7c0 Minimize spurious diffs from master.
adds fa7d1f0 Fix network streams.
adds 128cacd Add a NEWS entry.
adds 54f52a1 Fix compilation warnings
adds 3ef50c1 Fix subtle errors with let-binding of localized variables
adds ae49006 Fix compilation on Debian GNU/Linux
adds 7399f53 Fix compilation warnings due to prototype of thread_select
adds a708a5c Fix compilation error on Fedora 24
adds ad03e7a *src/sysdep.c: Fix a comment.
adds 19bc430 Documentation and commentary improvements
adds e4df093 Fix building with check-lisp-object-type
adds c364d62 Improve doc strings in thread.c
adds 828b456 Fix error messages in thread.c
adds 2412a1f Support concurrency in Emacs Lisp
adds 759415d ; Update file name in comment
adds 25a52ca ; Fix copyright years in new files
adds 2335b91 * Makefile.in (install-etc): Don't prepend $(DESTDIR) to
commands in system unit file.
adds 8d1b753 Minor shell-mode fix for zsh
adds 0107336 Add some sanity checking of defun arglist
adds ba8e883 Do not allow nil to be defined as a function
adds f37f93f Tweaks for message bogus address detection
adds 3fd4433 Revert earlier Ffset change
adds 3aa3f73 Mark default cperl abbrevs as system ones
adds 4aa6d4b Improve previous cperl-mode change
adds 595a4d6 ; Change maintainer comment Ref
http://debbugs.gnu.org/10934#23
adds c0cfe9b Clean up compile-tests.el
adds 9970816 Avoid aborts when a thread signals an error
adds 2783e0e Undo part of last change
adds a92a027 Quote filenames containing '~' in prompts
adds 184ed36 Strengthen conditions for resizing sibling windows
(Bug#25169)
adds 00d4ba2 Further improvements in Tramp's file name unquoting
adds a416e1d Fix point motion in cloned buffers
adds 825f4dd Avoid crashing if a new thread is signaled right away
adds 940df47 Make etags-tests work in out-of-tree builds
adds 61f8c23 Minor advice.el fix
adds ffb1302 Un-revert recent Ffset change
adds 3c65523 Obsolete gs.el
adds a41ded8 Use C99 syntax for font drivers
adds 27cada0 Move backtrace to ELisp using a new mapbacktrace primitive
adds 3e651e3 * build-aux/git-hooks/pre-commit: Add whitespace comment.
adds 8db7b65 Minor fix for define-derived-mode
adds f66174a Clean up var watcher disabling on thread switching
adds c78f872 Clarify thread-signal semantics
adds dc83303 * test/src/regex-resources/PTESTS: Convert to UTF-8.
adds bed0373 Replace image-dired-setup-dired-keybindings with a minor
mode
adds 86762eb Remove image-dired-kill-buffer-and-window
adds aacb20c More small fixes for image-dired
adds f25c8b3 Remove ispell.el pre-GNU Emacs comments
adds 8edf0eb Assume we have version<= for checking ispell version
adds a3ca97e Remove unused ispell-looking-back
adds 51d011d Remove tests for built-in functions
adds 028249e Generalise over-specific documentation
adds 3ac94b9 Remove some XEmacs-specific code from ispell.el
adds 854ed8a Assume Emacs supports [:alpha:] in regexps
adds c89dc9d Remove XEmacs and old Emacs highlighting code
adds ada717e Remove some commented-out code
adds ff5dedd Remove XEmacs-specific code from ispell.el
adds 8245e5b Remove XEmacs-specific code dealing with
enable-multibyte-characters
adds 6e88249 Remove XEmacs-specific horizontal scrollbar handling in
ispell.el
adds 8886f15 Remove XEmacs-specific minibuffer handling code from
ispell.el
adds b989c41 Remove remaining mentions of XEmacs from ispell.el
adds 8315d50 Remove support for old versions of supercite and GNUS
from ispell.el
adds 3affed0 Remove unused constant
adds db6e1f8 Remove support for ispell < 3.1.12
adds e1aa788 Remove boundp test for always-bound symbol
adds 8af9cb2 Remove meaningless defconst ispell-version
adds 6b5ac58 Remove XEmacs-specific ispell-with-no-warnings
adds 94834bd Remove unused variable
adds 97f327d Minor docstring and comment fixes to ispell.el
adds 9e6618b Remove support for aspell < 0.60 (from 2004)
adds c27b645 Replace ldefs-boot with a much smaller file
adds 51b2669 More image-dired polish
adds 44a77d3 Reset window scroll when displaying an image
adds 66ccc65 Update standard image-dired thumbnail location
adds 53e8d7f Recognize pngnq or pngnq-s9
adds 0c77bcb * lisp/image-mode.el (image-mode-winprops-alist): Add
docstring.
adds d0388bd * lisp/image-dired.el (image-dired-create-thumb): Create
parent directories.
adds 0a5898c * lisp/ibuf-macs.el (define-ibuffer-filter): Wrap ,@body
in a progn.
adds d381db2 Protect environment variables with double quotes in Tramp
adds acbe32a Check in tramp-tests.el, that environment variables are
set correctly
adds 09a66ce Fix circular list handling in seq-mapn
adds 4fbda46 Prevent crashes in xg_select due to concurrency
adds d79ff2a Fix some image-dired customization types
adds 214acb1 Inherit things from special-mode and image-mode
adds b22cb96 Don't abuse princ and spam messages
adds b80485f * emacs-document.svg: Append newline.
adds 5942af6 Merge from gnulib
adds 7ec55a1 Teach image-dired to also generate large thumbs
adds 9886239 * lisp/image-dired.el: Turn on lexical-binding.
adds f8a47b0 More image-dired refactoring
adds cdf5340 New commands image-scroll-left and image-scroll-right
adds fb2fdb1 Make seq-into return the sequence when no conversion
needed
adds b3cf281 Unbreak the MinGW build
adds 6bf8321 Be more selective clearing the image cache
adds 0757b4f Fix crashes on MS-Windows during dumping
adds 0390edc Fix comments
adds cfa2fb2 More tests for Tramp
adds 63f827a Remove XEmacs support from flyspell.el (Bug#25218)
adds 1a15d14 Fix spelling mistake in private defun name (Bug#25218)
adds b21a3e7 Use floor of mtime instead of rounding for thumb property
adds a7523ba Fix rx-any with range with ?\] and ?-
adds 15b3223 Bind new image-mode scroll commands in image-dired
adds 4b6baba Reinstate ispell character offset (bug#25219)
adds 5d1d00c Add a new compile error regexp for Clang includes
adds 516b4c3 Fix Bug#24980
adds 657bcaf avoid Eager macro-expansion failure: (void-function
string-to-list)
adds fe3188b Fix crashes upon C-g on Posix TTY frames
adds 504e384 Improve default load-path for uninstalled CANNOT_DUMP
builds
adds 85aebc1 Protect change of window's buffer in vertical-motion
against unwinds (bug#25209)
adds 36b9973 Implement asynchronous thumbnail generation in image-dired
adds 5c26640 Recognize graphicsmagick in image-dired
adds f8072cd Update NEWS
adds 35aaa6b ibuffer: New filters and commands
adds 15817f4 files-test-read-file-in-: Delete temporary dir on exit
adds 221d3a9 ; Revert "Recognize graphicsmagick in image-dired"
adds 8661313 Remove gateway methods in Tramp
adds cf6ce9a Port dumping better to WSL
adds a6063ff * src/data.c (Fmake_variable_frame_local): Remove
adds 0a5b6e2 Fix aborts in GC under GC_CHECK_MARKED_OBJECTS
adds 7ca4396 * tex-mode.el (tex-compile-commands): Add luatex and
xetex commands
adds acd65a7 Keep default CASECHARS/NOT-CASECHARS for ispell built-in
dictionaries
adds de06710 Use completion-at-point in verilog-mode
adds 3ec1503 ; * test/lisp/buff-menu-tests.el: Fix typo in the header.
adds 5fcc777 Fix last change with thread marking under
GC_CHECK_MARKED_OBJECTS
adds b10bd71 Pacify --enable-gcc-warnings
adds 7334982 ; Spelling fixes
adds a978d30 ; Remove mention of gm
adds c4e3858 Avoid aborts due to unaligned byte stack of threads
adds 831bef1 * test/lisp/net/tramp-tests.el (tramp--test-check-files):
Make it robust.
adds 6eaadcc Treat incomplete integer literals as errors
adds eff901b Prevent infloops in redisplay due to truncate-lines and
overlays
new 441e3b7 Merge branch 'master' into comment-cache
new cecc25c Handle changes to the syntax table in the comment-cache
branch.
Summary of changes:
.gitignore | 1 +
ChangeLog.2 | 2 +-
Makefile.in | 23 +-
admin/gitmerge.el | 2 +-
admin/ldefs-clean.el | 63 ++
admin/make-tarball.txt | 4 +-
admin/notes/copyright | 6 +-
admin/update_autogen | 19 +-
build-aux/git-hooks/pre-commit | 8 +
configure.ac | 22 +-
doc/emacs/programs.texi | 90 +-
doc/lispref/Makefile.in | 1 +
doc/lispref/debugging.texi | 23 +-
doc/lispref/display.texi | 32 +-
doc/lispref/elisp.texi | 12 +-
doc/lispref/objects.texi | 89 +-
doc/lispref/processes.texi | 30 +
doc/lispref/streams.texi | 2 +-
doc/lispref/threads.texi | 253 +++++
doc/lispref/variables.texi | 2 +-
doc/misc/tramp.texi | 139 ++-
etc/DEBUG | 2 +-
etc/NEWS | 84 ++
.../hicolor/scalable/mimetypes/emacs-document.svg | 2 +-
lib/fpending.c | 32 +-
lib/gnulib.mk | 2 +-
lib/stdio-impl.h | 140 +++
lib/xalloc-oversized.h | 33 +-
lisp/Makefile.in | 6 +-
lisp/bookmark.el | 2 +-
lisp/cedet/mode-local.el | 2 +-
lisp/cedet/semantic/db-global.el | 2 +-
lisp/cus-dep.el | 2 +-
lisp/emacs-lisp/advice.el | 2 +-
lisp/emacs-lisp/byte-run.el | 5 +
lisp/emacs-lisp/debug.el | 11 +-
lisp/emacs-lisp/derived.el | 11 +-
lisp/emacs-lisp/edebug.el | 3 +-
lisp/emacs-lisp/elint.el | 2 +-
lisp/emacs-lisp/rx.el | 2 +-
lisp/emacs-lisp/seq.el | 27 +-
lisp/finder.el | 4 +-
lisp/gnus/message.el | 8 +-
lisp/help-fns.el | 2 -
lisp/ibuf-ext.el | 347 +++++--
lisp/ibuf-macs.el | 2 +-
lisp/ibuffer.el | 55 +-
lisp/ido.el | 2 +-
lisp/image-dired.el | 796 ++++++++-------
lisp/image-mode.el | 49 +-
lisp/ldefs-boot-auto.el | 125 +++
lisp/ldefs-boot-manual.el | 19 +
lisp/loadup.el | 25 +-
lisp/minibuffer.el | 25 +-
lisp/net/tramp-adb.el | 105 +-
lisp/net/tramp-gvfs.el | 7 +-
lisp/net/tramp-gw.el | 339 -------
lisp/net/tramp-sh.el | 138 +--
lisp/net/tramp-smb.el | 6 +-
lisp/net/tramp.el | 50 +-
lisp/{ => obsolete}/gs.el | 5 +-
lisp/progmodes/compile.el | 9 +-
lisp/progmodes/cperl-mode.el | 48 +-
lisp/progmodes/verilog-mode.el | 73 +-
lisp/shell.el | 1 +
lisp/subr.el | 62 +-
lisp/textmodes/flyspell.el | 121 +--
lisp/textmodes/ispell.el | 513 ++--------
lisp/textmodes/tex-mode.el | 14 +-
lisp/vc/diff-mode.el | 2 +-
lisp/vc/ediff-init.el | 2 +-
lisp/vc/ediff-ptch.el | 8 +-
lisp/window.el | 4 +-
m4/fpending.m4 | 67 +-
m4/gnulib-comp.m4 | 2 +-
msdos/mainmake.v2 | 2 +-
nt/gnulib.mk | 2 +-
nt/inc/sys/socket.h | 1 +
src/.gdbinit | 15 +
src/ChangeLog.13 | 2 +-
src/ChangeLog.3 | 2 +-
src/Makefile.in | 5 +
src/alloc.c | 116 ++-
src/buffer.c | 19 +-
src/buffer.h | 5 +-
src/bytecode.c | 203 +++-
src/charset.c | 2 +-
src/chartab.c | 63 +-
src/coding.c | 6 +-
src/data.c | 221 ++---
src/emacs.c | 21 +-
src/eval.c | 434 +++++----
src/frame.c | 32 +-
src/ftcrfont.c | 36 +-
src/ftfont.c | 34 +-
src/ftxfont.c | 38 +-
src/indent.c | 32 +-
src/keyboard.c | 6 +-
src/keyboard.h | 3 -
src/lisp.h | 194 ++--
src/lread.c | 8 +-
src/macfont.m | 30 +-
src/nsfont.m | 24 +-
src/print.c | 36 +
src/process.c | 552 +++++++----
src/process.h | 5 +
src/regex.c | 6 -
src/regex.h | 8 +-
src/search.c | 22 +-
src/syntax.c | 738 ++++++--------
src/sysdep.c | 39 +-
src/syssignal.h | 2 +
src/systhread.c | 417 ++++++++
src/systhread.h | 112 +++
src/thread.c | 1012 ++++++++++++++++++++
src/thread.h | 250 +++++
src/unexw32.c | 1 +
src/w32.c | 2 +-
src/w32proc.c | 8 +-
src/w32select.c | 1 -
src/widget.c | 10 -
src/window.c | 10 +-
src/xdisp.c | 11 +
src/xfont.c | 26 +-
src/xftfont.c | 46 +-
src/xgselect.c | 14 +-
test/lisp/buff-menu-tests.el | 2 +-
.../{shell-tests.el => emacs-lisp/rx-tests.el} | 26 +-
test/lisp/emacs-lisp/seq-tests.el | 13 +
test/lisp/files-tests.el | 23 +
test/lisp/ibuffer-tests.el | 667 ++++++++++++-
test/lisp/net/tramp-tests.el | 126 ++-
test/lisp/progmodes/compile-tests.el | 71 +-
test/lisp/progmodes/etags-tests.el | 14 +-
test/lisp/subr-tests.el | 47 +
test/lisp/vc/vc-tests.el | 2 +-
test/src/data-tests.el | 80 ++
test/src/lread-tests.el | 8 +
test/src/regex-resources/PTESTS | 542 +++++------
test/src/thread-tests.el | 247 +++++
140 files changed, 7448 insertions(+), 3534 deletions(-)
create mode 100644 admin/ldefs-clean.el
create mode 100644 doc/lispref/threads.texi
create mode 100644 lib/stdio-impl.h
create mode 100644 lisp/ldefs-boot-auto.el
create mode 100644 lisp/ldefs-boot-manual.el
delete mode 100644 lisp/net/tramp-gw.el
rename lisp/{ => obsolete}/gs.el (97%)
create mode 100644 src/systhread.c
create mode 100644 src/systhread.h
create mode 100644 src/thread.c
create mode 100644 src/thread.h
copy test/lisp/{shell-tests.el => emacs-lisp/rx-tests.el} (55%)
create mode 100644 test/src/thread-tests.el
- [Emacs-diffs] comment-cache updated (de077da -> cecc25c),
Alan Mackenzie <=