1. 09 Feb, 2011 1 commit
  2. 08 Feb, 2011 1 commit
    • Tom Tromey's avatar
      Make globals.h a generated header · 00b3c7ac
      Tom Tromey authored
      	* configure: Rebuild.
      	* configure.in (NS_OBJC_OBJ): New subst.
      lib-src
      	* make-docfile.c: Unconditionally include stdlib.h.
      	(generate_globals): New global.
      	(xrealloc): New function.
      	(main): Handle '-g'.  Call start_globals, write_globals.
      	(scan_file): Conditionally call put_filename.
      	(start_globals): New function.
      	(struct global): New.
      	(num_globals, globals): New globals.
      	(add_global, compare_globals, write_globals): New functions.
      	(scan_c_file): Update for "-g".
      	(scan_lisp_file): Fail if "-g".
      	(enum global_type): New.
      src
      	* Makefile.in (NS_OBJC_OBJ): New variable.
      	(base_obj): Rename from 'obj'.
      	(obj): New variable.
      	(globals.h, gl-stamp, $(obj)): New targets.
      	(GLOBAL_SOURCES): New variable.
      	* globals.h: Remove.
      	* nsselect.m (Vselection_alist): Define.  Reverts part of
      	2011-01-19T22:11:33Z!jan.h.d@swipnet.se.
      	* buffer.c: Don't use "no_cell" for name of kill-buffer-hook's
      	variable.
      	* xselect.c (Vselection_alist): Define.  Reverts part of 2011-01-19T23:32:42Z!eggert@cs.ucla.edu.
      00b3c7ac
  3. 30 Jan, 2011 1 commit
  4. 25 Jan, 2011 1 commit
  5. 23 Jan, 2011 1 commit
  6. 15 Jan, 2011 1 commit
  7. 09 Jan, 2011 1 commit
  8. 02 Jan, 2011 1 commit
  9. 03 Oct, 2010 1 commit
    • Dan Nicolaescu's avatar
      Fix compilation warnings. · 728a982d
      Dan Nicolaescu authored
      * 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.
      728a982d
  10. 11 Aug, 2010 1 commit
    • 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*.
      988e88ab
  11. 29 Jul, 2010 1 commit
  12. 24 Jul, 2010 1 commit
    • 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.
      68441b90
  13. 23 Jul, 2010 1 commit
  14. 09 Jul, 2010 2 commits
  15. 03 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Convert function definitions to standard C. · 873fbd0b
      Dan Nicolaescu authored
      * lib-src/update-game-score.c: Convert function definitions to standard C.
      * lib-src/sorted-doc.c:
      * lib-src/profile.c:
      * lib-src/pop.c:
      * lib-src/movemail.c:
      * lib-src/make-docfile.c:
      * lib-src/hexl.c:
      * lib-src/fakemail.c:
      * lib-src/etags.c:
      * lib-src/ebrowse.c:
      * lib-src/digest-doc.c:
      * lib-src/b2m.c: Likewise.
      873fbd0b
  16. 02 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Convert some prototypes to standard C. · c532d349
      Dan Nicolaescu authored
      * lib-src/make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
      * lib-src/b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
      standard C prototypes.
      
      * src/term.c (term_clear_mouse_face, Fidentity):
      * src/syssignal.h (signal_handler_t):
      * src/lisp.h (memory_warnings):
      * src/coding.h (preferred_coding_system):
      * src/cm.h (evalcost):
      * src/blockinput.h (reinvoke_input_signal): Convert to standard C prototypes.
      c532d349
  17. 18 Jan, 2010 1 commit
  18. 13 Jan, 2010 1 commit
  19. 04 Nov, 2009 1 commit
  20. 29 Jun, 2009 1 commit
  21. 08 Jan, 2009 1 commit
  22. 01 Dec, 2008 1 commit
  23. 15 Jul, 2008 1 commit
  24. 01 Jul, 2008 1 commit
  25. 09 May, 2008 1 commit
  26. 24 Feb, 2008 1 commit
    • Dan Nicolaescu's avatar
      * configure.in: Remove references to obsolete variables and · 9d2818d6
      Dan Nicolaescu authored
      systems.
      * configure: Regenerate.
      
      * Makefile.in (NO_SHORTNAMES):
      * emacsclient.c (NO_SHORTNAMES):
      * fakemail.c (NO_SHORTNAMES):
      * make-docfile.c (NO_SHORTNAMES):
      * movemail.c (NO_SHORTNAMES):
      * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
      
      * config.nt (SHORTNAMES): Remove reference to obsolete variable.
      
      * s/vms4-0.h:
      * s/vms4-2.h:
      * s/vms4-4.h:
      * s/vms5-5.h: Remove, unused.
      
      * s/irix5-2.h:
      * s/irix6-0.h:
      * s/riscos5.h:
      * s/mach-bsd4-3.h:
      * m/mips4.h: Remove files for obsolete systems
      
      * Makefile.in:
      * filelock.c:
      * unexmips.c:
      * m/hp9000s300.h:
      * m/iris4d.h:
      * s/aix3-1.h:
      * s/hpux.h:
      * s/msdos.h:
      * s/usg5-0.h:
      * s/usg5-2-2.h:
      * s/usg5-2.h:
      * s/usg5-3.h: Remove references to obsolete variables.
      
      * s/irix5-0.h: Remove, move all the contents ...
      * s/irix6-5.h: ... here.  Simplify.
      * config.in: Regenerate.
      9d2818d6
  27. 13 Jan, 2008 1 commit
    • Dan Nicolaescu's avatar
      * movemail.c: · e39a993c
      Dan Nicolaescu authored
      * make-docfile.c: Remove reference to symbols defined by systems
      not supported anymore: MAC_OS8, XENIX and STRIDE.
      
      * (src/m/mips.h):
      * (src/m/intel386.h):
      * callproc.c:
      * config.in:
      * ecrt0.c:
      * emacs.c:
      * fileio.c:
      * frame.c:
      * getpagesize.h:
      * keyboard.c:
      * lread.c:
      * process.c:
      * puresize.h:
      * sysdep.c:
      * systty.h:
      * syswait.h:
      * unexec.c:
      * xdisp.c:
      * alloc.c: Remove code containing references to symbols defined by
      unsupported systems.
      e39a993c
  28. 07 Jan, 2008 1 commit
  29. 25 Jul, 2007 1 commit
  30. 21 Jan, 2007 1 commit
  31. 06 Feb, 2006 1 commit
  32. 07 Aug, 2005 1 commit
  33. 04 Jul, 2005 1 commit
  34. 13 May, 2005 1 commit
  35. 04 Mar, 2005 1 commit
  36. 27 Dec, 2004 1 commit
  37. 09 Nov, 2004 1 commit
  38. 08 May, 2004 1 commit
  39. 26 Apr, 2004 1 commit