1. 22 Apr, 2012 2 commits
  2. 21 Apr, 2012 2 commits
  3. 20 Apr, 2012 3 commits
    • Paul Eggert's avatar
      * keyboard.c (process_pending_signals): Define only if SYNC_INPUT. · 2f38dff7
      Paul Eggert authored
      It is never used otherwise.
    • Stefan Monnier's avatar
      * src/print.c (print_preprocess): Only check print_depth if print-circle · 4ae29f89
      Stefan Monnier authored
      is nil.
      (print_object): Check for cycles even when print-circle is nil and
      print-gensym is t, but only check print_depth if print-circle is nil.
    • Chong Yidong's avatar
      Fixes for pty handling in gdb-mi.el and process.c. · f30d612a
      Chong Yidong authored
      * lisp/progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
      (gdb-inferior-io--init-proc): New function.
      (gdb-init-1): Use it.
      (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
      responsible for allocating a new pty and hooking it to gdb when
      the old pty gets an EIO due to process exit.
      (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
      (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
      (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
      * src/process.c (wait_reading_process_output): If EIO occurs on a pty,
      set the status to "failed" and ensure that sentinel is run.
      * doc/lispref/processes.texi (Asynchronous Processes): Mention nil
      argument to start-process.
  4. 18 Apr, 2012 2 commits
    • Glenn Morris's avatar
      More small doc and lispref edits related to processes · 4373fd43
      Glenn Morris authored
      * doc/lispref/processes.texi (Serial Ports, Byte Packing, Bindat Spec)
      (Bindat Functions): Copyedits.
      * src/process.c (Fset_process_inherit_coding_system_flag)
      (Fset_process_query_on_exit_flag): Doc fix (mention return value).
      (Fmake_network_process, Fmake_serial_process): Doc fix.
      * admin/FOR-RELEASE: Related markup.
    • Glenn Morris's avatar
      More process-related doc and manual small edits · 016a35df
      Glenn Morris authored
      * doc/lispref/processes.texi (Output from Processes, Filter Functions):
      Mention waiting-for-user-input-p.
      (Sentinels, Query Before Exit, System Processes, Transaction Queues):
      (Network Servers, Datagrams, Network Processes, Network Options)
      (Network Feature Testing, Serial Ports): Copyedits.
      (Network): Add encrypted network overview paragraph.
      Cross-reference the Emacs-GnuTLS manual.  Use @acronym.
      * lisp/net/network-stream.el (open-network-stream): Doc fix.
      * src/process.c (Fset_process_inherit_coding_system_flag)
      (Fset_process_query_on_exit_flag): Doc fix (mention return value).
      (Fmake_network_process): Doc fix.
  5. 17 Apr, 2012 4 commits
  6. 16 Apr, 2012 5 commits
  7. 15 Apr, 2012 2 commits
    • Andreas Schwab's avatar
      Simplify enforcement of object address alignment · d55c12ed
      Andreas Schwab authored
      * lisp.h (struct Lisp_Symbol): Remove explicit padding.
      (struct Lisp_Misc_Any): Likewise.
      (struct Lisp_Free): Likewise.
      * alloc.c (union aligned_Lisp_Symbol): Define.
      (SYMBOL_BLOCK_SIZE, struct symbol_block): Use union
      aligned_Lisp_Symbol instead of struct Lisp_Symbol.
      (union aligned_Lisp_Misc): Define.
      (MARKER_BLOCK_SIZE, struct marker_block): Use union
      aligned_Lisp_Misc instead of union Lisp_Misc.
      (Fmake_symbol, allocate_misc, gc_sweep): Adjust
    • Juanma Barranquero's avatar
      Fix ChangeLog typos. · 75f1671a
      Juanma Barranquero authored
  8. 14 Apr, 2012 1 commit
    • Paul Eggert's avatar
      Make GC_MAKE_GCPROS_NOOPS the default (Bug#9926). · b948ce8b
      Paul Eggert authored
      * lisp.h (GC_MARK_STACK): Default to GC_MAKE_GCPROS_NOOPS.
      * s/cygwin.h, s/darwin.h, s/freebsd.h, s/gnu.h, s/irix6-5.h, s/msdos.h:
      * s/netbsd.h, s/sol2-6.h:
      Remove definition of GC_MARK_STACK, since the default now works.
      * s/aix4-2.h, s/hpux10-20.h, s/unixware.h:
      Define GC_MARK_STACK to GC_USE_GCPROS_AS_BEFORE, since that's
      no longer the default.
      * s/gnu-linux.h (GC_MARK_STACK): Adjust to change in default.
  9. 13 Apr, 2012 3 commits
  10. 11 Apr, 2012 4 commits
  11. 10 Apr, 2012 2 commits
  12. 09 Apr, 2012 10 commits
    • Glenn Morris's avatar
      doc.c fix for bug#11036 · 05920a43
      Glenn Morris authored
      * src/doc.c (Fsnarf_documentation): Check variables, functions are bound,
      not just in the obarray, before snarfing them.
    • Glenn Morris's avatar
      Rename leim/Makefile's BUILT_EMACS to EMACS · 935396c0
      Glenn Morris authored
      * leim/Makefile.in (EMACS): Rename from BUILT_EMACS.
      (RUN_EMACS, compile-main): Update for this change.
      * src/Makefile.in ($(leimdir)/leim-list.el):
      Pass EMACS rather than BUILT_EMACS.
    • Ted Zlatanov's avatar
      Limit number of GnuTLS handshakes per connection. · a18ecafa
      Ted Zlatanov authored
      * gnutls.c (gnutls_log_function2i): Convenience log function.
      (emacs_gnutls_read): Use new log functions,
      `gnutls_handshakes_tried' process member, and
      `GNUTLS_EMACS_HANDSHAKES_LIMIT' to limit the number of handshake
      attempts per process (connection).
      * gnutls.h: Add `GNUTLS_EMACS_HANDSHAKES_LIMIT' upper limit.  Add
      convenience `GNUTLS_LOG2i' macro.
      * process.c (make_process):
      * process.h: Add integer `gnutls_handshakes_tried' member to
      process struct.
    • Chong Yidong's avatar
      Remove defining user variables via * in docstring. · b4d3bc10
      Chong Yidong authored
      * lisp/apropos.el (apropos-variable):
      * lisp/files-x.el (read-file-local-variable):
      * lisp/simple.el (set-variable):
      * lisp/woman.el (woman-mini-help):
      * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
      * lisp/custom.el (custom-variable-p): Return nil for non-symbol
      arguments instead of signaling an error.
      (user-variable-p): Obsolete alias for custom-variable-p.
      * lisp/erc/erc.el (erc-cmd-SET): Call custom-variable-p instead of
      * src/callint.c (Finteractive, Fcall_interactively):
      * src/minibuf.c (Fread_variable): Callers changed.
      * src/eval.c (Fuser_variable_p, user_variable_p_eh)
      (lisp_indirect_variable): Functions deleted.
      (Fdefvar): Caller changed.
      * doc/lispref/commands.texi (Interactive Codes):
      * doc/lispref/help.texi (Accessing Documentation):
      * doc/lispref/minibuf.texi (High-Level Completion): Callers changed.
      * doc/lispref/customize.texi (Variable Definitions): Remove user-variable-p.
    • Eli Zaretskii's avatar
      Fix bug #11199 with killing a line at EOB that was bidi-reordered. · e53357c4
      Eli Zaretskii authored
       src/xdisp.c (find_last_unchanged_at_beg_row): Don't consider a row
       "unchanged" if its end.pos is beyond ZV.
    • Jan Djärv's avatar
      * nsterm.m (constrainFrameRect): Always constrain when there is only · aff67c82
      Jan Djärv authored
      one screen.
      Fixes: debbugs:10962
    • Eli Zaretskii's avatar
      Fix bug #11094 with cursor display on display string after invisible text. · 70f4d973
      Eli Zaretskii authored
       src/xdisp.c (set_cursor_from_row): If the display string appears in
       the buffer at position that is closer to point than the position
       after the display string, display the cursor on the first glyph of
       the display string.  Fixes cursor display when a 'display' text
       property immediately follows invisible text.
    • Paul Eggert's avatar
      configure: new option --enable-gcc-warnings · b8df54ff
      Paul Eggert authored
      I have been using this change for many months in my private copy
      of Emacs, and have used it to find several bugs.  It's mature
      enough to publish now.
      * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings.
      * configure.in: Support --enable-gcc-warnings, in the style of
      other GNU packages such as coreutils.
      (C_WARNINGS_SWITCH): Remove, replacing with...
      (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable.
      (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I,
      when including system files with GCC.
      * etc/NEWS: Mention --enable-gcc-warnings.
      * lib/Makefile.am (AM_CFLAGS): New macro.
      * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib.
      * lib-src/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (BASE_CFLAGS): Use new macros rather than old.
      * lwlib/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (ALL_CFLAGS): Use new macros rather than old.
      * oldXMenu/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (ALL_CFLAGS): Use new macros rather than old.
      * src/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (ALL_CFLAGS): Use new macros rather than old.
      * src/process.c: Ignore -Wstrict-overflow to work around GCC bug 52904.
      * src/regex.c: Ignore -Wstrict-overflow.  If !emacs, also ignore
      -Wunused-but-set-variable, -Wunused-function, -Wunused-macros,
      -Wunused-result, -Wunused-variable.  This should go away once
      the Emacs and Gnulib regex code is merged.
      (xmalloc, xrealloc): Now static.
    • Paul Eggert's avatar
      composite.c: use 'double' consistently · cb3c2e3e
      Paul Eggert authored
      * composite.c (get_composition_id): Use 'double' consistently
      instead of converting 'float' to 'double' and vice versa; this is
      easier to understand and avoids a GCC warning.
    • Glenn Morris's avatar
      Generate leim-list with bootstrap-emacs, in prep for dumping it with emacs · 50fe702a
      Glenn Morris authored
      * src/Makefile.in: (leimdir): New variable.
      ($(leimdir)/leim-list.el): New rule.
      (emacs$(EXEEXT)): Depend on leim-list.el.
      Fixes: debbugs:4789