lyx_mirror/lib/lyx2lyx
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
..
ChangeLog merge booktabs branch 2006-07-03 19:13:56 +00:00
generate_encoding_info.py rename generate_enconding_info.py to generate_encoding_info.py 2006-08-14 15:11:57 +00:00
lyx2lyx lyx2lyx: Remove -tt from header since it does not work. 2006-08-02 09:54:41 +00:00
lyx2lyx_lang.py generate_enconding_info.py parses lib/languages and generates lyx2lyx_lang.py 2006-08-07 14:05:07 +00:00
lyx2lyx_version.py.in Convert all python files to utf-8. 2006-08-02 14:19:22 +00:00
lyx_0_06.py Add support for input encoding handling by lyx2lyx. 2006-08-07 14:10:41 +00:00
lyx_0_08.py Add support for input encoding handling by lyx2lyx. 2006-08-07 14:10:41 +00:00
lyx_0_10.py Add support for input encoding handling by lyx2lyx. 2006-08-07 14:10:41 +00:00
lyx_0_12.py Add support for input encoding handling by lyx2lyx. 2006-08-07 14:10:41 +00:00
lyx_1_0.py Add support for input encoding handling by lyx2lyx. 2006-08-07 14:10:41 +00:00
lyx_1_1_5.py string.join(lst) -> " ".join(lst) and not "".join(lst) 2006-08-02 16:13:01 +00:00
lyx_1_1_6_0.py Add support for input encoding handling by lyx2lyx. 2006-08-07 14:10:41 +00:00
lyx_1_1_6_3.py Add support for input encoding handling by lyx2lyx. 2006-08-07 14:10:41 +00:00
lyx_1_1.py Add support for input encoding handling by lyx2lyx. 2006-08-07 14:10:41 +00:00
lyx_1_2.py Remove calls to deprecated module string. 2006-08-02 15:45:44 +00:00
lyx_1_3.py Remove calls to deprecated module string. 2006-08-02 15:45:44 +00:00
lyx_1_4.py string.join(lst) -> " ".join(lst) and not "".join(lst) 2006-08-02 16:13:01 +00:00
lyx_1_5.py Rework InsetCommandParams interface and file storage 2006-10-17 21:07:16 +00:00
LyX.py Rework InsetCommandParams interface and file storage 2006-10-17 21:07:16 +00:00
Makefile.am Debris from earlier typo fix in file name. 2006-08-14 21:54:42 +00:00
parser_tools.py Give to get value a default argument, 2006-08-07 13:59:01 +00:00
profiling.py Convert all python files to utf-8. 2006-08-02 14:19:22 +00:00
test_parser_tools.py Start to consolidate the functions in parser tools. 2006-08-02 14:25:43 +00:00