- 06 Mar, 2013 4 commits
-
-
Glenn Morris authored
-
Paul Eggert authored
* sysdep.c (list_system_processes): Make it a stub on all BSD_SYSTEM hosts, except for DARWIN_OS and FreeBSD where it's been tested. Fixes: debbugs:13881
-
Paul Eggert authored
-
Katsumi Yamaoka authored
lisp/gnus/nndir.el (nndir-request-list): Remove 2nd argument passed to nnml-request-list (Bug#13873)
-
- 05 Mar, 2013 18 commits
-
-
Dmitry Antipov authored
* xdisp.c (back_to_previous_line_start, forward_to_next_line_start) (get_visually_first_element, move_it_vertically_backward): Ajust users. * bidi.c (bidi_find_paragraph_start): Likewise. * indent.c (vmotion): Likewise.
-
Paul Eggert authored
* etc/NEWS: Document this. * nt/inc/unistd.h (O_NOFOLLOW): New macro. * src/filelock.c: Include <c-ctype.h>. (MAX_LFINFO): New top-level constant. (lock_info_type): Remove members pid, boot_time. Add members at, dot, colon. Change user member to be the entire buffer, not a pointer. This allows us to handle the case where a foreign pid or boot time exceeds the local range. All uses changed. (LINKS_MIGHT_NOT_WORK): New constant. (FREE_LOCK_INFO): Remove, as the pieces no longer need freeing. (defined_WINDOWSNT): Remove. (MAKE_LOCK_NAME, file_in_lock_file_name): Always use .#FILE (not .#-FILE) for the file lock, even if it is a regular file. (rename_lock_file): New function. (create_lock_file): Use it. (create_lock_file, read_lock_data): Prefer a symbolic link for the lock file, falling back on a regular file if symlinks don't work. Do not try to create symlinks on MS-Windows, due to security hassles. Stick with POSIXish functions (open, read, write, close, fchmod, readlink, symlink, link, rename, unlink, mkstemp) when creating locks, as a GNUish host may be using a Windowsish file system, and cannot use MS-Windows-only system calls. Fall back on mktemp if mkstemp doesn't work. Don't fail merely because of a symlink-contents length limit in the current file system; fall back on regular files. Increase the symlink contents length limit to 8 KiB, this should be big enough for any real use and doesn't crunch the stack. (create_lock_file, lock_file_1, read_lock_data): Simplify allocation of lock file buffers now that they fit in 8 KiB. (lock_file_1): Return error number, not bool. All callers changed. (ELOOP): New macro, if not already defined. (read_lock_data): Return size of lock file contents, not Lisp object. All callers changed. Handle a race condition if some other process replaces a regular-file lock with a symlink lock or vice versa, while we're trying to read the lock. (current_lock_owner): Parse contents more carefully, to help avoid confusing a regular-file lock with some other application's use of the file. Check for lock file contents being too long, or not parsing correctly. (current_lock_owner, lock_file): Allow foreign pid and boot times that exceed the local range. (current_lock_owner, lock_if_free, lock_file): Simplify allocation of lock file contents. * src/w32.c (sys_rename_replace): New function, containing most of the contents of the old sys_rename. (sys_rename): Use it. (fchmod): New dummy function. * src/w32.h (sys_rename_replace, fchmod): New decls. Fixes: debbugs:13807
-
Paul Eggert authored
* sysdep.c (list_system_processes) [__OpenBSD__ || __MirBSD__]: Make it a stub in this case; otherwise the build might fail, and even if the build worked the function would just return nil anyway. Problem reported by Nelson H. F. Beebe in <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html> and analyzed by Jérémie Courrèges-Anglas in <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00062.html>. Fixes: debbugs:13881
-
Eli Zaretskii authored
src/bidi.c (bidi_resolve_explicit_1): Don't call CHAR_TO_BYTE or bidi_count_bytes, as the callers now arrange for bidi_it->charpos to be in sync with bidi_it->bytepos. Suggested by Dmitry Antipov <dmantipov@yandex.ru>.
-
Paul Eggert authored
-
Paul Eggert authored
It can mess up 'configure' runs. Fixes: debbugs:13872
-
Paul Eggert authored
-
Michael Albinus authored
TRASH argument.
-
Paul Eggert authored
-
Dmitry Gutov authored
* lisp/minibuffer.el (completions-first-difference): State that the face is "added" in the docstring. (completions-common-part): Same. And don't inherit from default. (completion-hilit-commonality): Prepend 'completions-common-part and 'completion-first-difference faces to the 'face property, instead of replacing the value(s). (completion--insert-strings): Same with 'completions-annotations face. (completion-hilit-commonality): Use 'face instead of 'font-lock-face, because it gets priority if the completion strings already have 'face set. Fixes: debbugs:13250
-
Paul Eggert authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Paul Eggert authored
-
Paul Eggert authored
* sysdep.c (KERN_PROC, kinfo_proc) [BSD_SYSTEM && !KERN_PROC]: Define to KERN_PROC2 and kinfo_proc2, for OpenBSD 4.9. list-system-processes still returns nil, but at least it doesn't crash. Problem reported by Nelson H. F. Beebe in <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html>.
-
Dmitry Antipov authored
Use make_uninit_vector where appropriate. * font.c (Ffont_get_glyphs, build_style_table): Likewise. * xselect.c (clean_local_selection_data): Likewise.
-
- 04 Mar, 2013 10 commits
-
-
Alan Mackenzie authored
progmodes/cc-defs.el (c-last-command-char): New macro. progmodes/cc-align.el (c-semi&comma-inside-parenlist) (c-semi&comma-no-newlines-before-nonblanks) (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro in place of `last-command-event'. progmodes/cc-cmds.el (c-electric-pound, c-electric-brace) (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt) (c-electric-paren, c-electric-continued-statement): Use the new macro in place of `last-command-event'.
-
Paul Eggert authored
* image.c (imagemagick_load_image): Calculate height and width after flattening the image, not before. Fixes: debbugs:13846
-
Juanma Barranquero authored
(DATA_START, ORDINARY_LINK): Remove. (HAVE_DATA_START, HAVE__PUTENV): New macros.
-
Ted Phelps authored
lisp/gnus/shr.el: Make all the overlays set the `evaporate' property so that they're removed properly
-
Paul Eggert authored
With GNU Texinfo 5.0, this generates nicer-looking info files, since they can use curly quotes. With older Texinfo it doesn't matter.
-
Dmitry Antipov authored
* ftfont.c (ftfont_shape_by_flt): Likewise. * w32uniscribe.c (uniscribe_shape): Likewise.
-
Paul Eggert authored
-
Glenn Morris authored
Fixes: debbugs:13862
-
Paul Eggert authored
* admin/grammars/java-tags.wy (CHAR): Remove "('\u0000' to '\uffff')" from summary, as this causes javat-wy.el to contain both a null byte and a byte sequence that is not valid UTF-8, which is inconvenient. * lisp/cedet/semantic/wisent/javat-wy.el: Regenerate.
-
Paul Eggert authored
-
- 03 Mar, 2013 8 commits
-
-
Glenn Morris authored
-
Michael Albinus authored
devices by itself.
-
Michael Albinus authored
whether the "su" command is available on the device.
-
Paul Eggert authored
If there were a real need, it should be UTF-8 anyway.
-
Paul Eggert authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-