1. 26 Jun, 2012 11 commits
    • Eli Zaretskii's avatar
      Define HAVE_STRCASECMP and HAVE_STRNCASECMP on MS-Windows. · f6f62d1b
      Eli Zaretskii authored
       src/s/ms-w32.h (strcasecmp, strncasecmp) [_MSC_VER]: Redirect to
       _stricmp and _strnicmp.
    • Eli Zaretskii's avatar
      Fix parallel bootstrap on MS-Windows in lib/ and lisp/. · cc06e7e7
      Eli Zaretskii authored
       lib/makefile.w32-in ($(GNULIBOBJS)): Depend on stamp_BLD.  This
       replaces separate dependency for each object file, which required
       the same object file to be mentioned twice, causing failures in
       parallel builds.
       lisp/makefile.w32-in (compile, compile-always): Depend on
       update-subdirs, not on subdirs.el.  Otherwise, several different
       sub-targets of 'bootstrap' running in parallel could
       simultaneously write to subdirs.el, producing a garbled file.
    • Sam Steingold's avatar
      * lisp/files.el (file-name-base): New convenience function. · d2c32364
      Sam Steingold authored
      * lisp/autoinsert.el, lisp/cus-dep.el, lisp/doc-view.el, lisp/image-dired.el,
      * lisp/woman.el, lisp/eshell/esh-cmd.el, lisp/progmodes/ada-xref.el,
      * lisp/progmodes/cc-defs.el, lisp/progmodes/cperl-mode.el,
      * lisp/progmodes/flymake.el, lisp/progmodes/gud.el, lisp/progmodes/idlwave.el,
      * lisp/textmodes/ispell.el, lisp/textmodes/reftex-ref.el,
      * lisp/textmodes/tex-mode.el: Use it.
      Did not touch cedet and org because they are maintained elsewhere.
    • Dmitry Antipov's avatar
      * alloc.c (allocate_window): Zero out non-Lisp part of newly · 62efea5e
      Dmitry Antipov authored
      allocated window.
      (allocate_process): Likewise for new process.
      (allocate_terminal): Changed to use offsetof.
      (allocate_frame): Likewise.
      * frame.c (make_frame): Omit redundant initialization.
      * window.c (make_parent_window): Use memset.
      (make_window): Omit redundant initialization.
      * process.c (make_process): Omit redundant initialization.
      * terminal.c (create_terminal): Likewise.
    • Glenn Morris's avatar
      Auto-commit of generated files. · 995a5515
      Glenn Morris authored
    • Martin Rudalics's avatar
      In calendar-exit don't try to delete or iconify last frame. · 5cf983b2
      Martin Rudalics authored
      * calendar/calendar.el (calendar-exit): Don't try to delete or
      iconify last frame.  See:
    • Dmitry Antipov's avatar
    • Dmitry Antipov's avatar
      * src/alloc.c: Remove build_string. · 1130ecfc
      Dmitry Antipov authored
      * src/lisp.h: Define build_string as static inline.  This provides
      a better opportunity to optimize away calls to strlen when the
      function is called with compile-time constant argument.
      * src/image.c (imagemagick_error): Convert to build_string.
      * src/w32proc.c (sys_spawnve): Likewise.
      * src/xterm.c (x_term_init): Likewise.
      * admin/coccinelle/build_string.cocci: Semantic patch
      to convert from make_string to build_string.
    • Paul Eggert's avatar
      Use sprintf return value instead of invoking strlen on result. · 99027bdd
      Paul Eggert authored
      In the old days this wasn't portable, since some sprintf
      implementations returned char *.  But they died out years ago and
      Emacs already assumes sprintf returns int.
      Similarly for float_to_string.
      This patch speeds up (number-to-string 1000) by 3% on Fedora 15 x86-64.
      * ccl.c (ccl_driver):
      * character.c (string_escape_byte8):
      * data.c (Fnumber_to_string):
      * doprnt.c (doprnt):
      * print.c (print_object):
      * xdisp.c (message_dolog):
      * xfns.c (syms_of_xfns):
      Use sprintf or float_to_string result to avoid need to call strlen.
      * data.c (Fnumber_to_string):
      Use make_unibyte_string, since the string must be ASCII.
      * lisp.h, print.c (float_to_string): Now returns int length.
      * term.c (produce_glyphless_glyph):
      Use sprintf result rather than recomputing it.
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      * Makefile.in (ALL_CFLAGS): Add -I../lib -I${srcdir}/../lib. · 414e642c
      Paul Eggert authored
      This is needed for hosts that lack <alloca.h>, when Emacs is
      configured --with-x-toolkit=no.  Problem reported by Herbert
      J. Skuhra for FreeBSD.
  2. 25 Jun, 2012 10 commits
  3. 24 Jun, 2012 15 commits
  4. 23 Jun, 2012 4 commits