lyx_mirror/lib
Georg Baum b02242bfaf Rework InsetCommandParams interface and file storage
* src/insets/insetcommandparams.[Ch]:
	(operator[]): New, access a parameter
	(clear): New, clear all parameters
	(info_): New, stire info about this command
	(cmdname): Rename to name_
	(contents, options, sec_options): Replace with params_. Parameters
	are now stored as docstring.
	(findInfo): New factor for command info for all commands
	(read, write): Use new syntax
	(parameter set and get methods): reimplemenmt for new parameter storage

	* src/insets/insetcommand.h
	(getParam): New, get a parameter
	(setParam): New, set a parameter
	(parameter set and get methods): Adjust to InsetCommandParams changes

	* src/insets/insetbibitem.[Ch]
	(write): Remove, not needed anymore
	(directWrite): ditto

	* src/insets/insetbibitem.C
	(InsetBibitem::read): Use InsetCommand::read

	* src/insets/insetref.C
	(InsetRef::latex): Use new InsetCommandParams interface

	* src/mathed/InsetMathHull.C
	(InsetMathHull::doDispatch): ditto

	* src/text3.C
	(LyXText::dispatch): ditto

	* src/factory.C
	(createInset): Create InsetCommandParams with command name
	(readInset): ditto
	(readInset): Remove error message for bibitem, since bibitem is
	now a normal command inset

	* src/buffer.C: Bump file format number

	* src/frontends/controllers/ControlCommand.[Ch]
	(ControlCommand): take an additional command name parameter

	* src/text.C
	(readParToken): Remove code for \bibitem

	* lib/lyx2lyx/LyX.py: Bump latest file format number

	* lib/lyx2lyx/lyx_1_5.py
	(convert_bibitem, convert_commandparams): new, convert to new format
	(revert_commandparams): new, convert to old format

	* development/FORMAT: document new format

	* many other files: Adjust to the changes above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15357 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-17 21:07:16 +00:00
..
bind * lib/bind/aqua.bind: 2006-10-14 12:36:19 +00:00
clipart Initial revision 1999-09-27 18:44:28 +00:00
doc New layout for International Society for Photogrammetry and Remote Sensing 2006-10-13 04:59:00 +00:00
examples drop linuxdoc support (part 4) 2006-08-23 11:16:08 +00:00
images Add phantom icons from Uwe and me (last part of bug 1473) 2006-09-15 10:58:58 +00:00
kbd Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
layouts New layout for International Society for Photogrammetry and Remote Sensing 2006-10-13 04:59:00 +00:00
lyx2lyx Rework InsetCommandParams interface and file storage 2006-10-17 21:07:16 +00:00
scripts remove remaining references to fig_copy.sh 2006-08-08 21:12:50 +00:00
templates propdel svn:executable 2006-09-19 07:09:36 +00:00
tex Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
ui * lib/bind/aqua.bind: 2006-10-14 12:36:19 +00:00
autocorrect Whitespace only. 2003-10-13 09:50:10 +00:00
build-listerrors Whitespace only. 2003-10-13 09:50:10 +00:00
ChangeLog merge booktabs branch 2006-07-03 19:13:56 +00:00
chkconfig.ltx drop linuxdoc support (part 5) 2006-08-23 12:43:46 +00:00
configure.py Add lilypond external inset 2006-10-04 19:01:00 +00:00
CREDITS add Marius Ionescu 2006-09-27 13:54:43 +00:00
encodings Latin-7 patch 2004-06-22 06:08:11 +00:00
external_templates Add lilypond external inset 2006-10-04 19:01:00 +00:00
generate_contributions.py add Marius Ionescu 2006-09-27 13:54:43 +00:00
languages add support for naustrian; fix locale for austrian 2006-04-24 12:28:52 +00:00
lyxrc.example * src/lyxrc.C: 2006-07-09 17:57:15 +00:00
Makefile.am Add phantom icons from Uwe and me (last part of bug 1473) 2006-09-15 10:58:58 +00:00
symbols Support lgathered and rgathered math environments 2006-10-03 19:45:43 +00:00
syntax.default partial fix for bug 2132 2005-11-25 09:37:09 +00:00