1. 16 Aug, 2013 1 commit
    • Xue Fuqiao's avatar
      Remove documentation of undefined behavior. · 2bede2ed
      Xue Fuqiao authored
      * doc/lispref/positions.texi (Character Motion):
      * doc/lispref/markers.texi (Moving Markers):
      (Creating Markers): Comment out undefined behavior.
      
      * src/marker.c (set_marker): Remove documentation of undefined behavior.
      2bede2ed
  2. 15 Aug, 2013 14 commits
  3. 14 Aug, 2013 13 commits
  4. 13 Aug, 2013 12 commits
    • Paul Eggert's avatar
      * decompress.c: Minor simplifications. · 2d065031
      Paul Eggert authored
      (Fzlib_decompress_region): Don't bother verifying
      that avail_out <= UINT_MAX, as that was confusing.
      Mention the restriction in a comment instead.
      Prefer 'int' to 'ptrdiff_t' when 'int' is wide enough.
      2d065031
    • Jan Djärv's avatar
      Fix OSX 10.4 compiler errors. · a5bd5abb
      Jan Djärv authored
      * nsmenu.m (x_activate_menubar): Check for OSX >= 10.5
      (trackingNotification:): Call ns_check_menu_open only for OSX >= 10.5.
      a5bd5abb
    • Lars Magne Ingebrigtsen's avatar
    • Eli Zaretskii's avatar
      Fix the Windows build broken by 2013-08-13T15:29:25Z!dmantipov@yandex.ru. · 2fa611b7
      Eli Zaretskii authored
       src/window.c (Fwindow_margins): Return nil when there's no marginal
       area, as per the documented API.
       src/w32term.c (x_scroll_bar_create): Use ALLOCATE_PSEUDOVECTOR, not
       Fmake_vector, as scroll bar's struct members are not all Lisp
       objects now.  This avoids crashes in GC.
       src/w32term.h (struct scroll_bar): Convert fringe_extended_p to a
       bool, so its address could be taken.
      2fa611b7
    • Lars Magne Ingebrigtsen's avatar
      Enable giving hints to ImageMagick via :content-type · 8259030d
      Lars Magne Ingebrigtsen authored
      2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
      
      	* image.el (image-content-type-suffixes): New variable.
      
      2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
      
      	* image.c (imagemagick_filename_hint): New function to possibly
      	apply `image-content-type-suffixes'.
      	(imagemagick_load_image): Use it.
      8259030d
    • Eli Zaretskii's avatar
      Fail zlib-decompress-region if loading zlib on Windows failed. · 866c710e
      Eli Zaretskii authored
       src/decompress.c (Fzlib_decompress_region) [WINDOWSNT]: Return Qnil
       if loading zlib failed.
      866c710e
    • Jan Djärv's avatar
      Fix NS compile breakage. · 96311be7
      Jan Djärv authored
      * nsterm.m (ns_set_vertical_scroll_bar): Fix breakage intruduced by
      2013-08-13 checkin below.  Change bool to BOOL, rule is:
      All Obj-C code uses BOOL, except for interfaces callable from C.
      96311be7
    • Jan Djärv's avatar
      * nsterm.h: Fix CGFloat for OSX 10.4. · f10490f0
      Jan Djärv authored
      Fixes: debbugs:15086
      f10490f0
    • Dmitry Antipov's avatar
      * window.h (WINDOW_FRINGE_EXTENDED_P): New macro. · c8ae93b0
      Dmitry Antipov authored
      * nsterm.m (ns_set_vertical_scroll_bar): Use it.  Use convenient
      bool instead of BOOL.
      * w32term.h (struct scroll_bar): Convert fringe_extended_p
      from Lisp_Object to bitfield.  Adjust comment.
      * w32term.c (x_scroll_bar_create): Adjust user.
      Use WINDOW_FRINGE_EXTENDED_P and bool for boolean.
      * xterm.c (XTset_vertical_scroll_bar): Likewise.
      Use bool for boolean.
      * xterm.h (struct scroll_bar): Prefer commonly used `unsigned'
      to `unsigned int' when defining a bitfield.
      c8ae93b0
    • Paul Eggert's avatar
    • Dmitry Antipov's avatar
      * window.h (struct window): Convert left_margin_cols and · eeaf9bf3
      Dmitry Antipov authored
      right_margin_cols from Lisp_Objects to integers.  Adjust comment.
      (WINDOW_LEFT_MARGIN_COLS, WINDOW_RIGHT_MARGIN_COLS)
      (WINDOW_LEFT_MARGIN_WIDTH, WINDOW_RIGHT_MARGIN_WIDTH):
      Adjust users.
      * dispnew.c (margin_glyphs_to_reserve): Convert 3rd arg to int.
      Adjust comment.
      (showing_window_margins_p, update_window_line, update_frame_1):
      * fringe.c (draw_fringe_bitmap_1):
      * xdisp.c (window_box_width): Adjust users.
      * window.c (wset_left_margin_cols, wset_right_margin_cols): Remove.
      (adjust_window_margins, set_window_buffer, Fsplit_window_internal):
      Use direct assignment.
      (Fset_window_configuration, save_window_save, Fwindow_margins):
      Convert Lisp_Object to integer and back where appropriate.
      (Fset_window_margins): Adjust user.  Return t if any margin
      was actually changed, and mention this in docstring.
      eeaf9bf3
    • Xue Fuqiao's avatar
      Doc fix for forward-word and backward-word. · f73f4ce6
      Xue Fuqiao authored
      * doc/lispref/positions.texi (Word Motion): Remove redundant sentence.
      * lisp/simple.el (backward-word): Mention the optional argument.
      * src/syntax.c (forward_word): Mention the optional argument.
      f73f4ce6