⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelo

📁 GNU 系统开发优化 C 语言程序的应用程序
💻
📖 第 1 页 / 共 2 页
字号:
	specially: If this brace succedes a struct-like thing and it goes	on a line by itself (! btype_2), then add `brace_indent' to the	amount of indentation.  This make GNU-style indentation of	structures, etc. work properly.	* indent.c (indent): In case rparen, if not the beginning of the	code, and in_decl, set `parser_state_tos->want_blank'.  This is to	handle ensure a space before the last rparen of cases like	"int (*fp ()) ()".Fri Jul 24 18:53:15 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* indent.c: Changes to handle spaces between options and their	values.  It would be better to use `getopt', but this change is	much simpler.	Declaration of `set_option' changed to return int.	(main): Increment `i' by the value of `set_option ()'; also, pass	argv[i + 1] as second parameter to `set_option'.	* args.c (set_option): Take new parameter `param'.	New label `arg_missing', just before label `found', to handle	missing option value error.	If `param_start' is 0, set it to `param'.	(scan_profile): Rewritten to look at two entries at once, and pass	both to `set_option'.Wed Jul 22 15:55:56 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* indent.c (indent): In case lbrace, set	`parser_state_tos->want_blank' under certain conditions if not at	beginning of line and `btype_2' was specified.	* indent.c: Macro `need_chars' moved here from indent.h.	* io.c (read_file, read_stdin): No longer appends " \n" to the end	of the file, which is now simply delimited with '\0'.  xmalloc 2	less bytes for the buffer.	(fill_buffer): Stop and set `had_eof' when '\0' is	encountered in the file text, then return immediately.	* lexi.c (lexi): New case in main switch statement for '\0', which	indicates eof.  Removed code to set this in case '\n'.Fri Jul 10 14:45:25 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* lexi.c (): If keyword "struct" was found inside of parens	(case rw_struct_like:) set parser_state_tos->cast_mask before	breaking.Wed Jul  8 21:11:01 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* lexi.c (lexi): Accept 'U' and "UL" suffixes on integer	constants.Fri Jul  3 16:05:45 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* indent.c (indent): For cases unare_op and comma, don't space out	to decl_indent (dec_indent) if we are inside parens	(parser_state_tos->paren_depth > 0).Thu Jul  2 13:36:50 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* indent.c (indent): In case rparen, if paren starts the line,	check that paren_level is greater than zero before using it to	index `paren_indents'.	* args.c: New variable `leave_preproc_space'.  Set by new option	"-lps".	* indent.h: Declare `leave_preproc_space'.	* indent.c (indent): In case preesc, don't ignore blanks after '#'	if `leave_preproc_space' is set.	* indent.texinfo: Entries added for new option "-lps".	* indent.c: At the end of case preesc, call dump_line() if this	appears to be a case where it won't get called when processing the	newline character.Wed Jul  1 16:12:57 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* lexi.c (hash, is_reserved): Regenerated (from gperf) with new	words "volatile" and "const".	* args.c: Removed the trailing comma from the last element of enum	profile.  This breaks some compilers.	* Makefile: Changed to drive the configuration process.	* zmakefile.in: Renamed from Makefile.in	* CONF-README: Renamed from INSTALLTue Jun 30 21:34:16 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* globs.c (mymemcpy): Function deleted.	* sys.h: Declarations and defines for mymemcpy, etc, removed.	* indent_globs.h: All references to memcpy removed.	* backup.c: `mymemcpy' changed to `memcpy'.	* indent.c: Ditto.	* io.c: Ditto.	* Makefile.in:	* INSTALL:	* configure:	* configure.in:	* memcpy.c:     New files.Sun Jun 14 13:38:12 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* Version 1.4 released.Fri Jun 12 15:02:37 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* globs.c (mymemcpy): Now a void function.  Don't return anything.	* io.c (dump_line): When printing label, use `tabsize' to	increment target if `com_st' contains tabs.  Also use	`tabsize' to calculate target when it's less than zero.Thu Jun 11 20:27:48 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* indent.c (indent): When token_type is a binary_op, if	parser_state_tos->want_blank is not true, but the preceding	character is not a space, put one on the line.	* Removed variable `sccsid' from all files.Wed Jun 10 13:00:26 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* args.c: Added long option name "dont-space-special-semicolon"	for -nss.Tue Jun  9 13:01:21 1992  Joseph Arceneaux  (jla@geech.gnu.ai.mit.edu)	* Makefile: Automatically make the files README and RELEASE-NOTES.	* sys.h: Provide defines for using memcpy or bcopy.	* globs.c: `mymemcpy ()' only defined #ifndef mymemcpy.	* indent.c (main): Set `in_name' to the current input file name.	* io.c (dumpline): Check parser_state_tos->paren_level before	using it to index parser_state_tos->paren_indents.Mon Jun  8 17:55:07 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* lexi.c (lexi): In conditional (paren_count == 0), add '=' to the	characters (along with ';', ',', and '(') which constitute a	function definition.  This was to cause an ugly declaration from	libc ("int (*foo) __P ((int bar)) = bax;") to remain on one line.	Note that this is not valid C.	* indent.c (main): When indenting multiple output files, make sure	to close each output file before continuing.Fri Jun  5 13:56:54 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)	* io.c (read_file): Use mymemcpy() instead of bcopy();	* backup.c (max_version):  Don't free dirname unless it was malloc'd.Wed May  6 02:01:18 1992  Joseph Arceneaux  (jla@geech.gnu.ai.mit.edu)	* Version 1.3 released.	* indent.texinfo:  Reorganization of the "Invocation" part, and a	new menu entry "Backup files", as well as corrections throughout.	A new option "nip" added.	* indent.c (main): New variable `using_stdin', used to indicate	when `-' was specified on the command line.Tue May  5 21:28:06 1992  Joseph Arceneaux  (jla@geech.gnu.ai.mit.edu)	* args.c: Set default for `decl_com_ind' to 33.  If	BERKELEY_DEFAULTS is defined, default `continuation_indent' to 4.Sun May  3 00:43:10 1992  Joseph Arceneaux  (jla at hugo)	* parse.c (reduce):  when reducing <stmt><dolit>,	do set i_l_follow to il[parser_state_tos].  This was removed	earlier after a new reduction was added, but this obviously fixes	some bugs.  It will stay if indent passes all the old tests.	* args.c (set_option):  When calling `addkey' to add a user	identifier, make it type 'rw_decl' since these are supposed to be	typedef identifiers.	Removed "-d4" spec in "-orig" option settings.	Made default for "-fca" be false.	* args.c (set_profile): Only read one profile.  The one in the	current directory has priority.  Return the path of the profile read.	* indent.c (main): If `verbose' and we've read a profile, tell the	user on the stderr.Sat May  2 18:33:14 1992  Joseph Arceneaux  (jla at hugo)	* args.c: `Bill_Shannon' replaced with `blank_after_sizeof'.	indent.c: Likewise.	indent.h: Likewise.	* args.c: New variable, exp_nip, for new option "-nip", which is	equivalent to "-ip0".  Long option name is	"no-parameter-indentation".	* config.sh: New shell script which generates "dirent_def.h", and	include file with directory reading definitions.	* Makefile:  Take "config.sh" and "dirent_def.h" into account.	* backup.c: Make only simple backups if we can't read directories	(NODIR is defined).  Functions for numbered backups conditionally	defined.	Documented all functions.	* indent_globs.h:  Broken into two new files, indent.h and sys.h.	All files changed accordingly, including the Makefile.Thu Apr 30 14:53:33 1992  Joseph Arceneaux  (jla at hugo)	* backup.c, backup.h: New files with backup routines.	* io.c (make_backup): Moved into backup.c.	* io.c (sys_error): No longer static, called from make_backup.Wed Apr 29 14:56:10 1992  Joseph Arceneaux  (jla at hugo)	* args.c: Make default value for `else_endif_col' 1, as in "-gnu"	settings.Tue Apr 28 23:18:07 1992  Joseph Arceneaux  (jla at hugo)	* indent.c (main):  Only output to stdout if stdin is used and no	output file is specified, or one input stream is used and -st is	specified.	* args.c: New variable `use_stdout' set with option "-st".	* indent_globs.h: Declare `use_stdout'.Sun Mar 22 14:59:35 1992  Joseph Arceneaux  (jla at hugo)	* parse.c (init_parser, reset_parser):  Two new functions which	respectively allocate the neccessary parser data structures, and	initialize the parser state.	* indent.c (indent): New function which does the actual indenting	of it's input, which comes in the form of a file_buffer pointer.	(main): Command line scan changed to use new option "-o" and read	possibly multiple files into new variable `in_file_names'.	Main body changed to use new `indent' function on possibly	multiple files, and accomodate default standard io specification.	* io.c (make_backup, read_file, read_stdin):  All file io routines	rewritten (`make_backup' formerly `bakcopy').  read routines	return pointer to new structure 'file_buffer'.	`make_backup' only makes backup file, no longer sets up original	file for writing.	* indent_globs.h:  Declare struct file_buffer, and io routines.Fri Mar 20 18:33:18 1992  Joseph Arceneaux  (jla at hugo)	* args.c: Option "-st" and associated variable `use_stdinout'	removed.  Option "-o" and associated variable `expect_output_file'	added.Mon Feb  3 20:22:04 1992  Joseph Arceneaux  (jla at churchy.gnu.ai.mit.edu)	* args.c: If BERKELEY_DEFAULTS is defined, use the original	defaults rather than GNU style.	* Version 1.2 released.Thu Jan 23 14:02:06 1992  Joseph Arceneaux  (jla at wombat.gnu.ai.mit.edu)	* Makefile: info version of manual included in distribution.	* args.c: New long options "berkeley-style", "berkeley" added	which correspond to original style.	* lexi.c ():  Added explicit parens in checks for alphanums.	* indent.c (main):  On switch default when searching brace, added	explicit parens to 2nd if statment.	* indent_globs.h, io.c: Made variable `in_prog_size' unsigned.		 Wed Jan 15 11:59:35 1992  Joseph Arceneaux  (jla at hugo)	* args.c:  Accept "-gnu" option.	* indent.c (main): In case rbrace, don't use ind_level and il[tos]	as criteria for setting search_brace.  This allows "-ce" to work	more strictly.	* indent.c (main): In case lparen, let '(' after an ident which is	rw_return begin casts.	* lexi.c (lexi): If ident was a reserved word, save it in	parser_state_tos->last_rw.	Changed "return" from `rw_break' to new enum element `rw_return'.	* indent_globs.h: Moved type "enum codes" to this file from	lexi.c.  New element of parser state `last_rw'.Sun Jan 12 01:40:23 1992  Joseph Arceneaux  (jla at hugo)	* lexi.c (lexi): if in decl and looking at '(', additionally	accept, after closing ')',  '(' as constituting a function	declaration (along with ';' and ',').Thu Jan  9 18:31:44 1992  Joseph Arceneaux  (jla at hugo)	* io.c (dump_line):  When outputting nonblank lines, if	n_real_blanklines is > 1 and swallow_optional_blanklines is set,	make n_real_blanklines 1.Wed Jan  8 10:06:43 1992  Joseph Arceneaux  (jla at hugo)	* args.c (option_prefix):  New function to recognize option prefix	from table.  Now handles both "+" and "--" for long option prefixes.Mon Jan  6 01:15:29 1992  Joseph Arceneaux  (jla at hugo)	* Makefile:  Made more compatible with GNU standards.  Unix man	file removed from distribution.Fri Dec 27 14:58:13 1991  Joseph Arceneaux  (jla at hugo)	* parse.c:  Correctly handle "do ... while" statements, using new	stack symbol DOSTMT.	(parse):  For semicolon, if code DOSTMT is top of stack, replace it	with STMT.	(reduce):  New reduction <dohead><whilestmt> => <dostmt>.  Also,	when reducing <stmt><dolit>, don't change indentation.	* indent.c (main):  In case rbrace, after parse(rbrace), set	force_nl if top of stack is dohead and ! btype_2.	(main):  Initialize noncast_mask to 0.Mon Dec 23 18:34:11 1991  Joseph Arceneaux  (jla at hugo)	* args.c (set_option): Recognize long options, using new struct	option_conversions, if option begins with POSIX_OPTION_PREFIX.	* indent.c (main): Recognize "--no-profile" as well as "-npro".	* indent.texinfo: Describe GNU style as default.  Section reworded.Sat Dec 21 13:27:07 1991  Joseph Arceneaux  (jla at hugo)	* indent.c (main):  In case preesc (~ line 1282), add !had_eof to	second while clause to avoid hanging in weird text (like test file	djm-torture-test/t11).	* indent.c (main): In case rparen, (~ line 680) if cast mask was	set and is reset to zero, then set parser_state_tos->want_blank if	cast_space was set.  No longer do this (#if 0) in all cases where	(!parser_state_tos->cast_mask || cast_space).Wed Dec  4 16:41:13 1991  Joseph Arceneaux  (jla at hugo)	* version.h:  Version changed to be simply 1.1.4.  Comments added.Mon Nov 25 15:16:51 1991  Joseph Arceneaux  (jla at hugo)	* indent.c (main):  When handling decl case, don't reset	PREFIX_BLANKLINE_REQUESTED if we've just encountered the type of a	procedure delcaration.  This fixes the -bap bug for procedures	which begin with a line declaring their type, following the line with	`}' from the last procedure.Fri Nov 22 15:26:59 1991  Joseph Arceneaux  (jla at hugo)	* args.c: Default is now GNU style.  Original obtained by new	option "-orig".  New variable exp_orig.	* indent.texinfo: Describe the new -ts option.  Removed the -ss	option from GNU style.Thu Nov 21 17:50:48 1991  Joseph Arceneaux  (jla at hugo)	* args.c: New variables `tabsize' and `exp_ts'.	* indent_globs.h: Declare `tabsize'.	* io.c (pad_output, count_spaces): Use `tabsize' to calculate padding.	* pr_comment.c (pr_comment): Use `tabsize' to compute column.	* args.c: Removed the "-ss" option for GNU style.Fri Sep 13 01:30:18 1991  Joseph Arceneaux  (jla at hugo)	* indent_globs.c: New element to parser_state, `paren_depth',	which counts global paren nesting.	* indent.c: Use it in main loop to avoid setting `in_or_st' when	doing ansii prototyping.Thu Sep 12 15:53:54 1991  Joseph Arceneaux  (jla at hugo)	* io.c (dump_line): Initialize target_column to 0.	* parse.c: New variable debug to control debugging output.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -