1. 25 May, 2010 3 commits
  2. 24 May, 2010 1 commit
  3. 23 May, 2010 1 commit
  4. 22 May, 2010 4 commits
  5. 21 May, 2010 7 commits
    • Chong Yidong's avatar
      Improve image cache clearing logic (Bug#6230). · 98fe5161
      Chong Yidong authored
      * xdisp.c (redisplay_internal): Clear caches even if redisplaying
      just one window.
      
      * image.c (Vimage_cache_eviction_delay): Decrease to 300.
      (clear_image_cache): If the number of cached images is unusually
      large, decrease the cache eviction delay.
      98fe5161
    • enami tsugutomo's avatar
      Backport from trunk: close bug#6190. · f5b416d2
      enami tsugutomo authored
      * src/s/netbsd.h: If terminfo is found, use it in preference to termcap.
      f5b416d2
    • Glenn Morris's avatar
      Revert previous change. · d8ca3b11
      Glenn Morris authored
      I misunderstood EXEEXT (I don't think it can be working though).
      d8ca3b11
    • Glenn Morris's avatar
      Minor Makefile fix. · c468346e
      Glenn Morris authored
      * src/Makefile.in (temacs${EXEEXT}, prefix-args, mostlyclean):
      prefix-args neither gets nor needs the $EXEEXT extension.
      c468346e
    • Glenn Morris's avatar
      Handle some HAVE_NS Makefile conditionals with configure. · 66dbf213
      Glenn Morris authored
      * configure.in (ns_frag): New output file.
      
      * src/Makefile.in (${ns_appdir}, ${ns_appbindir}Emacs, ns-app):
      Move these rules to ns.mk.
      * ns.mk: New file.  Copyright years based on date of nextstep merge.
      
      * msdos/sed1v2.inp(@ns_frag@): Edit to nothing.
      66dbf213
    • Glenn Morris's avatar
      Build simplifications for oldxmenu. · 04384b2d
      Glenn Morris authored
      * configure.in (OLDXMENU): Set to "nothing" if !HAVE_X11 || USE_GTK.
      (OLDXMENU_TARGET): Set to empty if USE_GTK.
      
      * src/Makefile.in (../src/$(OLDXMENU), $(OLDXMENU)): Always define rules.
      
      * msdos/sed1x.inp (OLDXMENU): Replace any initial value.
      * msdos/sed1v2.inp (OLDXMENU): Edit to "nothing".
      04384b2d
    • Glenn Morris's avatar
      Handle CANNOT_DUMP (partially) with configure. · e8752c66
      Glenn Morris authored
      * configure.in (cannot_dump): New output variable.
      
      * src/Makefile.in (CANNOT_DUMP): New, set by configure.
      (emacs${EXEEXT}, bootstrap-emacs${EXEEXT}): Use $CANNOT_DUMP.
      
      * msdos/sed1v2.inp (CANNOT_DUMP): Edit to no.
      e8752c66
  6. 20 May, 2010 4 commits
    • Juri Linkov's avatar
      * fileio.c (Fdelete_file): Change interative spec to use · 2e2bbddb
      Juri Linkov authored
      `read-file-name' like in `find-file-read-args' where the default
      value is `default-directory' instead of `buffer-file-name'.
      http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00533.html
      2e2bbddb
    • Kevin Ryde's avatar
      Doc fix (Bug#6224). · 31c4aaf6
      Kevin Ryde authored
      * keyboard.c (Vlast_command, Vkeyboard_translate_table)
      (Voverriding_terminal_local_map, Vsystem_key_alist)
      (Vlocal_function_key_map): Fix manual link in docstring (Bug#6224).
      31c4aaf6
    • Chong Yidong's avatar
      Doc fix (Bug#6224). · aeb77d46
      Chong Yidong authored
      * keyboard.c (Vlast_command, Vkeyboard_translate_table)
      (Voverriding_terminal_local_map, Vsystem_key_alist)
      (Vlocal_function_key_map): Fix manual link in docstring (Bug#6224).
      aeb77d46
    • Glenn Morris's avatar
      Handle auto-depend with configure. · 9d5cf9b6
      Glenn Morris authored
      * make-dist (src): Include *.mk.
      * config.bat: Concatenate deps.mk onto the end of src/Makefile.
      * configure.in (DEPFLAGS, MKDEPDIR): New output variables.
      (deps_frag): New output file.
      (AUTO_DEPEND): Remove this definition.
      
      * src/Makefile.in (DEPDIR): New constant.
      (DEPFLAGS): Set with configure, not cpp.
      (MKDEPDIR): New, set by configure.
      (.c.o, .m.o, ecrt0.o): Use $MKDEPDIR.
      (clean): Use $DEPDIR.
      (deps_frag): Include from configure.
      Move static/dynamic dependency stuff to deps.mk/autodeps.mk.
      * src/deps.mk, src/autodeps.mk: New files, extracted from Makefile.in.
      
      * msdos/sed1v2.inp (DEPFLAGS, deps_frag): Edit to empty.
      (MKDEPDIR): Edit to ':'.
      9d5cf9b6
  7. 19 May, 2010 6 commits
    • Eli Zaretskii's avatar
      Completed initial debugging and testing of reimplemented cursor motion. · 0416466c
      Eli Zaretskii authored
       .gdbinit (prowlims): Display row->minpos and row->maxpos.
       Display truncated_on_left_p and truncated_on_right_p flags.
       Formatting fixes.
       (pmtxrows): Display the ordinal number of each row.  Don't display
       rows beyond the last one.
       xdisp.c (RECORD_MAX_MIN_POS): New macro.
       (display_line): Use it to record the minimum and maximum buffer
       positions for glyphs in the row being assembled.  If word wrap is
       in effect, restore minimum and maximum positions seen up to the
       wrap point, when iterator returns to it.
       (find_row_edges): Fix logic; eol_pos should be tested before the
       rest.
       (try_window_reusing_current_matrix): Give up if in bidi-reordered
       row and cursor not already at point.  Restore original pre-bidi
       code for unidirectional buffers.
       bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
       reallocation of the cache.  (Bug#6210)
       (bidi_cache_iterator_state): Don't zero out new_paragraph (it is
       not copied by bidi_copy_it).
      0416466c
    • Stefan Monnier's avatar
      * url-util.el (url-unhex-string): Don't accidentally decode as latin-1. · c3bb441d
      Stefan Monnier authored
      * editfns.c (Fbyte_to_string): New function.
      * NEWS: Add sections for Emacs-23.3.
      c3bb441d
    • Eli Zaretskii's avatar
      Fix bug #6210. · ead6f8f5
      Eli Zaretskii authored
       bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
       reallocation of the cache.
      ead6f8f5
    • Glenn Morris's avatar
      Minor msdos build change. · d494e8f2
      Glenn Morris authored
      * msdos/sed2v2.inp (ORDINARY_LINK): Set here rather than in s/msdos.h.
      * src/s/msdos.h (ORDINARY_LINK): Move to sed2v2.inp.
      d494e8f2
    • Glenn Morris's avatar
      Set linker-related things with configure. · c1d0dcfd
      Glenn Morris authored
      * configure.in (LINKER, YMF_PASS_LDFLAGS): New output variables.
      (ORDINARY_LINK): New AC_DEFINE.
      (LIB_GCC): No need to set if ORDINARY_LINK.
      
      * src/Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp.
      (GNULIB_VAR): Remove.
      (LIBES): Use LIB_GCC instead of GNULIB_VAR.
      
      * src/m/ibms390x.h (LINKER):
      * src/m/macppc.h (LINKER) [GNU_LINUX]:
      * src/s/aix4-2.h (ORDINARY_LINK):
      * src/s/cygwin.h (LINKER):
      * src/s/darwin.h (ORDINARY_LINK):
      * src/s/gnu.h (ORDINARY_LINK):
      * src/s/netbsd.h (LINKER):
      * src/s/usg5-4.h (ORDINARY_LINK):
      Move to configure.
      
      * msdos/sed1v2.inp (LD): Edit to $(CC).
      (YMF_PASS_LDFLAGS): Edit to `flags'.
      c1d0dcfd
    • Glenn Morris's avatar
      * s/aix4-2.h (LINKER): Remove; this file sets ORDINARY_LINK. · 7f34aec3
      Glenn Morris authored
      In any case, ORDINARY_LINK means uses the C compiler as the LINKER,
      so setting LINKER=cc is redundant.
      7f34aec3
  8. 18 May, 2010 8 commits
    • Chong Yidong's avatar
      * character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to · 754790b6
      Chong Yidong authored
      prevent stack overflow if number of arguments is too large
      (Bug#6214).
      754790b6
    • Eli Zaretskii's avatar
      Initial reimplementation of calculating line edge positions in bidi lines. · d36fe237
      Eli Zaretskii authored
       dispextern.h (struct glyph_row): New members minpos and maxpos.
       (MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS)
       (MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos
       and maxpos members instead of start.pos and end.pos, respectively.
       xdisp.c (display_line): Compare IT_CHARPOS with the position in
       row->start.pos, rather than with MATRIX_ROW_START_CHARPOS.
       (cursor_row_p): Use row->end.pos rather than MATRIX_ROW_END_CHARPOS.
       (try_window_reusing_current_matrix, try_window_id): Use
       ROW->minpos rather than ROW->start.pos.
       (init_from_display_pos, init_iterator): Use EMACS_INT for
       character and byte positions.
       (find_row_edges): Renamed from find_row_end.  Accept additional
       arguments for minimum and maximum buffer positions seen by
       display_line for this row.  Don't use iterator to find the
       position following the maximum one; instead, increment the
       position found by display_line directly.
       (display_line): Record minimum and maximum buffer positions for
       glyphs in this row.  Record the position of the newline that
       terminates the line.
       dispnew.c (increment_row_positions, check_matrix_invariants):
       Increment and check row->start.pos and row->end.pos, in addition
       to MATRIX_ROW_START_CHARPOS and MATRIX_ROW_END_CHARPOS.
      d36fe237
    • Juanma Barranquero's avatar
      Fix ChangeLog typos. · 560bb7ae
      Juanma Barranquero authored
      560bb7ae
    • Juanma Barranquero's avatar
    • Glenn Morris's avatar
      * s/gnu-linux.h: Combine two conditionals. · 9539dc5d
      Glenn Morris authored
      9539dc5d
    • Glenn Morris's avatar
      Since Cygwin does not set SYSTEM_MALLOC, $(VMLIMIT_OBJ) == vm-limit.o. · 6665f4c5
      Glenn Morris authored
      * configure.in (POST_ALLOC_OBJ) [cygwin]: Omit vm-limit.o.
      (POST_ALLOC_OBJ) [!cygwin]: Set to empty.
      
      * src/Makefile.in (otherobj): Include $(VMLIMIT_OBJ) separately from
      $(POST_ALLOC_OBJ).
      6665f4c5
    • Glenn Morris's avatar
      Set rallocobj with configure, not cpp. · 40dc6bf4
      Glenn Morris authored
      * configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC.
      (RALLOC_OBJ): New output variable.
      * config.bat (RALLOC_OBJ): Edit to empty if sys_malloc.
      
      * src/Makefile.in (RALLOC_OBJ): New, set by configure.
      (rallocobj): Replace with the previous variable.
      (otherobj): Use $RALLOC_OBJ.
      
      * src/s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]:
      * src/s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure.
      
      * msdos/sed1v2.inp (RALLOC_OBJ): Edit to ralloc.o.
      40dc6bf4
    • Glenn Morris's avatar
      Define some malloc objects with configure, not cpp. · be4ff9da
      Glenn Morris authored
      * configure.in (GMALLOC_OBJ, VMLIMIT_OBJ): New output variables.
      * config.bat (GMALLOC_OBJ, VMLIMIT_OBJ): Edit to empty if sys_malloc.
      
      * src/Makefile.in (GMALLOC_OBJ, VMLIMIT_OBJ): New, set by configure.
      (gmallocobj, vmlimitobj): Replace with previous two variables.
      (otherobj): Use $GMALLOC_OBJ, $VMLIMIT_OBJ.
      
      * msdos/sed1v2.inp (GMALLOC_OBJ): Edit to gmalloc.o.
      (VMLIMIT_OBJ): Edit to vm-limit.o.
      be4ff9da
  9. 17 May, 2010 2 commits
  10. 16 May, 2010 4 commits
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Tweak ns_app*dir values set by configure. · da53fab9
      Glenn Morris authored
      * configure.in (ns_appdir, ns_appbindir): Add trailing "/" to value.
      * Makefile.in (install-arch-dep): Update for above change.
      
      * src/Makefile.in (ns_appdir, ns_appbindir): Now configure adds the
      trailing "/".
      da53fab9
    • Glenn Morris's avatar
      Simplify temacs build rule. · b02a6645
      Glenn Morris authored
      * configure.in (TEMACS_LDFLAGS2): New output variable.
      * configure: Regenerate.
      
      * msdos/sed1v2.inp (TEMACS_LDFLAGS2): Edit to $(LDFLAGS).
      
      * src/Makefile.in (TEMACS_LDFLAGS2): New, set by configure.
      (temacs${EXEEXT}): Combine the NS_IMPL_GNUSTEP case with the default.
      b02a6645
    • Glenn Morris's avatar
      Simplify temacs build rule. · 8877ca0f
      Glenn Morris authored
      * configure.in (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New output variable.
      (START_FILES): Set to empty if NS_IMPL_GNUSTEP.
      (GNUSTEP_SYSTEM_HEADERS, GNUSTEP_SYSTEM_LIBRARIES): Do not output,
      nothing uses.
      
      * configure: Regenerate.
      
      * src/Makefile.in (GNUSTEP_SYSTEM_LIBRARIES): Remove, unused.
      (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New, set by configure.
      (LD) [NS_IMPL_GNUSTEP]: Set to $(CC) -rdynamic.
      (temacs${EXEEXT}): Remove $LOCALCPP, never defined or referenced.
      Make most of the NS_IMPL_GNUSTEP case the same as the default case.
      
      * msdos/sed1v2.inp (GNUSTEP_SYSTEM_LIBRARIES): Remove.
      (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): Edit to empty.
      8877ca0f