- 28 Aug, 2014 2 commits
-
-
Glenn Morris authored
See the interminable bug discussion if you have nothing better to do.
-
Paul Eggert authored
Fixes: debbugs:18051
-
- 27 Aug, 2014 5 commits
-
-
Eli Zaretskii authored
src/syntax.c (scan_lists): Don't examine positions before BEGV.
-
Paul Eggert authored
* configure.ac (newlocale): Check for this, not for uselocale. * src/sysdep.c (LC_COLLATE, LC_COLLATE_MASK, freelocale, locale_t) (newlocale, wcscoll_l): Define substitutes for platforms that lack them, so as to simplify the mainline code. (str_collate): Simplify the code by assuming the above definitions. Use wcscoll_l, not uselocale, as uselocale is too fragile. For example, the old version left the Emacs in the wrong locale if wcscoll reported an error. Use 'int', not ptrdiff_t, for the int result. Report an error if newlocale fails. Fixes: debbugs:18051
-
Michael Albinus authored
* sysdep.c (str_collate): Return int. (str_collate) [__STDC_ISO_10646__]: Propagate error of wcscoll.
-
Dmitry Antipov authored
Vinternal__top_level_message, as suggested by Stefan Monnier in http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00493.html All related users changed. * lisp/startup.el (normal-top-level): Now use internal--top-level-message. * doc/lispref/eval.texi (Eval): Mention possible recovery from stack overflow.
-
Dmitry Antipov authored
* sysdep.c (stack_direction): Replace stack_grows_down to simplify calculation of stack boundaries. (handle_sigsegv): Check whether we really crash somewhere near to stack boundary, and handle fatal signal as usual if not. (init_sigsegv): Adjust accordingly.
-
- 26 Aug, 2014 7 commits
-
-
Katsumi Yamaoka authored
gnus-art.el (gnus-article-browse-html-save-cid-content, gnus-article-browse-html-parts): Revert last change that breaks links other than cid contents
-
Katsumi Yamaoka authored
gnus-art.el (gnus-article-browse-html-save-cid-content, gnus-article-browse-html-parts): Make cid file names relative
-
Glenn Morris authored
* admin/authors.el (authors-ignored-files, authors-valid-file-names) (authors-renamed-files-alist): Additions. (authors-renamed-files-alist): Revert 2014-08-09 change. (authors): Sort authors in utf-8 order. Fixes: debbugs:2263
-
Glenn Morris authored
-
Dmitry Antipov authored
-
Dmitry Antipov authored
-
Dmitry Antipov authored
* configure.ac: Check for sigaltstack and related sigaction support. Unconditionally check for sigsetjmp and siglongjmp. (HAVE_STACK_OVERFLOW_HANDLING): Define if we can support it. * src/lisp.h (toplevel) [HAVE_STACK_OVERFLOW_HANDLING]: Declare siglongjmp point to transfer control from SIGSEGV handler. * src/keyboard.c (return_to_command_loop, recover_top_level_message) [HAVE_STACK_OVERFLOW_HANDLING]: New variables. (regular_top_level_message): New variable. (command_loop) [HAVE_STACK_OVERFLOW_HANDLING]: Handle non-local exit from SIGSEGV handler and adjust message displayed by Vtop_level if appropriate. (syms_of_keyboard): DEFVAR Vtop_level_message and initialize new variables described above. * src/sysdep.c [HAVE_SYS_RESOURCE_H]: Include sys/resource.h as such. (stack_grows_down, sigsegv_stack, handle_sigsegv) [HAVE_STACK_OVERFLOW_HANDLING]: New variables and function. (init_sigsegv): New function. (init_signals): Use it. * lisp/startup.el (normal-top-level): Use top-level-message.
-
- 25 Aug, 2014 11 commits
-
-
Ken Brown authored
-
Ken Brown authored
* src/emacs.c (main): Remove use of obsolete macro G_SLICE_ALWAYS_MALLOC.
-
Glenn Morris authored
-
Lars Magne Ingebrigtsen authored
-
Lars Magne Ingebrigtsen authored
* net/shr.el (shr-copy-url): Encode copied URL to avoid getting URLs containing spaces and the like.
-
Eli Zaretskii authored
src/w32proc.c (get_lcid_callback, get_lcid, w32_compare_strings): New functions. src/w32.h (w32_compare_strings): Add prototype. src/w32.c <g_b_init_compare_string_w>: New global flag. (globals_of_w32): Initialize it. src/sysdep.c (str_collate) [WINDOWSNT]: Implementation for MS-Windows. src/fns.c (Fstring_collate_lessp, Fstring_collate_equalp) [WINDOWSNT]: Call str_collate on MS-Windows. etc/NEWS: Mention that string-collate-* functions are supported on MS-Windows as well.
-
Dmitry Antipov authored
* font.h (struct font_driver): Convert text_extents to return void because returned value is never actually used. * macfont.c (macfont_text_extents): * w32font.c (w32font_text_extents): * xftfont.c (xftfont_text_extents): Adjust to return void and assume that 'metrics' argument is always non-NULL. * ftfont.c (ftfont_text_extents): * xfont.c (xfont_text_extents): Likewise. Avoid redundant memset.
-
Paul Eggert authored
* fns.c (str_collate): Move decl from here ... * lisp.h (str_collate): ... to here. * sysdep.c (str_collate): Prune away some of the forest of ifdefs. Remove unnecessary casts. Use SAFE_NALLOCA to avoid potential problems with integer overflow. Don't assume setlocale succeeds. Remove unnecessary test before restoring locale via setlocale, and free the copied setlocale string when done with it. Fixes: debbugs:18051
-
Christoph Scholtes authored
* lisp/subr.el (remq): Fix docstring. Fixes: debbugs:18253
-
Christoph Scholtes authored
Fixes: debbugs:18320
-
Christoph Scholtes authored
* INSTALL.REPO: Remove reference to obsolete configure scripts on non-Posix platforms. Fixes: debbugs:18323
-
- 24 Aug, 2014 4 commits
-
-
Alan Mackenzie authored
cc-engine.el (c-forward-type): Enhance to recognise and return 'decltype. (c-forward-decl-or-cast-1): New let variables backup-kwd-sym, prev-kwd-sym, new-style-auto. Enhance to handle the new "auto" keyword. cc-fonts.el (c-font-lock-declarations): Handle the "decltype" keyword. (c-font-lock-c++-new): Handle "decltype" constructions. cc-langs.el (c-auto-ops, c-auto-ops-re): New c-lang-defconsts/defvars. (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars. (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars. (c-typeless-decl-kwds): Append "auto" onto the C++ value. (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
-
Alan Mackenzie authored
cc-langs.el (c->-op-cont-tokens): New lang-const split off from c->-op-cont-re. (c->-op-cont-tokens): Change to use the above. (c->-op-without->-cont-regexp): New lang-const. cc-engine.el (c-forward-<>-arglist-recur): Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
-
Michael Albinus authored
-
Michael Albinus authored
* configure.ac: Check also for the uselocale function. * src/fns.c (Fstring_collate_lessp, Fstring_collate_equalp): New DEFUNs. * src/sysdep.c (str_collate): New function. (Bug#18051)
-
- 23 Aug, 2014 3 commits
-
-
Alan Mackenzie authored
#18306. The bug was introduced on 2014-08-02.
-
Eli Zaretskii authored
-
Karol Ostrovsky authored
configure.ac: Accept "*-mingw*", not just "*-mingw32", as canonical name of a MinGW build, because using MSYS2 'uname' produces "MINGW64". src/Makefile.in (emacs$(EXEEXT)): Retry deletion of bootstrap-emacs if the initial "rm -f" fails. This is for MinGW builds, where MS-Windows will not allow deleting the executable file of a running program.
-
- 21 Aug, 2014 4 commits
-
-
Katsumi Yamaoka authored
lisp/gnus/mm-view.el (mm-display-inline-fontify): Make the working buffer temporarily displayed when running a mode function (at least org-mode requires it)
-
Ken Brown authored
-
Eli Zaretskii authored
lisp/textmodes/texnfo-upd.el (texinfo-specific-section-type): Don't recognize a Top node if there are other sectioning commands earlier in the Texinfo file. This fixes a bug in texinfo-make-menu and avoids inflooping in texinfo-all-menus-update when they are invoked on texinfo.texi.
-
Martin Rudalics authored
* window.el (window--side-window-p): New function. (split-window, window-splittable-p): Use window--side-window-p to determine whether WINDOW can be split (Bug#18304). * calendar/calendar.el (calendar-basic-setup): Fix one call of `window-splittable-p' and add another (Bug#18304).
-
- 20 Aug, 2014 3 commits
-
-
-
Sam Steingold authored
* lisp/progmodes/python.el (python-new-pythonpath): Extract from `python-shell-calculate-process-environment'.
-
Eli Zaretskii authored
src/w32term.c (w32_scroll_bar_handle_click) (w32_horizontal_scroll_bar_handle_click) (x_scroll_bar_report_motion) (x_horizontal_scroll_bar_report_motion): For SB_THUMBPOSITION and SB_THUMBTRACK, use the 32-bit position information returned by GetScrollInfo, not the 16-bit information returned in the Windows message sent to us.
-
- 19 Aug, 2014 1 commit
-
-
Eli Zaretskii authored
src/w32term.c (w32_horizontal_scroll_bar_handle_click): Fix the second coordinate ('y') reported for dragging the horizontal scroll bar thumb.
-