Commit Graph

736 Commits

Author SHA1 Message Date
André Pönitz
a63cddf51c remove qt3 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 08:35:47 +00:00
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
Lars Gullik Bjønnes
081d1e9438 Slight update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15052 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 19:48:18 +00:00
Lars Gullik Bjønnes
ddbafa138f remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15051 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 19:31:35 +00:00
Lars Gullik Bjønnes
becfc55b08 Updated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15050 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 19:20:51 +00:00
Lars Gullik Bjønnes
e36ccf18f0 Extract l10n info from qt4 ui files. Disregard caption information from qt3 ui files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15048 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 18:34:27 +00:00
Lars Gullik Bjønnes
3965875172 Remerge after mathed filename changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15034 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-17 20:40:15 +00:00
Lars Gullik Bjønnes
eec4492cb4 Remerge. Update nb.po a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14950 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-09 11:10:26 +00:00
Jean-Marc Lasgouttes
886817079a update POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14914 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-06 12:57:17 +00:00
Michael Schmitt
2a71306d77 drop linuxdoc support (part 4)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14821 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-23 11:16:08 +00:00
Jean-Marc Lasgouttes
9690c55e15 Fix crash in tialian locale when setting Theorem environment (bug2774)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14702 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 14:07:33 +00:00
Jean-Marc Lasgouttes
e0cf54f37c * po/*.po:
* po/POTFILES.in: remerge

	* po/Makefile.in.in: get rid of Qt shortcuts


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14697 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 09:57:24 +00:00
Jean-Marc Lasgouttes
50da557e94 new Czech translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14600 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 08:56:59 +00:00
Michael Schmitt
66662d3f26 * pocheck.pl: re-introduce check for '|' shortcuts
which are not only used by the former xforms frontend
        but also in the menus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14484 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-18 21:06:47 +00:00
Michael Schmitt
4eccc22119 remove xforms relicts
* src/frontends/qt3/QPrefs.C:
        * src/frontends/controllers/BCView.tmpl:
        * src/support/package.h: fix/remove comment

        * po/pocheck.pl: no longer check for xforms shortcuts
        * development/Win32/lyx.vcproj: ignore ControlPreamble.[Ch]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14372 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 09:40:15 +00:00
Jean-Marc Lasgouttes
48a5df5ffe update postats script to use proper trac URL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14328 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 22:00:18 +00:00
Lars Gullik Bjønnes
22861453fe Remove the XForms frontend, update the autotools files, and fixup po.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14320 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 19:20:25 +00:00
Abdelrazak Younes
9f5f309ea2 QURL renamed to UrlView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14256 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-28 12:09:25 +00:00
Jean-Marc Lasgouttes
206b13ef95 forward port it.po from 1.4.x branch to fix a bug with counters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14245 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 12:02:27 +00:00
Jean-Marc Lasgouttes
2b587768f5 forward port pl.po from 1.4.x branch to fix a bug with counters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14244 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 12:01:17 +00:00
Jean-Marc Lasgouttes
44a5cfc89c Renaming:
cygwin_path_fix		->	windows_style_tex_paths
	cygwin_path_fix_needed	->	tex_expects_windows_paths
	check_cygwin_path	->	check_windows_style_tex_paths
	use_cygwin_paths	->	use_windows_paths
	RC_CYGWIN_PATH_FIX	->	RC_TEX_EXPECTS_WINDOWS_PATHS

	* src/frontends/qt4/ui/QPrefCygwinPathUi.ui
	* src/frontends/qt3/ui/QPrefCygwinPathModule.ui
	  Updated checkbutton label and description

	* src/frontends/qt4/QPrefsDialog.C
	  (PrefCygwinPath): cygwin_path_fix -> windows_style_tex_paths
	  (QPrefsDialog): Enable checkbutton for native WIN32 builds

	* src/frontends/xforms/forms/form_preferences.fd
	  Updated label and name of checkbutton

	* src/frontends/xforms/FormPreferences.C
	  (apply): cygwin_path_fix -> windows_style_tex_paths
	           check_cygwin_path -> check_windows_style_tex_paths
	  (build): Enable checkbutton for native WIN32 builds
	  (update): Ditto
	  (feedback): Updated description

	* src/frontends/qt3/QPrefs.C
	* src/frontends/qt3/QPrefsDialog.C
	* src/frontends/qt3/QPrefsDialog.h
	  Renaming as above, enabled checkbutton for native WIN32 builds

	* src/support/os_unix.C
	* src/support/os.h
	* src/support/os_win32.C
	  Renaming cygwin_path_fix -> windows_style_tex_paths
	* src/support/os_cygwin.C
	  Ditto
	  (external_path, external_path_list): always return windows
	  style paths, not depending on the checkbutton status

	* src/lyxrc.C
	* src/lyxrc.h
	* src/lyxfunc.C
	* src/lyx_main.C
	  Renaming

	* lib/configure.py
	  Renaming, more meaningful diagnostics




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14242 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 10:51:24 +00:00
Lars Gullik Bjønnes
eefc9ad640 * Rename src/frontends/qt2 to src/frontends/qt3,
update users of the dir accordingly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13731 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 13:48:24 +00:00
Bo Peng
eb485caa96 view-source feature, from Bo Peng <ben.bob@gmail.com>
* src/buffer.h buffer.C - getSourceCode()
	* src/lyxfunc.C -  open view-source dialog
	* src/text3.C - change LFUN_MOUSE_RELEASE
	* src/output_linuxdoc.C, src/output_docbook.C, src/output_latex.C 
		- intercept output
	* src/outputparams.h, outputparams.C - add par_begin, par_end, dryrun
	* src/insets/insetgraphics.C  - add dryrun mode of file conversion
	* lib/ui/stdmenus.ui - add view-source menu item under view
	* Add view-source dialog, add 
	    src/frontends/qt2/QViewSourceDialog.h, QViewSource.C, QViewSource.h, QViewSourceDialog.C
	    src/frontends/qt2/ui/QViewSourceDialogBase.ui
	    src/frontends/controllers/ControlViewSource.h ControlViewSource.C
	  modify
	    src/frontends/qt2/Makefile.dialogs, Makefile.am, Dialogs.C,
	    src/frontends/controllers/Makefile.am, po.POTFILES.in


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13610 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:48:54 +00:00
Lars Gullik Bjønnes
9d6cad3fe6 * output_latex.h:
* buffer.h:
        * CutAndPaste.h:
        * pariterator.h:
        * paragraph_funcs.h:
        * output_linuxdoc.h:
        * output_docbook.h:
        * insets/insettext.h: get forward declaration of ParagraphList

        * output_plaintext.C:
        * bufferlist.C:
        * undo.C:
        * lyxtext.h:
        * undo.h:
        * buffer_funcs.C:
        * insets/insetbibitem.C: get proper ParagraphList decls

        * output_linuxdoc.C (linuxdocParagraphs):
        * output_latex.C (TeXOnePar):
        * insets/insettext.C (appendParagraphs):
        * insets/insetcharstyle.C (docbook): use std::distance

        * CutAndPaste.C (pasteSelectionHelper, copySelectionHelper):
        * paragraph_funcs.C (breakParagraph,
        breakParagraphConservative, mergeParagraph):
        * text.C (acceptChange, rejectChange):
        * text2.C (deleteEmptyParagraphMechanism): use boost::next

        * output_docbook.C (several places): use boost::next and
        std::distance

        * ParagraphList_fwd.h: modify to provid a forward declaratoin
        of the new ParagraphList.

        * RandomAccessList.h: New container for Paragraphs from
        Abdelrazak Younes

        * ParagraphList.h: new file, setup user of RandomAccessList

        * paragraph.C: remove ParagraphList constructor from this file



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13467 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:11:06 +00:00
Michael Schmitt
d1ef036182 tiny changes to de.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13279 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-27 18:36:52 +00:00
Lars Gullik Bjønnes
3d9b16f9e2 remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13209 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-11 19:47:05 +00:00
Lars Gullik Bjønnes
4a7ab830bc Delete all .cvsignore files from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
Jean-Marc Lasgouttes
7f00c8fa52 fix file menu binding in Polish locale (bug 1898)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10801 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-01 14:40:47 +00:00
Lars Gullik Bjønnes
e65ec11f9d remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10795 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-29 14:37:27 +00:00
Lars Gullik Bjønnes
aa485c36b4 remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10792 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 22:01:12 +00:00
Michael Schmitt
0e8782ff48 de.po: minor update for the gtk frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10791 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 21:38:38 +00:00
Jean-Marc Lasgouttes
d45d976bfb Polish update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10739 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-16 10:37:02 +00:00
Jean-Marc Lasgouttes
84bafaa2c2 remerge italian translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10733 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-12 21:46:18 +00:00
Jean-Marc Lasgouttes
84efce83bb update from Kostantino
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10722 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-11 12:14:29 +00:00
Jean-Marc Lasgouttes
5404e12f88 nynorsk update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10720 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-10 13:30:07 +00:00
Jean-Marc Lasgouttes
a95bd65e3e update from Alex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10705 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-04 11:03:35 +00:00
Jean-Marc Lasgouttes
f125f73517 update Spanish; update po stats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10701 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-03 11:32:40 +00:00
Michael Schmitt
7562e52b85 minor update to de.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10694 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-01 14:36:32 +00:00
Lars Gullik Bjønnes
ae85c9f49f pl.po update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10687 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-28 20:51:30 +00:00
Lars Gullik Bjønnes
908f814920 remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10681 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-23 18:52:43 +00:00
Lars Gullik Bjønnes
3fd20621a5 remove obsolete entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10667 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-18 14:49:43 +00:00
Lars Gullik Bjønnes
da8338a660 remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10666 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-18 14:32:23 +00:00
Michael Schmitt
959a988e7e minor changes proposed by Hartmut Haase + shortcut conflict resolution
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10632 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-29 23:09:03 +00:00
Jean-Marc Lasgouttes
ff4ae7a2b5 another update to french l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10617 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-23 09:00:29 +00:00
Jean-Marc Lasgouttes
8dd52d17f1 update to french l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10615 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-22 12:52:10 +00:00
Michael Schmitt
530ee7d3c6 improve German translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10612 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-19 15:21:47 +00:00
Michael Schmitt
5696f56825 a few more German messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10605 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-15 23:07:31 +00:00
Michael Schmitt
04d16eeed4 more de.po updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10604 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-15 22:37:08 +00:00
Michael Schmitt
dfe4c05d4f more German translation work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10580 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-01 00:01:50 +00:00
Lars Gullik Bjønnes
387fafc5d3 remerge and CRLF removal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10567 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-23 13:26:52 +00:00