1. 25 May, 2010 4 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.
    • 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.
    • Glenn Morris's avatar
      Revert previous change. · d8ca3b11
      Glenn Morris authored
      I misunderstood EXEEXT (I don't think it can be working though).
    • 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.
    • 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.
    • 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".
    • 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.
  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'.
    • 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).
    • 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).
    • 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 ':'.
  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
       (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).
    • 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.
    • 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.
    • 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.
    • Glenn Morris's avatar
      Set linker-related things with configure. · c1d0dcfd
      Glenn Morris authored
      * configure.in (LINKER, YMF_PASS_LDFLAGS): New output variables.
      (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'.
    • 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.
  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
    • 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.
       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
    • Juanma Barranquero's avatar
      Fix ChangeLog typos. · 560bb7ae
      Juanma Barranquero authored
    • Juanma Barranquero's avatar
    • Glenn Morris's avatar
      * s/gnu-linux.h: Combine two conditionals. · 9539dc5d
      Glenn Morris authored
    • 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
    • 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.
    • 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.
  9. 17 May, 2010 2 commits
  10. 16 May, 2010 3 commits