1. 06 Jun, 2013 5 commits
  2. 05 Jun, 2013 17 commits
  3. 04 Jun, 2013 6 commits
  4. 03 Jun, 2013 12 commits
    • Xue Fuqiao's avatar
      Merge from mainline. · c362f195
      Xue Fuqiao authored
      c362f195
    • Michael Albinus's avatar
    • Eli Zaretskii's avatar
      Fix crashes in a text-mode session on Windows. · 9337e206
      Eli Zaretskii authored
       src/w32console.c (initialize_w32_display): Return the dimensions of
       the console window via 2 additional arguments, not via the current
       frame.  This avoids crashes due to overrunning the bounds of
       frame's decode_mode_spec_buffer, which is not resized following
       the change of the frame dimensions from the initial 10x10.
       src/w32term.h (w32_initialize_display_info): Adjust prototype.
       src/term.c (init_tty): Take dimensions of the frame from the values
       returned by initialize_w32_display.
      9337e206
    • Eli Zaretskii's avatar
      * configure.ac (HAVE_GFILENOTIFY): Do not change $LIBS. · 7f203aa1
      Eli Zaretskii authored
      (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): Substitute.
      
      * nt/config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
      
      * src/Makefile.in (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): New variables.
      (ALL_CFLAGS): Add $(GFILENOTIFY_CFLAGS).
      (LIBES): Add $(GFILENOTIFY_LIBS).
      
      * src/w32inevt.c (handle_file_notifications): Add dummy implementation
      for !HAVE_W32NOTIFY.
      
      * src/w32term.c: Wrap code with HAVE_W32NOTIFY.
      7f203aa1
    • Jan Djärv's avatar
      Add HAVE_GLIB check instead of checking individual libraries that use GLib. · 55a87246
      Jan Djärv authored
      * configure.ac (HAVE_GLIB): Add GLib check.  Set XGSELOBJ if GLib is
      used.  Remove xgselect.o from XOBJ.
      
      * src/Makefile.in (XGSELOBJ): New, xgselect.o if GLib is used, or empty.
      
      * src/process.c (wait_reading_process_output): Call xg_select if HAVE_GLIB.
      
      * src/xgselect.c: Replace #if defined ... with #ifdef HAVE_GLIB.
      55a87246
    • Paul Eggert's avatar
      Fix minor problems found by static checking. · 3d5ee10a
      Paul Eggert authored
      * data.c (pure_write_error):
      Use xsignal2, not Fsignal, as Fsignal might return.
      * eval.c (set_backtrace_debug_on_exit): Now static.
      (backtrace_p, backtrace_top, backtrace_next, record_in_backtrace):
      No longer inline.  EXTERN_INLINE is needed only for functions
      defined in .h files.  Reindent function header as per GNU style.
      (backtrace_p, backtrace_top, backtrace_next):
      Mark EXTERNALLY_VISIBLE so they don't get optimized away by the
      compiler or linker.  Add extern decls to pacify gcc -Wall.
      * frame.c, frame.h (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource):
      Now static.
      * frame.c (free_monitors): Define only on platforms that need it.
      * nsterm.m (ns_term_init):
      * process.c (catch_child_signal):
      Don't worry about whether SIGCHLD is defined, as SIGCHLD is
      defined on all porting targets these days.
      * process.c, process.h (catch_child_signal):
      Make it extern only if NS_IMPL_GNUSTEP is defined.
      3d5ee10a
    • Tassilo Horn's avatar
      068922a2
    • Eli Zaretskii's avatar
      Attempt to resolve gettimeofday compilation errors with MinGW64. · e2d8a6f0
      Eli Zaretskii authored
       src/w32.c (gettimeofday): Make the signature identical to prototype
       in nt/inc/sys/time.h.
      
       nt/inc/sys/time.h (struct timeval): Remove the _W64 guards.
      e2d8a6f0
    • Eli Zaretskii's avatar
      Update instructions in nt/INSTALL.MSYS. · 22bcd514
      Eli Zaretskii authored
      22bcd514
    • Stefan Monnier's avatar
      * lisp.el: Provide completion of locally bound variables in Elisp. · bbcc4d97
      Stefan Monnier authored
      * lisp/emacs-lisp/lisp.el: Use lexical-binding.
      (lisp--local-variables-1, lisp--local-variables): New functions.
      (lisp--local-variables-completion-table): New var.
      (lisp-completion-at-point): Use it to provide completion of let-bound vars.
      bbcc4d97
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros · 1f8fdd53
      Stefan Monnier authored
      eagerly.
      
      Fixes: debbugs:14422
      1f8fdd53
    • Stefan Monnier's avatar
      * src/eval.c (backtrace_p, backtrace_top, backtrace_next): Export them to · a8a7c5f6
      Stefan Monnier authored
      .gdbinit.
      * src/data.c (pure_write_error): Add `object' argument.
      * src/puresize.h (CHECK_IMPURE): Use it.
      * src/keyboard.c (safe_run_hooks_error): Improve error message.
      a8a7c5f6