1. 08 Nov, 2011 12 commits
  2. 07 Nov, 2011 11 commits
  3. 06 Nov, 2011 6 commits
    • Glenn Morris's avatar
    • Paul Eggert's avatar
      Fix some portability problems with 'inline'. · cb41b32a
      Paul Eggert authored
      * dispextern.h (window_box, window_box_height, window_text_bottom_y)
      (window_box_width, window_box_left, window_box_left_offset)
      (window_box_right, window_box_right_offset): Declare extern.
      Otherwise, these inline functions do not conform to C99 and
      are miscompiled by Microsoft compilers.  Reported by Eli Zaretskii in
      * intervals.c (adjust_intervals_for_insertion)
      (adjust_intervals_for_deletion): Now extern, because otherwise the
      extern inline functions 'offset_intervals' couldn't refer to it.
      (static_offset_intervals): Remove.
      (offset_intervals): Rewrite using the old contents of
      static_offset_intervals.  The old version didn't conform to C99
      because an extern inline function contained a reference to an
      identifier with static linkage.
    • Andreas Schwab's avatar
    • Eli Zaretskii's avatar
      Fix bug #9963 with abort in "temacs -nw". · 88a37c4d
      Eli Zaretskii authored
       src/xdisp.c (init_iterator, reseat_to_string): Don't set the
       iterator's bidi_p flag if Vpurify_flag is non-nil.
       (Fcurrent_bidi_paragraph_direction): If Vpurify_flag is non-nil,
       return Qleft_to_right.
    • Chong Yidong's avatar
      Manual updates for window changes. · 291d142b
      Chong Yidong authored
      * doc/emacs/windows.texi (Basic Window): Add xref to Cursor Display.
      (Split Window): Document negative arg for splitting commands.
      (Other Window): Document mouse-1 in text area of window.
      (Change Window): Don't mention window attributes, since they
      aren't defined.  C-x 1 can't be used with minibuffer windows.
      Windows are no longer auto-deleted.
      (Window Choice): Add xref to Choosing Window in Lisp manual.
      (Window Convenience): Note that windmove disables shift-selection.
      Move M-x compare-windows here from Other Window node.
      * doc/emacs/custom.texi (Mouse Buttons):
      * doc/emacs/search.texi (Isearch Scroll):
      * doc/emacs/windows.texi (Split Window): Use new names split-window-below
      and split-window-right.
      * doc/lispref/windows.texi (Basic Windows): Clarify various definitions.
      Treat window-normalize-* as internal; don't document them.
      (Windows and Frames): Various clarifications, e.g. non-live
      windows also belong to frames.  Fix window-list description.
      Simplify window nesting example.
      (Splitting Windows, Window Configurations): Use
    • Chong Yidong's avatar
      Delete window-combination-p; tweaks to window-top-child and window-left-child. · 49745b39
      Chong Yidong authored
      * lisp/window.el (window-combination-p): Function deleted; its
      side-effect is not used in any existing code.
      (window-combinations, window-combined-p): Call window-*-child
      * window.c (Fwindow_live_p, Fwindow_frame, Fframe_root_window)
      (Fminibuffer_window, Fwindow_buffer, Fwindow_splits)
      (Fset_window_splits, Fwindow_nest, Fset_window_nest)
      (Fwindow_use_time, Fwindow_total_size, Fwindow_normal_size)
      (Fwindow_new_normal, Fwindow_left_column, Fwindow_top_line)
      (Fwindow_margins, Fwindow_fringes, Fwindow_scroll_bars)
      (Fwindow_vscroll): Doc fix.
      (Fwindow_top_child, Fwindow_left_child): Eliminate a nil default
      argument, since it makes no sense to pass a live window and for
      consistency with window-child.
  4. 05 Nov, 2011 11 commits
    • Christoph Scholtes's avatar
    • Christoph Scholtes's avatar
      * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX) · c4c32b97
      Christoph Scholtes authored
      (intmax_t, INT64_MAX): Add for MSVC.
    • Jason Rumney's avatar
      * src/w32font.c (font_matches_spec): Filter out non-Japanese kana fonts. · 22610910
      Jason Rumney authored
      (add_font_entity_to_list): Filter out non-Japanese Shift-JIS
      (add_font_entity_to_list): Fix logic errors in mixed boolean and
      bitwise arithmetic preventing use of unicode-sip and non-truetype
      opentype fonts.
      Fixes: debbugs:6029
    • Christoph Scholtes's avatar
      Fix definition of `mode_t'. · 1e8110e7
      Christoph Scholtes authored
    • Eli Zaretskii's avatar
      Fix MSVC build in lib-src. · 3ad924ba
      Eli Zaretskii authored
       src/s/ms-w32.h (fstat, stat, utime): Move redirections to
       "emacs"-only part.
      Fixes: debbugs:99690
    • Eli Zaretskii's avatar
      Modify w32fns.c similarly to 2011-11-05T12:04:34Z!jan.h.d@swipnet.se. · a06776b2
      Eli Zaretskii authored
       src/w32fns.c (x_create_tip_frame, Fx_create_frame): Rearrange
       initialization code to keep similarity to xfns.c after changes
       from 2011-11-05.
      Fixes: debbugs:9943
    • Christoph Scholtes's avatar
    • Eli Zaretskii's avatar
      Fix compilation with MSVC in lib/. · 955f3b13
      Eli Zaretskii authored
       nt/config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
    • Jan Djärv's avatar
      * nsfns.m: Declare image_cache_refcount if GLYPH_DEBUG. · a97f8f3f
      Jan Djärv authored
      (unwind_create_frame): New function.
      (Fx_create_frame): Restructure code to be more similar to the one in
      xfns.c.  Call record_unwind_protect with unwind_create_frame (Bug#9943).
      Initialize image_cache_refcount if GLYPH_DEBUG (Bug#9943).
      Move terminal->reference_count++ just before making the frame official
      * nsterm.m (x_free_frame_resources): New function.
      (x_destroy_window): Move code to x_free_frame_resources.
    • Jan Djärv's avatar
      * xfns.c (unwind_create_frame): Fix comment. · c9e7db78
      Jan Djärv authored
      (Fx_create_frame, x_create_tip_frame): Move
      terminal->reference_count++ just before making the frame
      official. Move initialization of image_cache_refcount and
      dpyinfo_refcount before calling init_frame_faces.
      Fixes: debbugs:9943
    • Eli Zaretskii's avatar
      Support MSVC build with newer versions of Visual Studio. · a6fc3b5c
      Eli Zaretskii authored
      Small portions of the changes by Fabrice Popineau <fabrice.popineau@supelec.fr>.
       src/makefile.w32-in (TAGS-gmake): Don't use $(patsubst ...), as
       Nmake barfs on that.  Use $(OBJ*_c) variables instead, defined on
       src/lisp.h (ENUM_BF): New macro, for enumerated types in bitfields,
       which are not supported by MSVC.
       (Lisp_Symbol, Lisp_Misc_Any, Lisp_Marker, Lisp_Misc_Overlay)
       (Lisp_Save_Value, Lisp_Free): Use ENUM_BF for enumerated types in
       (Lisp_Object) [USE_LISP_UNION_TYPE]: Use ENUM_BF for enumerated
       types in bitfields.
       (DEFUN) [_MSC_VER]: Define in a different way for MSVC.
       src/w32fns.c [_MSC_VER]: DECLARE_HANDLE for any MSVC version.
       src/w32.c: Don't include w32api.h for MSVC.
       (init_environment) [_MSC_VER]: Call sys_access, not _access.
       src/s/ms-w32.h <sigset_t, ssize_t> [_MSC_VER]: Typedefs for MSVC.
       [_MSC_VER]: Include sys/timeb.h, sys/stat.h, and signal.h.
       (fstat, stat, utime) [_MSC_VER]: Redirect to their sys_* cousins.
       (malloc, free, realloc, calloc) [_MSC_VER]: Always redirect to the
       e_* cousins.
       (alloca) [_MSC_VER]: Define to _alloca.
       src/lisp.h (DECL_ALIGN) [_MSC_VER]: Define for MSVC.
       src/regex.c <re_char> [_MSC_VER]: A separate definition for MSVC.
       nt/makefile.w32-in (clean-other-dirs-nmake)
       (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
       Update for current structure of doc/ subdirectories.
       nt/gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
       nt/INSTALL: Update for newer versions of MSVC.
       lib/makefile.w32-in (FRC): New dummy target.
       (TAGS): Depend on FRC.
      Fixes: debbugs:9960