- 30 Sep, 2016 7 commits
-
-
Paul Eggert authored
This follows up on recent problems with the fact that config.h includes stdlib.h etc.; some files need to include stdlib.h later. config.h generally should limit itself to includes that are universally safe; outside of MS-Windows, only stdbool.h makes the cut among the files currently included. So, move the other includes to just the files that need them (Bug#24506). * configure.ac (config_opsysfile): Remove, as this generic hook is no longer needed. * lib-src/etags.c, src/unexmacosx.c, src/w32.c, src/w32notify.c: * src/w32proc.c (_GNU_SOURCE): Remove, as it’s OK for config.h to do this now. * src/conf_post.h: Include <ms-w32.h>, instead of the generic config_opsysfile, for simplicity as this old way of configuring is now done only for the MS-Windows port. Do not include <ms-w32.h> if DEFER_MS_W32_H, for the benefit of the few files that want its effects later. Do not include <alloca.h>, <string.h>, or <stdlib.h>. Other files modified to include these headers as needed, or to not include headers that are no longer needed. * src/lisp.h: Include <alloca.h> and <string.h> here, since some of the inline functions need them. * src/regex.c: Include <alloca.h> if not emacs. (If emacs, we can rely on SAFE_ALLOCA.) There is no longer any need to worry about HAVE_ALLOCA_H. * src/unexmacosx.c: Rely on config.h not including stdlib.h. * src/w32.c, src/w32notify.c, src/w32proc.c (DEFER_MS_W32_H): Define before including <config.h> first, and include <ms-w32.h> after the troublesome headers.
-
Vasilij Schneidermann authored
* src/eval.c (syms_of_eval) <debugger-stack-frame-as-list>: New variable. * lisp/cus-start.el (standard): Add debugger-stack-frame-as-list. * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Adjust backtrace processing for the value of debugger-stack-frame-as-list. * lisp/emacs-lisp/edebug.el (edebug-backtrace): Adjust backtrace processing for the value of debugger-stack-frame-as-list. * doc/lispref/debugging.texi (Internals of Debugger): Document debugger-stack-frame-as-list. * etc/NEWS: Mention 'debugger-stack-frame-as-list'.
-
Eli Zaretskii authored
-
Aurelien Aptel authored
-
Eli Zaretskii authored
* src/image.c (DrawText, g_type_init) [WINDOWSNT]: Avoid compiler warning about unused macros.
-
Paul Rankin authored
* lisp/outline.el (outline-invisible-p): Only return `t' for the 'outline property.
-
Paul Eggert authored
This is for Fedora 24 when configured with --enable-gcc-warnings. Although it does not fix all the problems, it fixes many of them. * src/frame.c (XParseGeometry): * src/nsterm.m (mouseDown:): Mark locals with UNINIT to pacify --enable-gcc-warnings. * src/image.c (PIX_MASK_DRAW, DefaultDepthOfScreen): Remove unused macros. (slurp_file xbm_scan, xbm_read_bitmap_data, xbm_load_image) (xbm_file_p, xbm_load, xpm_scan, xpm_make_color_table_v) (xpm_put_color_table_v, xpm_get_color_table_v) (xpm_make_color_table_h, xpm_put_color_table_h) (xpm_get_color_table_h, xpm_load_image, xpm_load) (pbm_next_char, pbm_scan_number, pbm_load, svg_load) (svg_load_image): * src/nsfns.m (x_get_string_resource): * src/nsimage.m (ns_image_from_XBM): Fix pointer signedness problems. * src/image.c (xpm_load_image, x_build_heuristic_mask, pbm_load) (imagemagick_load_image): Omit unused locals. * src/nsfns.m (ns_send_types, ns_return_types, ns_drag_types) (Fx_open_connection): * src/nsfont.m (ns_antialias_threshold): Move extern decl to nsterm.h so it can be checked. * src/nsmenu.m (svcsMenu, dockMenu): Move to the only file that uses them, so they can be static. * src/nsterm.h (find_and_call_menu_selection): * src/nsterm.m (x_set_frame_alpha): Omit duplicate decls. * src/nsterm.h (ns_dump_glyphstring): Mark as EXTERNALLY_VISIBLE. * src/nsfns.m (ns_tooltip, ns_display_info_for_name) (ns_set_name_as_filename, x_set_menu_bar_lines) (x_set_tool_bar_lines, x_set_internal_border_width): * src/nsterm.m (ns_drag_types, ns_draw_text_decoration): Now static. * src/nsfns.m (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): * src/nsterm.m (ns_free_indexed_color, ns_color_to_lisp): Remove; unused. * src/nsfont.m (ns_dump_glyphstring): * src/nsterm.m (hide_bell, ns_get_color, ns_color_to_lisp) (ns_clear_frame, keyDown:): Fix signedness problem with printf arg. * src/nsterm.h (ns_input_events, ns_finish_events): * src/nsterm.m (ns_finish_events, hide_bell): Prototype the decls. * src/nsterm.m (NSMenuDidBeginTrackingNotification): Omit unnecessary decl. (dockMenu): (mainMenu) [NS_IMPL_COCOA]: Now static, and in this file. (ns_dumpglyphs_box_or_relief, changeFont:, initFrameFromEmacs:) (toggleFullScreen:): Use FACE_FROM_ID instead of FACE_FROM_ID_OR_NULL in contexts where the caller expects the result to be non-null. (applicationShouldTerminate:): Fix misleading indentation.
-
- 28 Sep, 2016 1 commit
-
-
Mark Oteiza authored
* lisp/dom.el: * lisp/faces.el: * lisp/htmlfontify.el: Turn on lexical-binding. (htmlfontify-string): Use pushnew instead of add-to-list. * lisp/info-xref.el: * lisp/isearch.el: * lisp/man.el: * lisp/ps-def.el: * lisp/ps-print.el: * lisp/replace.el: Turn on lexical-binding. Require cl-lib at compile time. (multi-occur): Use cl-pushnew instead of add-to-list. (replace-match-string-symbols): Remove unused lexical variable. (replace-search, replace-highlight): Fix argument shadowing. * lisp/sort.el: * lisp/xml.el: Turn on lexical-binding. (xml--parse-buffer): Use push instead of add-to-list. * lisp/xt-mouse.el: Turn on lexical-binding.
-
- 27 Sep, 2016 4 commits
-
-
Mark Oteiza authored
* lisp/woman.el (woman-parse-man.conf, woman-manpath-add-locales) (woman-cached-data): Use :test #'equal for instances of cl-pushnew.
-
Michael Albinus authored
* admin/notes/bug-triage: Do not mention closed bugs, they are suppressed by default in debbugs-{gnu,org}.
-
Michael Albinus authored
-
Paul Eggert authored
* admin/notes/bug-triage: Stick to the tag "unreproducible", which debbugs supports, rather than suggesting "doneunreproducible" or "unreproducable".
-
- 26 Sep, 2016 11 commits
-
-
Paul Eggert authored
The following commit was skipped: 5b734087 Backport mm-convert-shr-links fix from master (bug#23964)
-
Katsumi Yamaoka authored
* lisp/gnus/mm-decode.el (mm-convert-shr-links): Preserve key bindings that shr adds (bug#23964).
-
Paul Eggert authored
9fc9988d Improve documentation of 'expand-abbrev' and wrapper hooks c14a1d45 Minor copyedits of MS-Windows installation instructions f2819241 Fix display of cursor when 'blink-cursor-delay' has small value # Conflicts: # lisp/minibuffer.el
-
Paul Eggert authored
The following commits were skipped: 7cb120eb Improve the doc string of 'format' 3a9866e2 Improve doc strings in whitespace.el 2e2469bb Improve detectability of 'next-logical-line' and 'previous-lo... 16e62077 Fix (next-frame nil t) crash (Bug#24281) 3f539c00 Fix debugging of string-match-p errors f746a92c Fix region display while dragging mouse df4f8125 Fix 'vertical-motion' and 'posn-at-point' under 'visual-line-... 9135bd7a Improve display of tex-verbatim and Info quoted e0dd65cd Document how to check for ImageMagick support dc1e0ac7 Run find-function-after-hook after finding a symbol
-
Paul Eggert authored
0ae9a816 Document 'timerp' 2c72c46a Improve documentation of overlay priorities f6fa160e Fix 'dired-compress-files' 2b8c5f0b Update commentary of STRING_CHAR and FETCH_MULTIBYTE_CHAR # Conflicts: # lisp/dired.el # src/buffer.h # src/character.h
-
Paul Eggert authored
The following commit was skipped: 0d016ca1 Increment Emacs version to 25.1.50
-
Paul Eggert authored
cf9e174a Document the optional zlib library in MS-Windows builds 84eb144c ; * admin/notes/unicode: Mention BidiCharacterTest.txt. 73c67dda Fix tagging of DEFUN by etags ea1960bf Avoid resetting track-mouse by mouse clicks 505fef3e Improve nt/README.W32 instructions 1229cc4a Document that desktop file overrides frame parameters f0eb70d8 ; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release # Conflicts: # ChangeLog.2 # admin/notes/unicode # lisp/ldefs-boot.el
-
Paul Eggert authored
The following commit was skipped: 8d0ff839 * etc/AUTHORS: Regenerate the AUTHORS file
-
Paul Eggert authored
0ffc9cef Update admin/authors.el 0ad74106 Update Antinews in ELisp manual ea0f750e Fix comments on window height macros 0bbdeed1 Fix 'url-http-create-request' when cookies are used 0045998a Fix cross reference in frames.texi 13928942 ; * etc/DEBUG: Minor copyedits. 304a5c8e ; * etc/DEBUG: Improve documentation of getting control to GDB. 56bf7d7e Fix regexp-opt documentation (bug #17862) 803ad6f7 ; Fix documentation of seq-subseq ed4530db * lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in doc... 88ea396c ; Spelling fixes 17197d0a Fix tags-query-replace docstring 80a7f8be Clarify documentation of precision in format specs 88a50525 Improve and clarify documentation of subprocesses 89eb09f6 * etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247). # Conflicts: # etc/PROBLEMS # src/process.c
-
Eli Zaretskii authored
* lisp/simple.el (filter-buffer-substring-functions) (buffer-substring--filter): Add a link to 'with-wrapper-hook' as the place to look for documentation of wrapper hooks. * lisp/minibuffer.el (completion-in-region-functions) (completion--in-region): Add a link to 'with-wrapper-hook' as the place to look for documentation of wrapper hooks. * lisp/abbrev.el (expand-abbrev, abbrev--default-expand): Clarify the doc strings. (Bug#24540) * doc/lispref/text.texi (Buffer Contents): Mention 'with-wrapper-hook's doc string as the place to learn about that obsolete facility.
-
Michael Albinus authored
-
- 25 Sep, 2016 1 commit
-
-
Eli Zaretskii authored
* nt/INSTALL: * nt/README.W32: Add URL of Emacs dependencies on alpha.gnu.org.
-
- 24 Sep, 2016 16 commits
-
-
Eli Zaretskii authored
* lisp/dired-x.el (dired-mark-extension): Allow to specify MARKER-CHAR interactively as a string, not as a character's codepoint. (Bug#24518) * doc/misc/dired-x.texi (Advanced Mark Commands): Document the behavior when invoked with a prefix arg.
-
Simen Heggestøyl authored
* lisp/textmodes/css-mode.el (css-class-list-function): New variable holding the function to call for retrieving completions of class names. (css-id-list-function): New variable holding the function to call for retrieving completions of IDs. (css--foreign-completions): New function for retrieving completions from other buffers. (css--complete-selector): Support completing HTML class names and IDs from other buffers in addition to completing HTML tags. * lisp/textmodes/sgml-mode.el (html--buffer-classes-cache): New variable holding a cache for `html-current-buffer-classes'. (html--buffer-ids-cache): New variable holding a cache for `html-current-buffer-ids'. (html-current-buffer-classes): New function returning a list of class names used in the current buffer. (html-current-buffer-ids): New function returning a list of IDs used in the current buffer. (html-mode): Set `css-class-list-function' and `css-id-list-function' to `html-current-buffer-classes' and `html-current-buffer-ids' respectively.
-
Eli Zaretskii authored
* test/README: Reference file-organization.org. * test/file-organization.org: Remove the description of files in the lisp/legacy/ directory.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Eli Zaretskii authored
* test/lisp/emacs-lisp/lisp-tests.el: Add tests from test/lisp/legacy/syntax-tests.el. * test/lisp/legacy/syntax-tests.el: File deleted.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
* test/lisp/replace-tests.el: Add tests from test/lisp/legacy/occur-tests.el. * test/lisp/legacy/occur-tests.el: File deleted.
-
Eli Zaretskii authored
* test/lisp/emacs-lisp/bytecomp-tests.el: Added tests from test/lisp/legacy/lexbind-tests.el. * test/lisp/legacy/lexbind-tests.el: File deleted.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Paul Eggert authored
* src/charset.c (read_hex): Use INT_LEFT_SHIFT_OVERFLOW for clarity. The machine code is the same on my platform. * src/doprnt.c (doprnt): * src/emacs-module.c (module_funcall): * src/font.c (font_intern_prop): * src/keyboard.c (Frecursion_depth): * src/lread.c (read1): Use WRAPV macros instead of checking overflow by hand. * src/editfns.c (hi_time, time_arith, decode_time_components): * src/emacs-module.c (Fmodule_load): Simplify by using FIXNUM_OVERFLOW_P. * src/emacs-module.c: Include intprops.h. * src/xdisp.c (percent99): New function. (decode_mode_spec): Use it to simplify overflow avoidance and formatting of %p and %P.
-
Eli Zaretskii authored
-