- 21 Jul, 2013 1 commit
-
-
Juanma Barranquero authored
(desktop--filter-iconified-position): New function. (desktop-filter-parameters-alist): Add entries for `top' and `left'.
-
- 20 Jul, 2013 13 commits
-
-
Glenn Morris authored
* lisp/image-dired.el (image-dired-track-original-file): Use with-current-buffer. (image-dired-track-thumbnail): Use with-current-buffer. Avoid changing point of wrong window.
-
Glenn Morris authored
* lisp/progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped): Let `message' do the formatting. (def-gdb-preempt-display-buffer): Add explicit format.
-
Glenn Morris authored
-
Glenn Morris authored
Avoid changing point of wrong window. Fixes: debbugs:14909
-
Andreas Schwab authored
change.
-
Paul Eggert authored
* configure.ac (PTY_TTY_NAME_SPRINTF): Use PTY_NAME_SIZE, not sizeof pty_name, since pty_name is now a pointer to the array. * src/process.c (PTY_NAME_SIZE): New constant. (pty_name): Remove static variable; it's now auto. (allocate_pty): Define even if !HAVE_PTYS; that's simpler. Take pty_name as an arg rather than using a static variable. All callers changed. (create_process): Recover pty_flag from process, not from volatile local. (create_pty): Stay inside array even when pty allocation fails. (Fmake_serial_process): Omit unnecessary initializaiton of pty_flag.
-
Paul Eggert authored
Mention that it's needed only for older GCCs.
-
Kenichi Handa authored
-
Kenichi Handa authored
-
Kenichi Handa authored
-
Andreas Schwab authored
-
Kenichi Handa authored
(decode_coding_iso_2022): Check the single-shift area. (Bug#8522)
-
Kenichi Handa authored
-
- 19 Jul, 2013 16 commits
-
-
Paul Eggert authored
* filelock.c (create_lock_file) [!O_CLOEXEC]: Use fcntl with FD_CLOEXEC. (create_lock_file): Use write, not emacs_write. * image.c (slurp_file, png_load_body): * process.c (Fnetwork_interface_list, Fnetwork_interface_info) (server_accept_connection): Don't leak an fd on memory allocation failure. * image.c (slurp_file): Add a cheap heuristic for growing files. * xfaces.c (Fx_load_color_file): Block input around the fopen too, as that's what the other routines do. Maybe input need not be blocked at all, but it's better to be consistent. Avoid undefined behavior when strlen is zero.
-
Paul Eggert authored
(NSTATICS): Now a constant; doesn't need to be a macro.
-
Richard M. Stallman authored
-
Lars Magne Ingebrigtsen authored
Fixes: debbugs:14815
-
Gnus developers authored
2013-07-19 Geoff Kuenning <geoff@cs.hmc.edu> (tiny change) * gnus.texi (Customizing Articles): Document function predicates. 2013-07-19 Geoff Kuenning <geoff@cs.hmc.edu> (tiny change) * gnus-art.el (gnus-treat-predicate): Allow functions as predicates (bug#13384). 2013-07-18 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-start.el (gnus-clean-old-newsrc): Remove the newsrc cleanups that were only relevant in a development version a long time ago.
-
Lars Magne Ingebrigtsen authored
* net/eww.el (eww-process-text-input): Allow inputting when the point is at the start of the line, as the properties aren't front-sticky.
-
Paul Eggert authored
-
Lars Magne Ingebrigtsen authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
saying what to trim from the start and end of each substring. * subr.el (split-string): New arg TRIM.
-
Eli Zaretskii authored
src/keyboard.c (kbd_buffer_get_event): Use Display_Info instead of unportable 'struct x_display_info'. (DISPLAY_LIST_INFO): Delete macro: not needed, since Display_Info is a portable type.
-
Xue Fuqiao authored
-
Paul Eggert authored
(procfs_ttyname): Don't use uninitialized storage if emacs_fopen or fscanf fails. (system_process_attributes): Prefer plain char to unsigned char when either will do. Clean up properly if interrupted or if memory allocations fail. Don't assume sscanf succeeds. Remove no-longer-needed workaround to stop GCC from whining. Read command-line once, instead of multiple times. Check read status a bit more carefully.
-
Paul Eggert authored
The code assumed that int is treated like ptrdiff_t in a vararg function, which is not a portable assumption. There was a similar -- though these days less likely -- porting problem with various assumptions that pointers of different types all smell the same as far as vararg functions is conserved. To make this problem less likely in the future, redo the API to use varargs functions. * alloc.c (make_save_value): Remove this vararg function. All uses changed to ... (make_save_int_int_int, make_save_obj_obj_obj_obj) (make_save_ptr_int, make_save_funcptr_ptr_obj, make_save_memory): New functions. (make_save_ptr): Rename from make_save_pointer, for consistency with the above. Define only on platforms that need it. All uses changed.
-
Juanma Barranquero authored
-
- 18 Jul, 2013 9 commits
-
-
Paul Eggert authored
(DISPLAY_LIST_INFO): New macro. (kbd_buffer_get_event): Do not access members that are not present in X11. Revert nadvertent change of "!=" to "=".
-
Richard Copley authored
Fixes: debbugs:14127
-
Juanma Barranquero authored
* lisp/frame.el (blink-cursor-timer-function, blink-cursor-suspend): Add check for W32. * src/keyboard.c (kbd_buffer_get_event): * src/w32term.c (x_focus_changed): Port FOCUS_(IN|OUT)_EVENT changes to W32.
-
Katsumi Yamaoka authored
-
Paul Eggert authored
(get_boot_time_1): Rework to avoid using emacs_open. This doesn't actually fix a leak, but is better anyway. (read_lock_data): Use read, not emacs_read.
-
Michael Albinus authored
`file-notify-support'. Do not autoload. Adapt all uses. (file-notify-supported-p): New defun. * autorevert.el (auto-revert-use-notify): Use `file-notify-supported-p' instead of `file-notify-support'. Adapt docstring. (auto-revert-notify-add-watch): Use `file-notify-supported-p'. * net/tramp.el (tramp-file-name-for-operation): Add `file-notify-supported-p'. * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): New defun. (tramp-sh-file-name-handler-alist): Add it as handler for `file-notify-supported-p '. * net/tramp-adb.el (tramp-adb-file-name-handler-alist): * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add `ignore' as handler for `file-notify-*' functions.
-
Paul Eggert authored
* doc.c (get_doc_string): Fix memory leak when doc file absent. (get_doc_string, Fsnarf_documentation): Fix file descriptor leak on error.
-
Paul Eggert authored
* term.c (Fresume_tty) [!MSDOS]: Close fd if fdopen (fd) fails. (init_tty) [!DOS_NT]: Likewise. Also close fd if isatty (fd) fails.
-
Paul Eggert authored
Include <errno.h>. (load_charset_map_from_file): Don't leak file descriptor on error. Use plain record_xmalloc since the allocation is larger than MAX_ALLOCA; that's simpler here. Simplify test for exhaustion of entries. * eval.c (record_unwind_protect_nothing): * fileio.c (fclose_unwind): New functions. * lread.c (load_unwind): Remove. All uses replaced by fclose_unwind. The replacement doesn't block input, but that no longer seems necessary.
-
- 17 Jul, 2013 1 commit
-
-
Paul Eggert authored
(Fload): Close some races that leaked fds or streams when 'load' was interrupted. (Fload, openp): Report error number of last nontrivial failure to open. ENOENT counts as trivial. * eval.c (do_nothing, clear_unwind_protect, set_unwind_protect_ptr): New functions. * fileio.c (close_file_unwind): No need to test whether FD is nonnegative, now that the function is always called with a nonnegative arg. * lisp.h (set_unwind_protect_ptr, set_unwind_protect_int): Remove. All uses replaced with ... (clear_unwind_protect, set_unwind_protect_ptr): New decls.
-