1. 19 Nov, 2012 1 commit
    • Eli Zaretskii's avatar
      More fixes for bug #12878 with MS-Windows MSVC build. · 88c4a13c
      Eli Zaretskii authored
       src/xdisp.c (start_hourglass) [HAVE_NTGUI]: Don't mix declaration of
       w32_note_current_window with code.  (Backport from trunk.)
       src/w32.c (FILE_DEVICE_FILE_SYSTEM, METHOD_BUFFERED)
       (FILE_ANY_ACCESS, CTL_CODE, FSCTL_GET_REPARSE_POINT) [_MSC_VER]:
       Define for the MSVC compiler.
       src/w32term.h (EnumSystemLocalesW) [_MSC_VER]: Add a missing
       semi-colon.
      
       nt/inc/stdint.h (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
      88c4a13c
  2. 18 Nov, 2012 1 commit
  3. 17 Nov, 2012 2 commits
  4. 16 Nov, 2012 2 commits
  5. 15 Nov, 2012 2 commits
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      Fixes related to face underlining · bde3c6c0
      Glenn Morris authored
      * lisp/faces.el (face-underline-p): Doc fix.  Handle :underline being
      things other than `t' (a string, a list).
      (face-inverse-video-p): Doc fix.
      (set-face-underline): Rename it back from set-face-underline-p.
      Doc fix.  Allow interactive input of values other than t.
      (read-face-attribute): Apply formatting to :underline,
      since like :box and :stipple it can take list values.
      
      * doc/lispref/display.texi (Face Attributes): Fix :underline COLOR description.
      (Attribute Functions): Update for set-face-underline rename.
      Tweak descriptions of face-underline-p, face-inverse-video-p.
      
      * etc/NEWS: Related edit.
      bde3c6c0
  6. 14 Nov, 2012 1 commit
    • Eli Zaretskii's avatar
      Clean up w32 timer thread code in the hope of solving bug #12832. · 730b2d8f
      Eli Zaretskii authored
       src/w32proc.c (timer_loop): Make sure SuspendThread and ResumeThread
       use the same value of thread handle.
       (start_timer_thread): If the timer thread exited (due to error),
       clean up by closing the two handles it used.  Duplicate the caller
       thread's handle here, so it gets duplicated only once, when
       launching the timer thread.  Set priority of the timer thread, not
       the caller thread.
       (getitimer): Don't duplicate the caller thread's handle here.
      730b2d8f
  7. 13 Nov, 2012 1 commit
  8. 12 Nov, 2012 1 commit
  9. 07 Nov, 2012 1 commit
    • Martin Rudalics's avatar
      Fix and rewrite doc on window recombining facilities. · fdaf534a
      Martin Rudalics authored
      * window.c (Fsplit_window_internal): Set combination limit of
      new parent window to t iff Vwindow_combination_limit is t;
      fixing a regression introduced with the change from 2012-09-22.
      (Fwindow_combination_limit, Fset_window_combination_limit): Fix
      doc-strings.
      
      * elisp.texi (Top): Add Recombining Windows to menu.
      * windows.texi (Recombining Windows): New subsection.
      (Splitting Windows): Rewrite text on handling of window
      combinations and move it to new subsection.
      fdaf534a
  10. 06 Nov, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #12811 with scrolling under scroll-up/down-aggressively. · acf93bcf
      Eli Zaretskii authored
       src/xdisp.c (try_scrolling): Fix correction of aggressive-scroll
       amount when the scroll margins are too large.  When scrolling
       backwards in the buffer, give up if cannot reach point or the
       scroll margin within a reasonable number of screen lines.  Fixes
       point position in window under scroll-up/down-aggressively when
       point is positioned many lines beyond the window top/bottom.
      acf93bcf
  11. 05 Nov, 2012 1 commit
  12. 03 Nov, 2012 4 commits
  13. 01 Nov, 2012 1 commit
  14. 31 Oct, 2012 4 commits
    • Paul Eggert's avatar
      Spelling fixes. · 5c6ce1c7
      Paul Eggert authored
      5c6ce1c7
    • Paul Eggert's avatar
      Fix crash when using Emacs as commit editor for git. · 322aea6d
      Paul Eggert authored
      * callproc.c (setpgrp): Remove macro, as we now use setpgid
      and it is configured in conf_post.h.
      (Fcall_process): Don't invoke both setsid and setpgid; the former
      is enough, if it exists.
      * callproc.c (Fcall_process, child_setup):
      * process.c (create_process): Use setpgid.
      * conf_post.h (setpgid) [!HAVE_SETPGID]: New macro, which substitutes
      for the real thing.
      * dispnew.c (init_display): Initialize the foreground group
      if we are running a tty display.
      * emacs.c (main): Do not worry about setpgrp; init_display does it now.
      * lisp.h (init_foreground_group): New decl.
      * sysdep.c (inherited_pgroup): New static var.
      (init_foreground_group, tcsetpgrp_without_stopping)
      (narrow_foreground_group, widen_foreground_group): New functions.
      (init_sys_modes): Narrow foreground group.
      (reset_sys_modes): Widen foreground group.
      
      Fixes: debbugs:12697
      322aea6d
    • Michael Albinus's avatar
    • Martin Rudalics's avatar
      Install fixes for Bug#12764 and Bug#12766. · 218e997a
      Martin Rudalics authored
      * window.el (quit-restore-window): If the window has been
      created on an existing frame and ended up as the sole window on
      that frame, do not delete it (Bug#12764).
      
      * minibuf.c (read_minibuf): Restore current buffer since
      choose_minibuf_frame calling Fset_frame_selected_window may
      change it (Bug#12766).
      218e997a
  15. 30 Oct, 2012 4 commits
  16. 29 Oct, 2012 1 commit
    • Daniel Colascione's avatar
      2012-10-29 Daniel Colascione <dancol@dancol.org> · ba116008
      Daniel Colascione authored
      cygw32.h, cygw32.c (Qutf_16le, from_unicode, to_unicode): In
      preparation for fixing bug#12739, move these functions from
      here...
      
      * coding.h, coding.c: ... to here, and compile them only when
      WINDOWSNT or HAVE_NTGUI.  Moving these functions out of cygw32
      proper lets us write cygw32-agnostic code for the HAVE_NTGUI case.
      ba116008
  17. 28 Oct, 2012 3 commits
    • Eli Zaretskii's avatar
      Don't use CLOCKS_PER_SEC in w32 timers. · 640bf8ad
      Eli Zaretskii authored
       src/w32proc.c (TIMER_TICKS_PER_SEC): New macro.
       (timer_loop, getitimer, setitimer): Use it instead of
       CLOCKS_PER_SEC, which is no longer pertinent, since we don't use
       'clock'.
       (w32_get_timer_time): Use 10*TIMER_TICKS_PER_SEC instead of a
       literal 10000.
      640bf8ad
    • Jan Djärv's avatar
      * nsterm.m (NO_APPDEFINED_DATA): New define. · 64ccff5f
      Jan Djärv authored
      (last_appdefined_event_data): New variable
      (last_appdefined_event): Remove.
      (ns_select): Initialize t from last_appdefined_event_data instead
      of [last_appdefined_event data1].
      (sendEvent:): Save [theEvent data1] to last_appdefined_event_data,
      remove last_appdefined_event.
      
      Fixes: debbugs:12698
      64ccff5f
    • Stefan Monnier's avatar
      e483264c
  18. 27 Oct, 2012 4 commits
    • Eli Zaretskii's avatar
      Fix compiler warnings in w32proc.c. · 2f246cd3
      Eli Zaretskii authored
       src/w32proc.c (sys_spawnve): Avoid compiler warning about format mismatch.
       (timer_loop): Remove unused variable.
      2f246cd3
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix a typo in a comment. · 15cc05e9
      Eli Zaretskii authored
      15cc05e9
    • Eli Zaretskii's avatar
      Fix w32 implementation of itimers: overflow and ITIMER_PROF. · 6c16c13e
      Eli Zaretskii authored
       Avoid overflow in w32 implementation of interval timers.  When
       possible, for ITIMER_PROF count only times the main thread
       actually executes.
      
       src/w32proc.c <struct itimer_data>: 'expire' and 'reload' are now
       ULONGLONG types.  Likewise for all the other data which was
       previously clock_t.
       (GetThreadTimes_Proc): New typedef.
       (w32_get_timer_time): New function, returns a suitable time value
       for the timer.
       (timer_loop): Enter critical section when accessing ULONGLONG
       values of the itimer_data struct, as these accesses are no longer
       atomic.  Call 'w32_get_timer_time' instead of 'clock'.
       (init_timers): Initialize s_pfn_Get_Thread_Times.
       (start_timer_thread): Don't assign itimer->caller_thread here.
       (getitimer): Assign itimer->caller_thread here.
       (setitimer): Always call getitimer to get the value of ticks_now.
      6c16c13e
  19. 26 Oct, 2012 1 commit
  20. 25 Oct, 2012 1 commit
    • Paul Eggert's avatar
      Don't assume process IDs fit in int. · 69deda53
      Paul Eggert authored
      * emacs.c (shut_down_emacs) [!DOS_NT]:
      * sysdep.c (sys_suspend) [SIGTSTP && !MSDOS]:
      * term.c (dissociate_if_controlling_tty) [!DOS_NT]:
      Use pid_t, not int, to store process IDs, as 'int'
      is not wide enough on a few platforms (e.g., AIX and IRIX).
      69deda53
  21. 23 Oct, 2012 2 commits
  22. 21 Oct, 2012 1 commit