1. 28 May, 2010 1 commit
  2. 27 May, 2010 1 commit
    • Glenn Morris's avatar
      Do not preprocess src/Makefile.in. · 81ac4f35
      Glenn Morris authored
      * configure.in: Do not preprocess src/Makefile.in.
      (cpp_undefs, CPP_NEED_TRADITIONAL): Remove.
      (AC_EGREP_CPP): Test no longer needed.
      * configure: Regenerate.
      
      * config.bat: Do not preprocess src/Makefile.in.
      
      * make-dist: No more Makefile.c files.
      
      * INSTALL, src/README: Makefiles are not preprocessed.
      
      * src/Makefile.in, src/autodeps.mk, src/deps.mk, src/ns.mk:
      Convert comments to Makefile format.
      
      * lib-src/Makefile.in (distclean): No more Makefile.c.
      * src/Makefile.in (bootstrap-clean): No more Makefile.c.
      
      * admin/notes/cpp: Remove file.
      
      * admin/quick-install-emacs (AVOID): No more Makefile.c files.
      
      * etc/PROBLEMS, etc/MACHINES: Remove details of cpp problems which can
      no longer occur.
      81ac4f35
  3. 26 May, 2010 3 commits
    • Glenn Morris's avatar
      Replace YMF_PASS_LDFLAGS with autoconf. · 90278cb6
      Glenn Morris authored
      * configure.in (YMF_PASS_LDFLAGS): Remove.
      (PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): New output variables.
      * configure: Regenerate.
      
      * src/Makefile.in (YMF_PASS_LDFLAGS): Remove.
      (temacs${EXEEXT}): Use PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS.
      
      * msdos/sed1v2.inp (@PRE_EDIT_LDFLAGS@, @POST_EDIT_LDFLAGS@): Edit to nothing.
      90278cb6
    • Glenn Morris's avatar
      Remove some NS_IMPL_GNUSTEP build dead code. · ccd89fb3
      Glenn Morris authored
      * configure.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS)
      (GNUSTEP_MAKEFILES): Remove.
      (LD_SWITCH_SYSTEM_TEMACS): Move NS_IMPL_GNUSTEP_TEMACS_LDFLAGS
      stuff to here.
      
      * src/Makefile.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
      Remove.
      (TEMACS_LDFLAGS): Do not use NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
      
      * msdos/sed1v2.inp (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
      No longer present.
      
      Comments:
      See http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00846.html.
      Nothing from gui.make was used at all in src/Makefile.in.  The only
      thing used from base.make was $CONFIG_SYSTEM_LIBS, but because we only
      set shared _after_ sourcing base.make, it was always empty.  We can
      move the remaining flags, set in configure, to the standard variable
      LD_SWITCH_SYSTEM_TEMACS.
      ccd89fb3
    • Kenichi Handa's avatar
      Fix for finding a static composition. · b7050583
      Kenichi Handa authored
      b7050583
  4. 25 May, 2010 5 commits
  5. 24 May, 2010 1 commit
  6. 23 May, 2010 1 commit
  7. 22 May, 2010 4 commits
  8. 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
  9. 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
  10. 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
  11. 18 May, 2010 7 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