1. 02 Jan, 2011 1 commit
    • Glenn Morris's avatar
      Set short copyright year to 2011. · d7bfa7a1
      Glenn Morris authored
      * lib-src/ebrowse.c (version) <emacs_copyright>:
      * lib-src/etags.c (print_version) <emacs_copyright>:
      * lib-src/rcs2log (Copyright):
      * lisp/version.el (emacs-copyright):
      * nextstep/Cocoa/Emacs.base/Contents/Info.plist:
      * nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
      * nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
      Set short copyright year to 2011.
  2. 27 Nov, 2010 1 commit
  3. 15 Nov, 2010 1 commit
  4. 10 Nov, 2010 1 commit
  5. 25 Oct, 2010 1 commit
    • Glenn Morris's avatar
      Move ns-win.el's rather wacky menu adjustments to menu-bar.el. · 6a5c2175
      Glenn Morris authored
      * lisp/term/ns-win.el: Do not require easymenu.
      (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
      <spell>: Move adjustments to menu-bar.el.
      * lisp/menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
      <separator-undo, spell>: Move ns-win's adjustments here.
      * lisp/loadup.el [ns]: Do not load easymenu.
      * src/Makefile.in (SOME_MACHINE_LISP): Remove easymenu.elc.
      * lib-src/makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
  6. 23 Oct, 2010 1 commit
    • Glenn Morris's avatar
      Replace digest-doc and sorted-doc C programs with Lisp commands. · 17284e30
      Glenn Morris authored
      * lib-src/digest-doc.c, lib-src/sorted-doc.c: Remove files.
      * lib-src/Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
      (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
      * lib-src/makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
      ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
      ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
      (install): Don't install digest-doc.exe or sorted-doc.exe.
      * lisp/help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
      * doc/lispref/help.texi (Documentation Basics): Remove mentions of
      digest-doc and sorted-doc.
      * INSTALL, nt/README, nt/README.W32: Do not mention digest-doc and sorted-doc.
      * etc/NEWS: Mention this change.
  7. 20 Oct, 2010 1 commit
  8. 10 Oct, 2010 1 commit
    • Dan Nicolaescu's avatar
      Pass CFLAGS to the linker. · a4daeecf
      Dan Nicolaescu authored
      * configure.in (PROFILING_LDFLAGS): Do not define, remove all uses.
      * lib-src/Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
      * msdos/sed1v2.inp (PROFILING_LDFLAGS):
      * msdos/sed3v2.inp (PROFILING_LDFLAGS): Remove, not defined anymore.
      * src/Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line.
      (PROFILING_LDFLAGS): Remove, not needed anymore.
  9. 09 Oct, 2010 1 commit
    • Glenn Morris's avatar
      Remove lib-src/b2m.c and b2m.pl. · 3fb78d1f
      Glenn Morris authored
      Emacs does not use Babyl files since 23.1, and you can use M-x unrmail.
      * msdos/mainmake.v2 (install): Remove b2m.
      * lisp/emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
      * lib-src/b2m.c, lib-src/b2m.pl: Remove files.
      * lib-src/Makefile.in (INSTALLABLES): Remove b2m.
      * lib-src/makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
      * doc/emacs/ack.texi (Acknowledgments): No more b2m.c.
      * admin/quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove b2m.
      * INSTALL, make-dist: Remove references to b2m.
      * Makefile.in (MAN_PAGES): Remove b2m.1.
  10. 03 Oct, 2010 3 commits
  11. 02 Oct, 2010 1 commit
  12. 01 Oct, 2010 2 commits
    • Eli Zaretskii's avatar
      Support TAGS targets in the w32 build. · 73077a9a
      Eli Zaretskii authored
       nt/makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
       emacs-src.tags: New file.
       src/makefile.w32-in (TAGS, frc, TAGS-LISP, ../nt/TAGS, tags)
       (TAGS-gmake, TAGS-nmake, TAGS-LISP-gmake, TAGS-LISP-nmake)
       (nt-TAGS-gmake, nt-TAGS-nmake): New targets.
       lisp/makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
       (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
       (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
       lib-src/makefile.w32-in (tags, TAGS): New targets.
    • Glenn Morris's avatar
      Close bug#3992. · b336bfcd
      Glenn Morris authored
      * lib-src/emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
  13. 30 Sep, 2010 1 commit
  14. 29 Sep, 2010 2 commits
  15. 27 Sep, 2010 1 commit
  16. 25 Sep, 2010 1 commit
    • Ulrich Mueller's avatar
      Add more xz compression support. · 4c964351
      Ulrich Mueller authored
      * doc/man/etags.1: xz compression is now supported.
      * doc/misc/woman.texi (Interface Options): xz compression is now supported.
      * lib-src/etags.c (compressors, print_language_names): Support xz compression.
      * lisp/eshell/em-ls.el (eshell-ls-archive-regexp):
      * lisp/eshell/esh-util.el (eshell-tar-regexp):
      * lisp/ibuffer.el (ibuffer-compressed-file-name-regexp):
      * lisp/info.el (Info-suffix-list):
      * lisp/international/mule.el (auto-coding-alist):
      * lisp/woman.el (woman-file-regexp, woman-file-compression-regexp):
      * lisp/progmodes/etags.el (tags-compression-info-list):
      Support xz compression.
  17. 11 Aug, 2010 2 commits
    • Jan D's avatar
      Fix -Wwrite-strings warnings in fakemail.c. · 5e3b9a89
      Jan D authored
      * fakemail.c: Include stdlib.h for getenv. Remove declaration of
      popen, fclose and pclose.
      (my_name, fatal, error, put_line): Use const char*
      (main): Remove extern getenv, mail_program_name is const char*.
    • Jan D's avatar
      Fix warnings produced by compiling with -Wwrite_strings (i.e. use const char *). · 988e88ab
      Jan D authored
      * b2m.c (concat, fatal): Use const char*.
      (main): Don't assign labels a string literal.
      * ebrowse.c (struct member): filename, def_filename is const.
      (struct sym): filename, sfilename is const.
      (struct kw): name is const.
      (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
      * emacsclient.c (message, sock_err_message, send_to_emacs)
      (quote_argument, set_local_socket)
      (start_daemon_and_retry_set_socket): Use const char*.
      * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
      (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
      (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
      (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
      (Fortran_suffixes, Fortran_help, HTML_suffixes,  HTML_help)
      (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
      (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
      (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
      (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
      (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
      (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
      (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
      (no_lang_help, print_language_names)
      (get_language_from_interpreter, get_language_from_filename)
      (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
      (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
      (concat): Use const char*.
      * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file): Use
      const char *.
      * movemail.c (fatal, error, concat): Use const char *.
      * pop.c (pop_multi_first, socket_connection, sendline): Use conat char*.
      * pop.h (pop_multi_first): Use const char *.
      (_ARGS): Remove.
      * sorted-doc.c (error, fatal, states): Use const char *.
      * update-game-score.c (get_prefix, write_scores, main): Use const char*.
  18. 07 Aug, 2010 1 commit
    • Juanma Barranquero's avatar
      Remove duplicate declarations. · 0e9c8657
      Juanma Barranquero authored
      * lib-src/ebrowse.c (usage, version, mark_virtual)
      * src/alloc.c (lisp_malloc)
      * src/buffer.c (set_buffer_internal, set_buffer_internal_1)
      * src/charset.h (emacs_mule_charset)
      * src/dispextern.h (inhibit_free_realized_faces, redraw_frame)
        (redraw_garbaged_frames, scroll_cost, update_frame, scrolling)
      * src/lisp.h (Fcheck_coding_system, Fget_text_property)
        (Qfunction, Qcompletion_ignore_case, QCwidth, QCsize)
  19. 06 Aug, 2010 1 commit
    • Dan Nicolaescu's avatar
      emacsclient.c cleanups. · 0613f5d5
      Dan Nicolaescu authored
      * lib-src/emacsclient.c: Move socket related #includes together with the
      rest of the #includes.  Move a WINDOWSNT includes closer together.
      (HAVE_CONFIG_H): Remove.
      (NO_RETURN): Remove, defined in config.h.
      (main): Convert definition to standard C.
  20. 29 Jul, 2010 2 commits
  21. 25 Jul, 2010 2 commits
    • Juanma Barranquero's avatar
      * emacsclient.c (getcwd): Fix previous change. · 35a7804d
      Juanma Barranquero authored
        Make getcwd conditional on HAVE_GETCWD and declare with the
        correct POSIX profile (for some reason MinGW headers define
        its 2nd arg as int, not size_t; but getcwd is not used on
        Windows nonetheless).
    • Juanma Barranquero's avatar
      Make building under stricter warning flags somewhat cleaner. · 361358ea
      Juanma Barranquero authored
      Flags used: -Wold-style-declaration -Wunused-function -Wstrict-prototypes
      * lib-src/emacsclient.c (getcwd, w32_getenv):
      * lib-src/ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
      * nt/runemacs.c (set_user_model_id): Fix prototype.
      * src/callproc.c (relocate_fd): Set inside #ifndef WINDOWSNT.
      * src/dired.c (opendir, readdir): Fix prototypes.
      * src/editfns.c (w32_get_internal_run_time): Fix prototypes.
      * src/keyboard.c (input_available_signal): Declare inside #ifdef SIGIO.
      * src/ndir.h (opendir, readdir, seekdir, closedir): Fix prototypes.
        (telldir): Remove declaration.
      * src/ralloc.c (real_morecore, __morecore): Fix prototypes.
      * src/sound.c (alsa_sound_perror): Declare inside #ifdef HAVE_ALSA.
      * src/syssignal.h (strsignal): Fix prototype.
      * src/term.c (tparam): Fix prototype.
        (term_get_fkeys_address, term_get_fkeys_kboard, term_get_fkeys_1)
        (term_get_fkeys): Set inside "#ifndef DOS_NT".
      * src/vm-limit.c (check_memory_limits): Fix prototypes of real_morecore
        and __morecore.
      * src/w32gui.h (XParseGeometry): Fix prototype.
      * src/w32heap.h (get_data_start, get_data_end, init_heap): Fix prototypes.
      * src/w32term.c (my_set_focus): Declare inside #if 0.
      * src/w32term.h (x_window_to_frame, x_display_info_for_name, w32_term_init)
        (w32_fill_rect, w32_clear_window, init_crit, delete_crit, signal_quit)
        (drain_message_queue, get_next_msg, post_msg, parse_button)
        (ClipboardSequence_Proc): Fix prototypes.
        (wait_for_sync): Remove declaration.
  22. 24 Jul, 2010 2 commits
    • Dan Nicolaescu's avatar
      Add NO_RETURN specifiers to functions in lib-src. · 68441b90
      Dan Nicolaescu authored
      * lib-src/update-game-score.c (usage):  Add NO_RETURN specifier.
      * lib-src/movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
      * lib-src/make-docfile.c (fatal):
      * lib-src/hexl.c (usage):
      * lib-src/fakemail.c (fatal):
      * lib-src/etags.c (fatal, suggest_asking_for_help, pfatal):
      * lib-src/emacsclient.c (fatal):
      * lib-src/b2m.c (fatal): Likewise.
    • Juanma Barranquero's avatar
      Fix typos in ChangeLogs. · c4cc8b9a
      Juanma Barranquero authored
  23. 23 Jul, 2010 1 commit
  24. 20 Jul, 2010 2 commits
    • Juanma Barranquero's avatar
      Convert some more functions to standard C. · 7c3320d8
      Juanma Barranquero authored
      * lib-src/emacsclient.c (get_current_dir_name, w32_get_resource)
        (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
        (close_winsock, initialize_sockets, w32_find_emacs_process)
      * lib-src/ntlib.c (getlogin, getuid, getgid, getegid):
      * nt/addpm.c (add_registry, main):
      * nt/cmdproxy.c (get_env_size):
      * nt/ddeclient.c (main):
      * nt/runemacs.c (set_user_model_id):
      * src/alloc.c (emacs_blocked_free, emacs_blocked_malloc)
        (emacs_blocked_realloc, uninterrupt_malloc):
      * src/fringe.c (w32_reset_fringes):
      * src/image.c (convert_mono_to_color_image, lookup_rgb_color)
        (init_color_table, XPutPixel, jpeg_resync_to_restart_wrapper):
      * src/sound.c (be2hs, do_play_sound):
      * src/vm-limit.c (get_lim_data, ret_lim_data):
      * src/w32term.c (x_free_frame_resources):
      * src/xfaces.c (x_create_gc, x_free_gc):
        Convert definitions to standard C.
    • Juanma Barranquero's avatar
      Fix typos in ChangeLogs. · a628ad9d
      Juanma Barranquero authored
  25. 12 Jul, 2010 2 commits
    • Andreas Schwab's avatar
      Andreas Schwab authored
      (PROFILING_LDFLAGS): Substitute, don't add them to CFLAGS/LDFLAGS.
      (C_OPTIMIZE_SWITCH): Remove.
      * lib-src/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
      (PROFILING_LDFLAGS): Set from substitution.
      * lwlib/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from
      * oldXMenu/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from
      (PROFILING_LDFLAGS): Set from substitution.
      CFLAGS last.
    • 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.
  26. 11 Jul, 2010 2 commits
    • 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.
      * 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.
    • 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.
  27. 10 Jul, 2010 1 commit
  28. 09 Jul, 2010 2 commits