aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update ChangeLog dates to today.Paul Eggert2011-01-171-3/+1
|
* Merge from mainline.Paul Eggert2011-01-1717-111/+0
|\
| * Nuke arch-tags.Glenn Morris2011-01-1521-39/+0
| |
* | Merge from mainline.Paul Eggert2011-01-1416-16/+16
|\ \ | |/
| * Merge from emacs-23Stefan Monnier2011-01-1416-16/+16
| |\
| | * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-0221-21/+21
| | |
* | | Include <unistd.h> unilaterally.Paul Eggert2011-01-099-19/+9
| | |
* | | Include <getopt.h> not "getopt.h".Paul Eggert2011-01-093-2/+7
| | | | | | | | | | | | | | | | | | * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h". Since getopt.h is no longer in this directory, there's no point using the form with double-quotes.
* | | Regenerate.Paul Eggert2011-01-085-1786/+12
| | |
* | | Use gnulib's getopt-gnu module.Paul Eggert2011-01-081-28/+14
| | |
* | | Automate syncing from gnulib.Paul Eggert2011-01-082-2/+20
|/ /
* | * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.Paul Eggert2011-01-082-2/+4
| |
* | Add --no-site-lisp to more Makefiles.Glenn Morris2011-01-072-1/+3
| | | | | | | | | | | | | | | | | | * leim/makefile.w32-in (RUN_EMACS): * leim/Makefile.in (RUN-EMACS): Add --no-site-lisp. * lib-src/Makefile.in (EMACSOPT): Add --no-site-lisp. * lisp/makefile.w32-in (EMACSOPT): Add --no-site-lisp.
* | * lib-src/Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.Glenn Morris2011-01-072-6/+7
| |
* | Merge changes from emacs-23 branchChong Yidong2011-01-024-16/+15
|\ \ | |/
| * Set short copyright year to 2011.Glenn Morris2011-01-014-16/+15
| | | | | | | | | | | | | | | | | | | | | | * 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.
| * Bump version to 23.2.91.emacs-pretest-23.2.91Chong Yidong2010-12-101-1/+1
| | | | | | | | Regenerate configure and ldefs-boot.el.
* | Merge changes from emacs-23 branchChong Yidong2010-11-272-0/+10
|\ \ | |/
| * Fix bug #7446 with overrunning input buffer in ebrowse.Joe Matarazzo2010-11-272-0/+10
| | | | | | | | | | ebrowse.c (yylex): If end of input buffer encountered while searching for a newline after "//", return YYEOF.
* | Merge from emacs-23Stefan Monnier2010-11-172-0/+8
|\ \ | |/
| * Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in).YAMAMOTO Mitsuharu2010-11-101-0/+3
| |
| * Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR.YAMAMOTO Mitsuharu2010-11-101-0/+5
| |
| * Bump version to 23.2.90.emacs-pretest-23.2.90Chong Yidong2010-11-081-1/+1
| | | | | | | | Regenerate AUTHORS, configure, and ldefs-boot.el.
* | * lib-src/test-distrib.c: Remove include guards for config.h and fcntl.h.Dan Nicolaescu2010-11-142-11/+7
| | | | | | | | | | (O_RDONLY): Do not define. (cool_read): Fix type for variable "sofar".
* | Move ns-win.el's rather wacky menu adjustments to menu-bar.el.Glenn Morris2010-10-242-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Replace digest-doc and sorted-doc C programs with Lisp commands.Glenn Morris2010-10-225-405/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Fix format of old lib-src/ChangeLog entry.Glenn Morris2010-10-191-4/+4
| |
* | Pass CFLAGS to the linker.Dan Nicolaescu2010-10-102-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Remove lib-src/b2m.c and b2m.pl.Glenn Morris2010-10-085-488/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge changes from emacs-23 branch.Juanma Barranquero2010-10-082-1/+17
|\ \ | |/
| * Close bug#3992.Glenn Morris2010-09-302-1/+17
| | | | | | | | | | * lib-src/emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back DARWIN_USER_TEMP_DIR.
* | Fix compilation warnings.Dan Nicolaescu2010-10-036-18/+25
| | | | | | | | | | | | | | | | | | | | * lib-src/test-distrib.c (cool_read): * lib-src/movemail.c (main, concat): * lib-src/make-docfile.c (scan_file, write_c_args): * emacsclient.c (get_server_config): Fix -Wconversion warning. (egetenv): Move conditional definition earlier. (progname): Use const. * lib-src/sorted-doc.c (xstrdup): Use const.
* | * lib-src/Makefile.in: Remove ^L, old makes choke on it.Dan Nicolaescu2010-10-032-1/+4
| |
* | * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an error stringWolfgang Schnerring2010-10-022-3/+15
| | | | | | | | (Bug#6963).
* | Rework tags targets in Windows makefiles to protect against old/stupid makes.Juanma Barranquero2010-10-022-1/+4
| | | | | | | | | | * lib-src/makefile.w32-in (tags): Remove target. * src/makefile.w32-in (tags): Rename target to full-tags.
* | Support TAGS targets in the w32 build.Eli Zaretskii2010-10-012-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | lisp/server.el: Use just one way to pass the Emacs PID to emacsclient.Juanma Barranquero2010-09-302-10/+8
| | | | | | | | | | | | | | | | | | * lib-src/emacsclient.c (get_server_config): Don't read Emacs pid from the authentication file. * lisp/server.el (server-start): Don't write pid to the authentication file. (server-create-tty-frame): Don't send pid. (server-process-filter): Send pid at the start of every connection.
* | lib-src/makefile.w32-in (../src/config.h): Remove target, it is stale.Juanma Barranquero2010-09-292-0/+3
| |
* | * emacsclient.c (main): Remove unused variables.Juanma Barranquero2010-09-292-3/+6
| | | | | | | | (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
* | Fix typos in ChangeLogs.Juanma Barranquero2010-09-271-5/+5
| |
* | Add more xz compression support.Ulrich Mueller2010-09-252-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Fix -Wwrite-strings warnings in fakemail.c.Jan D2010-08-112-15/+14
| | | | | | | | | | | | | | * 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*.
* | Fix warnings produced by compiling with -Wwrite_strings (i.e. use const char *).Jan D2010-08-1112-205/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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*.
* | Remove duplicate declarations.Juanma Barranquero2010-08-072-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | * 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) (bitch_at_user) * src/lisp.h (Fcheck_coding_system, Fget_text_property) (Qfunction, Qcompletion_ignore_case, QCwidth, QCsize)
* | emacsclient.c cleanups.Dan Nicolaescu2010-08-052-25/+19
| | | | | | | | | | | | | | | | * 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.
* | Fix typos in ChangeLogs.Juanma Barranquero2010-07-291-1/+1
| |
* | * make-docfile.c (write_c_args): Warn for old-style empty arglist ().Juanma Barranquero2010-07-292-1/+11
| |
* | * emacsclient.c (getcwd): Fix previous change.Juanma Barranquero2010-07-252-1/+10
| | | | | | | | | | | | | | 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).
* | Make building under stricter warning flags somewhat cleaner.Juanma Barranquero2010-07-253-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Add NO_RETURN specifiers to functions in lib-src.Dan Nicolaescu2010-07-249-8/+26
| | | | | | | | | | | | | | | | | | | | | | * 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.