1. 01 Oct, 2014 7 commits
    • Ulf Jasper's avatar
      Newsticker: Use libxml instead of `xml-parse-region'. Fix some glitches. Clean up. · 34912c0a
      Ulf Jasper authored
      * lisp/net/newst-backend.el: Remove Time-stamp.  Rename variable
      `newsticker--download-logos' to `newsticker-download-logos' and
      make it customizable.
      (newsticker--sentinel-work): Move xml-workarounds to function
      `newsticker--do-xml-workarounds', call unless libxml-parser is
      used.  Allow single quote in regexp for encoding.  Use
      libxml-parser if available, else fall back to `xml-parse-region'.
      Take care of possibly missing namespace prefixes (like "RDF"
      instead of "rdf:RDF") when checking xml nodes and attributes (as
      libxml correctly removes the prefixes).  Always use Atom 1.0 as
      fallback feed type.  Rename `newsticker--download-logos' to
      `newsticker-download-logos'
      (newsticker--unxml, newsticker--unxml-node)
      (newsticker--unxml-attribute): New.
      (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
      HTML code has become part of the xml parse tree.
      (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
      of possibly missing namespace prefixes.
      (newsticker--parse-generic-items): Code formatting. Typo.
      (newsticker--images-dir): Add trailing slash.
      (newsticker--image-get): Fix error message.
      
      * lisp/net/newst-plainview.el: Remove Time-stamp.
      
      * lisp/net/newst-reader.el: Remove Time-stamp.
      (newsticker-download-logos): Rename variable
      `newsticker--download-logos' to `newsticker-download-logos' and
      make it customizable.
      (newsticker--print-extra-elements): Add optional parameter
      'htmlish for using html markup.  Amend list of ignored elements.
      (newsticker--do-print-extra-element): Add parameter 'htmlish for
      using html markup.
      
      * lisp/net/newst-ticker.el: Remove Time-stamp.
      
      * lisp/net/newst-treeview.el (newsticker--treeview-item-show): Use html
      for formatting extra elements.
      
      * lisp/net/newsticker.el:  Remove Time-stamp, Version.
      (newsticker-version): Make obsolete.
      34912c0a
    • Eli Zaretskii's avatar
      Don't modify the process's command name passed to start-process on MS-Windows. · f94ec2f3
      Eli Zaretskii authored
       src/w32proc.c (sys_spawnve): Avoid modification of the CMDNAME
       argument passed by the caller, when we mirror all slashes into
       backslashes.
      f94ec2f3
    • Eli Zaretskii's avatar
    • Dmitry Antipov's avatar
      * gtkutil.c (xg_set_toolkit_horizontal_scroll_bar_thumb): · a5bc0a27
      Dmitry Antipov authored
      Resurrect old code and fix compilation with GTK < 2.13.6.
      a5bc0a27
    • Glenn Morris's avatar
      Auto-commit of loaddefs files. · 8a8c62a1
      Glenn Morris authored
      8a8c62a1
    • Paul Eggert's avatar
      Use AUTO_CONS instead of SCOPED_CONS, etc. · 27900ac7
      Paul Eggert authored
      * doc/lispref/internals.texi (Stack-allocated Objects):
      Adjust to match the revised, less error-prone macros.
      * src/frame.h (AUTO_FRAME_ARG): Rename from FRAME_PARAMETER.
      * src/lisp.h (AUTO_CONS): Rename from scoped_cons.
      (AUTO_LIST1): Rename from scoped_list1.
      (AUTO_LIST2): Rename from scoped_list2.
      (AUTO_LIST3): Rename from scoped_list3.
      (AUTO_LIST4): Rename from scoped_list4.
      (AUTO_STRING): Rename from SCOPED_STRING.
      * src/frame.h (AUTO_FRAME_ARG):
      * src/lisp.h (AUTO_CONS, AUTO_LIST1, AUTO_LIST2, AUTO_LIST3)
      (AUTO_LIST4, AUTO_STRING):
      Prepend a new argument 'name'.
      Declare a variable instead of yielding a value.
      All uses changed.
      * src/lisp.h (STACK_CONS, AUTO_CONS_EXPR): New internal macros.
      27900ac7
    • Paul Eggert's avatar
      * dispnew.c (adjust_decode_mode_spec_buffer): Prefer ptrdiff_t · cebe0e68
      Paul Eggert authored
      to ssize_t since we're not using ssize_t-related syscalls here.
      cebe0e68
  2. 30 Sep, 2014 20 commits
  3. 29 Sep, 2014 8 commits
    • Stefan Monnier's avatar
    • Eli Zaretskii's avatar
      Follow-up to renaming v24.5 to 25.1. · 2b3d968a
      Eli Zaretskii authored
       README: Bump version to 25.0.50.
       configure.ac (AC_INIT): Bump version to 25.0.50.
      
       nt/makefile.w32-in (VERSION): Bump version to 25.0.50.
       nt/emacsclient.rc: Bump version to 25.0.50.
       nt/emacs.rc: Bump version to 25.0.50.
       nt/config.nt (VERSION): Bump version to 25.0.50.
      
       msdos/sed2v2.inp: Bump version to 25.0.50.
      
       etc/refcards/ru-refcard.tex: Bump version to 25.0.50.
       etc/refcards/emacsver.tex: Bump version to 25.0.50.
      
       src/msdos.c (internal_terminal_init): Bump version to 25.
      
       doc/man/emacs.1: Bump version to 25.0.50.
      
       doc/emacs/emacsver.texi (EMACSVER): Bump to 20.0.50.
      2b3d968a
    • Eli Zaretskii's avatar
      Fix bug #18545 with lack of scrolling a window when point goes out of view. · 5bb6d037
      Eli Zaretskii authored
       src/xdisp.c (cursor_row_fully_visible_p): Update commentary.
       (redisplay_window): Treat the frame's frozen_window_starts flag
       the same way as the optional_new_start flag for the window: only
       obey it if the glyph row showing point will be fully visible.
       Likewise when the window start is in a continuation line.  If,
       after trying everything under the 'force_start' label, point is
       still not fully visible, give up and scroll the window.  Add
       debugging traces.
       src/window.c (Frecenter): Set the window's redisplay flag.
      5bb6d037
    • Stefan Monnier's avatar
      Rename 24.5 to 25.1 · cbdc06f3
      Stefan Monnier authored
      Except where we expect to backport the corresponding change.
      cbdc06f3
    • Fabrice Niessen's avatar
      Check in accumulated leuven-theme updates before it's too late · 95e50914
      Fabrice Niessen authored
      * themes/leuven-theme.el: Updates.
      95e50914
    • Daiki Ueno's avatar
      mml: Signal error on invalid <#secure> tag · 8f24b587
      Daiki Ueno authored
      * mml.el (mml-parse-1): Error out if unknown mode is specified in
      <#secure> tag (bug#18513).
      8f24b587
    • Ulf Jasper's avatar
      Do not set `url-gateway-method' in `url-https'. (Bug#16543) · 2d7ade06
      Ulf Jasper authored
      Currently, when `url-retrieve' is called for an https url it modifies
      the variable `url-gateway-method'.  This has been changed to
      explicitly pass the requested gateway method to other functions.
      
      When `url-retrieve' is being processed then (via
      `accept-process-output') another `url-retrieve' call from a pending
      timer can be started.  The second call would always see the modified
      `url-gateway-method' of the first one, which in general does not match
      the url.
      
      2014-09-28  Ulf Jasper  <ulf.jasper@web.de>
      
      	* url-gw.el (url-open-stream): New optional parameter
      	`gateway-method'.  If non-nil use it instead of global variable
      	`url-gateway-method'.
      
      	* url/url-http.el (url-http): New optional parameter
      	`gateway-method', pass it to `url-http-find-free-connection'.
      	(url-http-find-free-connection): New optional parameter
      	gateway-method, pass it to `url-open-stream'.
      	(url-https-create-secure-wrapper): Do not modify
      	`url-gateway-method' but explicitly provide 'tls as gateway-method
      	parameter to `url-https'.
      2d7ade06
    • Dmitry Antipov's avatar
      Keep stack-allocated Lisp objects fast rather than versatile. · 71a72686
      Dmitry Antipov authored
      * configure.ac (HAVE_STATEMENT_EXPRESSIONS): Remove.
      For USE_STACK_LISP_OBJECTS, we always assume __GNUC__.
      * lisp.h (union Aligned_Cons) [!GCALIGNED]: Define as such.
      (SCOPED_CONS_INITIALIZER): New macro.
      (scoped_cons) [USE_STACK_LISP_OBJECTS]: Use it.
      (USE_LOCAL_ALLOCA): Remove.
      (local_cons, local_list1, local_list2, local_list3, local_list4):
      Remove.  Stack overflow checking makes them too slow.
      (make_local_vector): Likewise.  Also we just don't have enough
      users for it.
      (enum LISP_STRING_OVERHEAD): Remove.
      (local_string_init, local_vector_init): Remove prototypes.
      (make_local_string, build_local_string): Redesign to target short
      compile-time string constants, fall back to regular string allocation
      where appropriate.
      (lisp_string_size): New function.
      (verify_ascii) [ENABLE_CHECKING]: Add prototype.
      * alloc.c (local_string_init, local_vector_init): Remove.
      (verify_ascii) [ENABLE_CHECKING]: New function.
      * buffer.c, charset.c, chartab.c, data.c, editfns.c, emacs.c, fileio.c:
      * fns.c, font.c, fontset.c, frame.c, keyboard.c, keymap.c, lread.c:
      * menu.c, minibuf.c, process.c, textprop.c, xdisp.c, xfns.c, xfont.c:
      * xselect.c, xterm.c: All related users changed.
      71a72686
  4. 28 Sep, 2014 3 commits
    • Ken Brown's avatar
      * src/sheap.c (bss_sbrk_buffer_beg): Remove redundant variable. · c3301e3c
      Ken Brown authored
      * src/gmalloc.c [CYGWIN]: Adapt to change in sheap.c.
      c3301e3c
    • Ulf Jasper's avatar
      Do not set `url-gateway-method' in `url-https'. (Bug#16543) · 98c58df8
      Ulf Jasper authored
      Currently, when `url-retrieve' is called for an https url it modifies
      the variable `url-gateway-method'.  This has been changed to
      explicitly pass the requested gateway method to other functions.
      
      When `url-retrieve' is being processed then (via
      `accept-process-output') another `url-retrieve' call from a pending
      timer can be started.  The second call would always see the modified
      `url-gateway-method' of the first one, which in general does not match
      the url.
      
      2014-09-28  Ulf Jasper  <ulf.jasper@web.de>
      
      	* url-gw.el (url-open-stream): New optional parameter
      	`gateway-method'.  If non-nil use it instead of global variable
      	`url-gateway-method'.
      
      	* url/url-http.el (url-http): New optional parameter
      	`gateway-method', pass it to `url-http-find-free-connection'.
      	(url-http-find-free-connection): New optional parameter
      	gateway-method, pass it to `url-open-stream'.
      	(url-https-create-secure-wrapper): Do not modify
      	`url-gateway-method' but explicitly provide 'tls as gateway-method
      	parameter to `url-https'.
      98c58df8
    • Thien-Thi Nguyen's avatar
      Font-lock `cl-flet*', too. · 3ff1c9a8
      Thien-Thi Nguyen authored
      * lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
      Add "flet*" to intermediate var `cl-lib-kw'.
      3ff1c9a8
  5. 27 Sep, 2014 2 commits