aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/make-docfile.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixes: debbugs:11380Andreas Schwab2012-04-291-1/+1
| | | | | * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and byte-code forms.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Spelling fixes.Paul Eggert2011-12-301-1/+1
|
* * lib-src/make-docfile.c (scan_lisp_file): Treat defcustom like defvar.Glenn Morris2011-11-231-1/+3
| | | | * lisp/paths.el (rmail-file-name): Format doc-string for make-docfile.
* [ChangeLog]Paul Eggert2011-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | Use 'inline', not 'INLINE'. * configure.in, autogen/config.in (INLINE): Remove. [lib-src/ChangeLog] Use 'inline', not 'INLINE'. * etags.c (hash): Now inline unconditionally. * make-docfile.c (put_char): inline, not INLINE. [nt/ChangeLog] Use 'inline', not 'INLINE'. * config.nt (INLINE): Remove. [src/ChangeLog] Use 'inline', not 'INLINE'. * alloc.c, fontset.c (INLINE): Remove. * alloc.c, bidi.c, charset.c, coding.c, dispnew.c, fns.c, image.c: * intervals.c, keyboard.c, process.c, syntax.c, textprop.c, w32term.c: * xdisp.c, xfaces.c, xterm.c: Replace all uses of INLINE with inline. * gmalloc.c (register_heapinfo): Use inline unconditionally. * lisp.h (LISP_MAKE_RVALUE): Use inline, not __inline__.
* * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.Paul Eggert2011-04-011-1/+8
| | | | (write_c_args): Use it to suppress GCC warning.
* * make-docfile.c (scan_c_file): Refactor local variable decls to make their ↵Paul Eggert2011-02-251-9/+4
| | | | | | scope more accurate and to avoid a GCC -Wuninitialized diagnostic.
* * make-docfile.c (write_globals): Change char * to char const *Paul Eggert2011-02-251-1/+1
| | | | | to avoid a GCC "assignment discards qualifiers" diagnostic in some configurations.
* * make-docfile.c (input_buffer): Rename variables to avoid shadowing.Paul Eggert2011-02-211-8/+9
|
* Merge from mainline.Paul Eggert2011-02-211-1/+1
|\
| * * make-docfile.c (scan_c_file): Adapt to the new BVAR macro.Ben Key2011-02-211-1/+1
| |
* | Declare file-scope functions and variables static if not exported.Paul Eggert2011-02-211-21/+21
|/ | | | | | | | This is more consistent, and is nicer with gcc -Wstrict-prototypes. * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c: * profile.c, test-distrib.c, update-game-score.c: Declare non-'main' functions and variables to be static. * ebrowse.c: Omit redundant function prototypes.
* * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.Paul Eggert2011-02-081-3/+3
|
* Make globals.h a generated headerTom Tromey2011-02-081-2/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* make-docfile: don't corrupt heap for an invalid .elc fileJim Meyering2011-01-301-3/+9
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Check return values of some library calls.Paul Eggert2011-01-221-3/+10
|
* Merge from mainline.Paul Eggert2011-01-171-2/+0
|\
| * Nuke arch-tags.Glenn Morris2011-01-151-2/+0
| |
* | Merge from mainline.Paul Eggert2011-01-141-1/+1
|\ \ | |/
| * Merge from emacs-23Stefan Monnier2011-01-141-1/+1
| |\
| | * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| | |
* | | Include <unistd.h> unilaterally.Paul Eggert2011-01-091-2/+0
|/ /
* | Fix compilation warnings.Dan Nicolaescu2010-10-031-2/+3
| | | | | | | | | | | | | | | | | | | | * 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.
* | Fix warnings produced by compiling with -Wwrite_strings (i.e. use const char *).Jan D2010-08-111-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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*.
* | * make-docfile.c (write_c_args): Warn for old-style empty arglist ().Juanma Barranquero2010-07-291-1/+7
| |
* | Add NO_RETURN specifiers to functions in lib-src.Dan Nicolaescu2010-07-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | * 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.
* | * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".Juanma Barranquero2010-07-231-1/+1
| |
* | * make-docfile.c (write_c_args): Restructure scanning loop.Andreas Schwab2010-07-091-62/+41
| |
* | Make make-docfile understand DEFUN arguments written in standard C.Dan Nicolaescu2010-07-081-1/+16
| | | | | | | | | | * lib-src/make-docfile.c (write_c_args): Deal with type names in DEFUN arguments.
* | Convert function definitions to standard C.Dan Nicolaescu2010-07-021-37/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Convert some prototypes to standard C.Dan Nicolaescu2010-07-021-3/+3
|/ | | | | | | | | | | | | * 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.
* Fix typos in comments.Juanma Barranquero2010-01-181-3/+3
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.Dan Nicolaescu2009-11-041-1/+3
| | | | * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
* Remove useless if-before-free test.Jim Meyering2009-06-291-2/+1
| | | | * make-docfile.c (scan_lisp_file): Remove useless test.
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* (scan_lisp_file): Use xmalloc instead of malloc.Dan Nicolaescu2008-12-011-1/+1
|
* merging Emacs.app (NeXTstep port)Adrian Robert2008-07-151-1/+10
|
* American English spelling fix.Glenn Morris2008-07-011-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-091-6/+5
|
* * configure.in: Remove references to obsolete variables andDan Nicolaescu2008-02-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * movemail.c:Dan Nicolaescu2008-01-131-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+2
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (DIRECTORY_SEP): New macro.YAMAMOTO Mitsuharu2005-05-131-1/+9
| | | | (IS_DIRECTORY_SEP): Use it.