1. 12 Jul, 2010 5 commits
    • Andreas Schwab's avatar
      Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS · e6cfa7c3
      Andreas Schwab authored
      * configure.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
      (PROFILING_LDFLAGS): Substitute, don't add them to CFLAGS/LDFLAGS.
      (C_OPTIMIZE_SWITCH): Remove.
      (TEMACS_LDFLAGS2): Add ${PROFILING_LDFLAGS}.
      
      * lib-src/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
      (PROFILING_LDFLAGS): Set from substitution.
      (BASE_CFLAGS): Add  ${C_WARNINGS_SWITCH}.
      (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
      (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
      
      * lwlib/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from
      substitution.
      (ALL_CFLAGS): Add ${C_WARNINGS_SWITCH} and ${PROFILING_CFLAGS}.
      
      * oldXMenu/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from
      substitution.
      (ALL_CFLAGS): Add ${C_WARNINGS_SWITCH} and ${PROFILING_CFLAGS}.
      
      * src/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
      (PROFILING_LDFLAGS): Set from substitution.
      (ALL_CFLAGS): Add C_WARNINGS_SWITCH and PROFILING_CFLAGS, put
      CFLAGS last.
      e6cfa7c3
    • Eli Zaretskii's avatar
      MS-Windows follow-up for 2010-07-12T05:25:46Z!handa@etlken. · f09e4c6b
      Eli Zaretskii authored
       makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc.
      f09e4c6b
    • Kenichi Handa's avatar
      Improve Hebrew rendering. · 6f2cdcd1
      Kenichi Handa authored
      6f2cdcd1
    • Kenichi Handa's avatar
      merge trunk · 23003684
      Kenichi Handa authored
      23003684
    • Kenichi Handa's avatar
      Add ChangeLog · 892dd565
      Kenichi Handa authored
      892dd565
  2. 11 Jul, 2010 16 commits
    • Chong Yidong's avatar
    • Andreas Schwab's avatar
      * blockinput.h: Remove obsolete comment. · c8fc18ee
      Andreas Schwab authored
      c8fc18ee
    • Andreas Schwab's avatar
      Use offsetof instead of own definition · 89887d67
      Andreas Schwab authored
      * lisp.h: Include <stddef.h>.
      (OFFSETOF): Don't define.
      (VECSIZE): Use offsetof instead of OFFSETOF.
      (PSEUDOVECSIZE): Likewise.
      * process.c (conv_sockaddr_to_lisp): Likewise.
      * alloc.c: Don't include <stddef.h>.
      * buffer.h (PER_BUFFER_VAR_OFFSET): Use offsetof.
      89887d67
    • Andreas Schwab's avatar
      * process.c: Remove obsolete comment. · ae96d47a
      Andreas Schwab authored
      ae96d47a
    • Chong Yidong's avatar
    • Eli Zaretskii's avatar
      Remove redundant definitions of HAVE_STRCHR and HAVE_STRRCHR for MS-DOS. · 4ea6cb0a
      Eli Zaretskii authored
       sed2v2.inp (HAVE_STRCHR, HAVE_STRRCHR): Don't edit, already
       defined on <sys/config.h>.
      4ea6cb0a
    • Andreas Schwab's avatar
      Use strchr, strrchr instead of index, rindex · 8966b757
      Andreas Schwab authored
      * callint.c (Fcall_interactively): Use strchr, strrchr instead of
      index, rindex.
      * doc.c (get_doc_string, Fsnarf_documentation): Likewise.
      * editfns.c (Fuser_full_name, Fformat): Likewise.
      * emacs.c (argmatch, sort_args, decode_env_path): Likewise.
      * fileio.c (Ffile_symlink_p): Likewise.
      * filelock.c (current_lock_owner): Likewise.
      * font.c (font_parse_name, font_parse_family_registry): Likewise.
      * fontset.c (fontset_pattern_regexp): Likewise.
      * lread.c (read1): Likewise.
      * sysdep.c (init_system_name): Likewise.
      * xfns.c (select_visual): Likewise.
      * s/hpux10-20.h (index, rindex): Don't define.
      * s/ms-w32.h (index): Likewise.
      * s/usg5-4.h: Likewise.
      
      * sed2v2.inp (HAVE_INDEX, HAVE_RINDEX): Don't edit.
      (HAVE_STRCHR, HAVE_STRRCHR): Edit to 1.
      
      * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
      index, rindex.
      * movemail.c (mail_spool_name, popmail): Likewise.
      * pop.c (pop_list): Likewise.
      
      * CPP-DEFINES (HAVE_INDEX, HAVE_RINDEX): Remove.
      
      * configure.in: Don't check for index and rindex, check for strchr
      and strrchr.  Define strchr and strrchr as index and rindex,
      resp., in src/config.h if not available.
      8966b757
    • Andreas Schwab's avatar
      cf237e27
    • Andreas Schwab's avatar
      Constify functions taking char * · a8fe7202
      Andreas Schwab authored
      * alloc.c (pending_malloc_warning, malloc_warning): Add const.
      * callproc.c (relocate_fd, getenv_internal_1, getenv_internal)
      (egetenv): Likewise.
      * doprnt.c (doprnt): Likewise.
      * editfns.c (set_time_zone_rule, format2): Likewise.
      * emacs.c (decode_env_path): Likewise.
      * eval.c (signal_error, error): Likewise.
      * insdel.c (replace_range_2): Likewise.
      * keyboard.c (cmd_error_internal): Likewise.
      * lread.c (isfloat_string, make_symbol, dir_warning): Likewise.
      * print.c (write_string, write_string_1, print_error_message):
      Likewise.
      * vm-limit.c (warn_function, memory_warnings): Likewise.
      * xdisp.c (message1, message1_nolog, message_with_string)
      (vmessage, message, message_nolog): Likewise.
      * emacs.c: Remove duplicate declaration.
      * keyboard.h: Likewise.
      * lisp.h: Update prototypes.
      a8fe7202
    • Andreas Schwab's avatar
      Fix indentation problem · bb8e180f
      Andreas Schwab authored
      bb8e180f
    • Andreas Schwab's avatar
      Fix implicit declaration of kbd_on_hold_p · 83380e65
      Andreas Schwab authored
      * keyboard.c: Include "process.h"
      83380e65
    • Andreas Schwab's avatar
      Remove obsolete noinline declaration · a64df650
      Andreas Schwab authored
      * eval.c (apply1, call2): Don't declare noinline.
      * fns.c (concat): Likewise.
      a64df650
    • Michael Albinus's avatar
      * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass · 3277c1ee
      Michael Albinus authored
      empty argument to gvfs-copy.
      3277c1ee
    • Ken Raeburn's avatar
      Make doprnt and related functions ANSI C compliant, with prototypes. · 6a8033e1
      Ken Raeburn authored
      * doprnt.c (doprnt): Take a va_list argument instead of count and
      pointer.
      * eval.c (error): Change to a standard-C variadic function.
      * xdisp.c (vmessage): Renamed from message, made static, and
      changed to take a va_list argument.
      (message): New variadic wrapper.
      (message_nolog): Now a variadic function, calling vmessage.
      * lisp.h: Include stdarg.h for va_list.
      (doprnt, error, message, message_nolog): Decls updated.
      6a8033e1
    • Eli Zaretskii's avatar
      Fix bug #6603. · 994a7c3b
      Eli Zaretskii authored
       makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscrobe.o, and unexw32.o.
      994a7c3b
    • Eli Zaretskii's avatar
      Don't use `subprocesses' in msdos.c. · 462aa963
      Eli Zaretskii authored
       msdos.c (syms_of_msdos) <delete-exited-processes>: Remove DEFVAR.
       (delete_exited_processes): Don't define.
       process.c (syms_of_process) <delete-exited-processes>: Define
       even if !subprocesses.
       (delete_exited_processes): Ditto.
      462aa963
  3. 10 Jul, 2010 8 commits
  4. 09 Jul, 2010 7 commits
  5. 08 Jul, 2010 4 commits
    • Dan Nicolaescu's avatar
      * configure.in: Use -Wold-style-definition if available. · 45871610
      Dan Nicolaescu authored
      This helps with the transition to standard C code, it can be
      removed when done.
      45871610
    • Dan Nicolaescu's avatar
      Convert DEFUNs to standard C. · 5842a27b
      Dan Nicolaescu authored
      * src/alloc.c: Convert DEFUNs to standard C.
      * src/buffer.c:
      * src/bytecode.c:
      * src/callint.c:
      * src/callproc.c:
      * src/casefiddle.c:
      * src/casetab.c:
      * src/category.c:
      * src/character.c:
      * src/charset.c:
      * src/chartab.c:
      * src/cmds.c:
      * src/coding.c:
      * src/composite.c:
      * src/data.c:
      * src/dbusbind.c:
      * src/dired.c:
      * src/dispnew.c:
      * src/doc.c:
      * src/dosfns.c:
      * src/editfns.c:
      * src/emacs.c:
      * src/eval.c:
      * src/fileio.c:
      * src/filelock.c:
      * src/floatfns.c:
      * src/fns.c:
      * src/font.c:
      * src/fontset.c:
      * src/frame.c:
      * src/fringe.c:
      * src/image.c:
      * src/indent.c:
      * src/insdel.c:
      * src/keyboard.c:
      * src/keymap.c:
      * src/lread.c:
      * src/macros.c:
      * src/marker.c:
      * src/menu.c:
      * src/minibuf.c:
      * src/msdos.c:
      * src/nsfns.m:
      * src/nsmenu.m:
      * src/nsselect.m:
      * src/print.c:
      * src/process.c:
      * src/search.c:
      * src/sound.c:
      * src/syntax.c:
      * src/term.c:
      * src/terminal.c:
      * src/textprop.c:
      * src/undo.c:
      * src/w16select.c:
      * src/w32console.c:
      * src/w32fns.c:
      * src/w32font.c:
      * src/w32menu.c:
      * src/w32proc.c:
      * src/w32select.c:
      * src/window.c:
      * src/xdisp.c:
      * src/xfaces.c:
      * src/xfns.c:
      * src/xmenu.c:
      * src/xselect.c:
      * src/xsettings.c:
      * src/xsmfns.c: Likewise.
      5842a27b
    • Eli Zaretskii's avatar
      71c44c04
    • Eli Zaretskii's avatar
      Fix MS-DOS configury. · e3d5fd37
      Eli Zaretskii authored
       sed1v2.inp (stamp-oldxmenu): Don't edit out in `temacs:' target,
       which doesn't exist.
       sed2v2.inp (HAVE_MEMCPY): Don't edit, already defined on <sys/config.h>.
      e3d5fd37