aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ChangeLog
diff options
context:
space:
mode:
authorStefan Monnier2012-05-29 23:59:42 -0400
committerStefan Monnier2012-05-29 23:59:42 -0400
commit61b108cc62d69c96c20b9e23b248185591563c1f (patch)
treee07c24a1ec29b567b1f2de381e486f83a5da6211 /lib-src/ChangeLog
parent934f3f582d0369e95c6495748e3944405d3629b8 (diff)
downloademacs-61b108cc62d69c96c20b9e23b248185591563c1f.tar.gz
emacs-61b108cc62d69c96c20b9e23b248185591563c1f.zip
* lisp/emacs-lisp/byte-run.el (defmacro, defun): Move from C.
(macro-declaration-function): Move var from C code. (macro-declaration-function): Define function with defalias. * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): * lisp/emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle defun/defmacro any more. * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-signature): Provide fallback for unknown arglist. (byte-compile-arglist-warn): Change calling convention. (byte-compile-output-file-form): Move print-vars binding. (byte-compile-output-docform): Simplify accordingly. (byte-compile-file-form-defun, byte-compile-file-form-defmacro) (byte-compile-defmacro-declaration): Remove. (byte-compile-file-form-defmumble): Generalize to defalias. (byte-compile-output-as-comment): Return byte-positions. Simplify callers accordingly. (byte-compile-lambda): Use `assert'. (byte-compile-defun, byte-compile-defmacro): Remove. (byte-compile-file-form-defalias): Use byte-compile-file-form-defmumble. (byte-compile-defalias-warn): Remove. * src/eval.c (Fdefun, Fdefmacro, Vmacro_declaration_function): Move to byte-run.el. (Fautoload): Do the hash-doc more carefully. * src/data.c (Fdefalias): Purify definition, except for keymaps. (Qdefun): Move from eval.c. * src/lisp.h (Qdefun): Remove. * src/lread.c (read1): Tiny simplification. * lib-src/make-docfile.c: Improve comment style. (search_lisp_doc_at_eol): New function. (scan_lisp_file): Use it.
Diffstat (limited to 'lib-src/ChangeLog')
-rw-r--r--lib-src/ChangeLog48
1 files changed, 27 insertions, 21 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 7dc02ccaa95..d95137852e0 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,9 @@
12012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * make-docfile.c: Improve comment style.
4 (search_lisp_doc_at_eol): New function.
5 (scan_lisp_file): Use it.
6
12012-05-26 Glenn Morris <rgm@gnu.org> 72012-05-26 Glenn Morris <rgm@gnu.org>
2 8
3 * Makefile.in (INSTALL_DATA): Remove; unused. 9 * Makefile.in (INSTALL_DATA): Remove; unused.
@@ -441,8 +447,8 @@
441 447
442 * etags.c (canonicalize_filename, ISUPPER): Fix last change. 448 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
443 449
444 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend 450 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)):
445 on ../lib/min-max.h. 451 Depend on ../lib/min-max.h.
446 452
4472011-02-22 Paul Eggert <eggert@cs.ucla.edu> 4532011-02-22 Paul Eggert <eggert@cs.ucla.edu>
448 454
@@ -2819,7 +2825,7 @@
2819 2825
2820 * make-docfile.c (read_c_string_or_comment): Declare msgno. 2826 * make-docfile.c (read_c_string_or_comment): Declare msgno.
2821 2827
2822 * Makefile.in (YACC): Deleted. 2828 * Makefile.in (YACC): Delete.
2823 2829
28242002-10-19 Andreas Schwab <schwab@suse.de> 28302002-10-19 Andreas Schwab <schwab@suse.de>
2825 2831
@@ -3037,7 +3043,7 @@
3037 (TeX_commands): Names now include the initial backslash. 3043 (TeX_commands): Names now include the initial backslash.
3038 (TeX_commands): Names do not include numeric args #n. 3044 (TeX_commands): Names do not include numeric args #n.
3039 (TeX_commands): Correct line char number in tags. 3045 (TeX_commands): Correct line char number in tags.
3040 (TEX_tabent, TEX_token): Deleted. 3046 (TEX_tabent, TEX_token): Delete.
3041 (TeX_commands, TEX_decode_env): Streamlined. 3047 (TeX_commands, TEX_decode_env): Streamlined.
3042 3048
30432002-06-05 Francesco Potortì <pot@gnu.org> 30492002-06-05 Francesco Potortì <pot@gnu.org>
@@ -3078,7 +3084,7 @@
3078 (main): New argument -d, for specifying directory. 3084 (main): New argument -d, for specifying directory.
3079 (usage): Document. 3085 (usage): Document.
3080 (get_user_id): Compute. 3086 (get_user_id): Compute.
3081 (get_home_dir): Deleted. 3087 (get_home_dir): Delete.
3082 (get_prefix): New function, taken from main. 3088 (get_prefix): New function, taken from main.
3083 (main): Check whether or not we are running setuid. Move prefix 3089 (main): Check whether or not we are running setuid. Move prefix
3084 computation to get_prefix. Don't call getpwent; we don't need to 3090 computation to get_prefix. Don't call getpwent; we don't need to
@@ -3339,7 +3345,7 @@
3339 (LOOKING_AT, get_tag, PHP_functions): Use notinname. 3345 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
3340 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions): 3346 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
3341 Clarified, using strneq or notinname. 3347 Clarified, using strneq or notinname.
3342 (L_isdef, L_isquote): Removed. 3348 (L_isdef, L_isquote): Remove.
3343 (Lisp_functions, L_getit): Clarified. 3349 (Lisp_functions, L_getit): Clarified.
3344 3350
3345 * etags.c (P_): Rename to __P for consistency with config.h. 3351 * etags.c (P_): Rename to __P for consistency with config.h.
@@ -3776,7 +3782,7 @@
3776 comma when --declarations is used. 3782 comma when --declarations is used.
3777 (C_entries): More accurate tagging of members and declarations. 3783 (C_entries): More accurate tagging of members and declarations.
3778 (yacc_rules): Was global, made local to C_entries. 3784 (yacc_rules): Was global, made local to C_entries.
3779 (next_token_is_func): Removed. 3785 (next_token_is_func): Remove.
3780 (fvdef): New constants fdefunkey, fdefunname. 3786 (fvdef): New constants fdefunkey, fdefunname.
3781 (consider_token, C_entries): Use them. 3787 (consider_token, C_entries): Use them.
3782 (C_entries): Build proper lisp names for Emacs DEFUNs. 3788 (C_entries): Build proper lisp names for Emacs DEFUNs.
@@ -4252,7 +4258,7 @@
4252 (find_entries, takeprec, getit, Fortran_functions, Perl_functions) 4258 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
4253 (Python_functions, L_getit, Lisp_functions, Scheme_functions) 4259 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
4254 (prolog_pred, erlanf_func, erlang_attribute): Use them. 4260 (prolog_pred, erlanf_func, erlang_attribute): Use them.
4255 (eat_white): Deleted. 4261 (eat_white): Delete.
4256 4262
4257 * etags.c (CHAR, init): Keep into account non US-ASCII 4263 * etags.c (CHAR, init): Keep into account non US-ASCII
4258 characters and compilers with default signed chars. 4264 characters and compilers with default signed chars.
@@ -4775,7 +4781,7 @@
47751997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it> 47811997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4776 4782
4777 * etags.c (TeX_functions): Cleaned up. 4783 * etags.c (TeX_functions): Cleaned up.
4778 (tex_getit): Removed. 4784 (tex_getit): Remove.
4779 4785
47801997-05-13 Paul Eggert <eggert@twinsun.com> 47861997-05-13 Paul Eggert <eggert@twinsun.com>
4781 4787
@@ -5296,7 +5302,7 @@
5296 5302
5297 * etags.c: Prolog language totally rewritten. 5303 * etags.c: Prolog language totally rewritten.
5298 (Prolog_functions): Rewritten from scratch. 5304 (Prolog_functions): Rewritten from scratch.
5299 (skip_comment, prolog_getit): Removed. 5305 (skip_comment, prolog_getit): Remove.
5300 (prolog_skip_comment): New function, like old skip_comment. 5306 (prolog_skip_comment): New function, like old skip_comment.
5301 (prolog_pred, prolog_atom, prolog_white): New functions. 5307 (prolog_pred, prolog_atom, prolog_white): New functions.
5302 (erlang_func, erlang_attributes): Forward declarations added. 5308 (erlang_func, erlang_attributes): Forward declarations added.
@@ -5797,7 +5803,7 @@
5797 5803
57981995-01-12 Francesco Potortì (pot@cnuce.cnr.it) 58041995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
5799 5805
5800 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted. 5806 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete.
5801 (append_to_tagfile, typedefs, typedefs_and_cplusplus) 5807 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
5802 (constantypedefs, update, vgrind_style, no_warnings) 5808 (constantypedefs, update, vgrind_style, no_warnings)
5803 (cxref_style, cplusplus, noindentypedefs): Were int, now logical. 5809 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
@@ -5816,9 +5822,9 @@
5816 (consider_token): Don't take a token as argument. Use savenstr 5822 (consider_token): Don't take a token as argument. Use savenstr
5817 when saving a tag in structtag. Callers changed. 5823 when saving a tag in structtag. Callers changed.
5818 (TOKEN): Structure changed. Now used only in C_entries. 5824 (TOKEN): Structure changed. Now used only in C_entries.
5819 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted. 5825 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete.
5820 (C_entries): nameb and savenameb deleted. Use dinamic allocation. 5826 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
5821 (pfcnt): Deleted. Users updated. 5827 (pfcnt): Delete. Users updated.
5822 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme) 5828 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
5823 (TEX_getit, prolog_getit): Use dinamic allocation for storing 5829 (TEX_getit, prolog_getit): Use dinamic allocation for storing
5824 the tag instead of a fixed size buffer. 5830 the tag instead of a fixed size buffer.
@@ -6394,7 +6400,7 @@
6394 6400
63951994-03-25 Francesco Potortì (pot@cnuce.cnr.it) 64011994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
6396 6402
6397 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead. 6403 * etags.c (emacs_tags_format, ETAGS): Remove. Use CTAGS instead.
6398 (main): Don't allow the use of -t and -T in etags mode. 6404 (main): Don't allow the use of -t and -T in etags mode.
6399 (print_help): Don't show options enabled by default. 6405 (print_help): Don't show options enabled by default.
6400 (print_version): Show the emacs version number if VERSION is #defined. 6406 (print_version): Show the emacs version number if VERSION is #defined.
@@ -6511,9 +6517,9 @@
65111994-01-14 Francesco Potortì (pot@cnuce.cnr.it) 65171994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
6512 6518
6513 * etags.c (stab_entry, stab_create, stab_find, stab_search, 6519 * etags.c (stab_entry, stab_create, stab_find, stab_search,
6514 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted. 6520 stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete.
6515 Use gperf generated hash table instead of linked list. 6521 Use gperf generated hash table instead of linked list.
6516 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added. 6522 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add.
6517 Mostly code generated by gperf. 6523 Mostly code generated by gperf.
6518 (consider_token): Remove unused parameter `lp'. 6524 (consider_token): Remove unused parameter `lp'.
6519 (PF_funcs, getit): Allow subroutine and similar declarations 6525 (PF_funcs, getit): Allow subroutine and similar declarations
@@ -6832,7 +6838,7 @@
6832 * etags.c (consider_token): Was `==', now is `='. 6838 * etags.c (consider_token): Was `==', now is `='.
6833 (consider_token): DEFUNs now treated like funcs in ctags mode. 6839 (consider_token): DEFUNs now treated like funcs in ctags mode.
6834 6840
6835 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed. 6841 * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove.
6836 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF. 6842 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
6837 (C_entries): Remove a piece of useless code. 6843 (C_entries): Remove a piece of useless code.
6838 (C_entries): Making typedef tags is delayed until a semicolon 6844 (C_entries): Making typedef tags is delayed until a semicolon
@@ -7131,10 +7137,10 @@
7131 * etags.c (GET_COOKIE): And related macros removed. 7137 * etags.c (GET_COOKIE): And related macros removed.
7132 (logical): Is now int, no more a char. 7138 (logical): Is now int, no more a char.
7133 (reg): Define deleted. 7139 (reg): Define deleted.
7134 (isgood, _gd, notgd): Deleted. 7140 (isgood, _gd, notgd): Delete.
7135 (gotone): Deleted. 7141 (gotone): Delete.
7136 (TOKEN): Member linestart removed. 7142 (TOKEN): Member linestart removed.
7137 (linepos, prev_linepos, lb1): Deleted. 7143 (linepos, prev_linepos, lb1): Delete.
7138 (main): Call initbuffer on lbs array instead of lb1. 7144 (main): Call initbuffer on lbs array instead of lb1.
7139 (init): Remove the initialization of the logical _gd array. 7145 (init): Remove the initialization of the logical _gd array.
7140 (find_entries): A .sa suffix means assembler file. 7146 (find_entries): A .sa suffix means assembler file.
@@ -7142,7 +7148,7 @@
7142 All C state machines rewritten. 7148 All C state machines rewritten.
7143 (C_entries): Complete rewrite. 7149 (C_entries): Complete rewrite.
7144 (condider_token): Complete rewrite. 7150 (condider_token): Complete rewrite.
7145 (getline): Deleted. 7151 (getline): Delete.
7146 7152
71471993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT) 71531993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
7148 7154