Commit Graph

6931 Commits

Author SHA1 Message Date
Angus Leeming
4e56732c89 Add a few 'const's.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8176 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 23:04:36 +00:00
Angus Leeming
709d732f71 Michael Schmidt's whitespace fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8175 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 21:26:16 +00:00
Angus Leeming
00812b180b Flotsam from Michael Schmidt's VSpace fixes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8174 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 21:24:18 +00:00
Angus Leeming
0aea5bd320 Handle 'end_inset' gracefully.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8173 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 21:19:16 +00:00
Martin Vermeer
cf20cb674b Fix parbox/minipage radio button behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8172 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 16:42:16 +00:00
Martin Vermeer
918a4067b5 Add latexparam to CharStyle inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8171 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 16:01:50 +00:00
Jean-Marc Lasgouttes
c04e54dd4f remove stray "if"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8170 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 14:54:26 +00:00
Martin Vermeer
d6c55f8b50 Place inset content on the button when collapsed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8169 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 14:51:52 +00:00
Jürgen Spitzmüller
b06de5044f The VSpace fixes (removal of VSPACE::NONE) from Michael and myself
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8168 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 14:16:27 +00:00
André Pönitz
302f32d7fa commit
make destructors virtual in base classes and only there.

   try to implement your class in a way that the automatically generated
   copy constructor and copy assignment work out-of-the box.

(we agreed on that a few weeks ago)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8167 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 13:53:25 +00:00
André Pönitz
4b2c271e23 * buffer.[Ch]:
* lyxtext.h: move ParagraphList member to LyXText
	rename LyXText::ownerParagraphs to LyXText::paragraph

	* CutAndPaste.C:
	* bufferview_funcs.C:
	* iterators.[Ch]:
	* lyx_cb.C:
	* paragraph.C:
	* rowpainter.C:
	* tabular.C:
	* text.C:
	* text2.C:
	* text3.C: adjust

	* lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.

	* undo.C: fix cursor positioning
	* insetbase.h: whitespace

	* inset.[Ch]: remove latexTextWidth
	make setBackgroundColor virtual

	* insettext.[Ch]:  move ParagraphList member to LyXText

	* insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE

	* insetcharstyle.C:
	* insetenv.C:
	* insetert.[Ch]:
	* insetfloat.[Ch]:
	* insetminipage.[Ch]:
	* insettabular.C:
	* insetwrap.[Ch]: adjust paragraphs and background color handling,


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8166 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 13:35:49 +00:00
Jürgen Spitzmüller
220317063e The qbranch fixes, the lengthcombo enhancement and removal of dead code in QParagraph.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8165 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 07:54:02 +00:00
John Levon
ee6fcfd1dd fix a crash on exit since nobody objected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8164 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 00:35:26 +00:00
Angus Leeming
0ad320dce9 Squash warning about variables being initialized in the wrong order.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8163 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-30 18:26:41 +00:00
Jürgen Spitzmüller
835002e272 Martin's BranchList fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8162 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-30 18:04:48 +00:00
Angus Leeming
6ba7f0c43f What is FormDocumentNew.C?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8161 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-30 17:42:07 +00:00
Angus Leeming
250b422217 Fix from Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8160 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-30 17:11:50 +00:00
Angus Leeming
4ad351842c Use the return status direct in stamp-forms...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8159 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-29 21:02:59 +00:00
Angus Leeming
e1515e6d78 Follow J�rgen Spitzm�ller's lead and add a 'keep' option to the xforms dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8158 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-29 20:13:51 +00:00
Jürgen Spitzmüller
d2eb113909 QVSpace dialog/QBranches: some minor (uncontroversial) bugfixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8156 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-29 17:25:31 +00:00
Jürgen Spitzmüller
98584b07ac Restore lost connections in the Qt paragraph dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8155 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-29 15:49:10 +00:00
Jürgen Spitzmüller
2e1abd05a7 QVSpace dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8154 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-29 09:39:35 +00:00
Martin Vermeer
629bd3d17e Michael Schmitt's UI patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8153 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 19:17:34 +00:00
André Pönitz
505ae17833 the format has changed..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8152 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 18:08:24 +00:00
Angus Leeming
48f7421140 The VSpace inset is now fully functional AFAICT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8151 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 17:38:39 +00:00
Angus Leeming
3bb6b37043 Simplify the invocation of the Mailer::hide/showDialog() functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8150 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 17:13:41 +00:00
André Pönitz
7de76711b1 move space above/below from Paragraph into a separate vspace inset.
Gui interaction mailer stuff by Angus...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:53:34 +00:00
André Pönitz
741064fa58 move the LyXText member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8148 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:08:38 +00:00
Martin Vermeer
e8185081bc Syntax change for CharStyles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8147 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 10:12:04 +00:00
Angus Leeming
2943f3da29 Safe use of 'cut' with Win32 filenames.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8146 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 09:39:16 +00:00
André Pönitz
e5c07a21d5 10 points of RIGHT_MARGIN
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8145 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 09:03:13 +00:00
André Pönitz
84b462dd37 ismall stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8144 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 08:55:12 +00:00
Martin Vermeer
a9cd48f40e This was forgotten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8143 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 16:57:12 +00:00
Martin Vermeer
9ef3f928a5 parametrize SGML document header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8142 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 16:52:07 +00:00
Martin Vermeer
3dfe7a4734 replace bool-valued Pdflatex() by FLAVOR-valued getFlavor().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8141 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 16:38:47 +00:00
Alfredo Braunstein
0ca871014a setFont rework + some code simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8140 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 09:22:41 +00:00
André Pönitz
328760c223 fix table crash by initializing cursor par to 0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8139 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-26 10:42:42 +00:00
Alfredo Braunstein
2a6106ff5f updateCounters fix + changeDepth simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-26 09:48:21 +00:00
Martin Vermeer
af37f0d23e Introducing a number of tags parametrizing various
XML formats that we may want to support


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8137 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 17:23:36 +00:00
Alfredo Braunstein
1dc2202e8b adjust two comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8136 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 16:49:02 +00:00
André Pönitz
ce686f1803 the 'lots of small stuff' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8135 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 11:17:27 +00:00
Alfredo Braunstein
6b8618d6a1 make insetgraphics cache their position
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8134 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 08:50:07 +00:00
Angus Leeming
45ca1c4e02 (Georg Baum): propogate BibTeX databases from the master document to
its children.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8133 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 20:48:21 +00:00
Alfredo Braunstein
44dd615836 remove unneeded bv->text->init call
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8132 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 20:03:47 +00:00
Jean-Marc Lasgouttes
a1b23b2f07 fix generation of pot files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8131 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 18:01:48 +00:00
André Pönitz
c01bf4fae4 * text2.C (updateCounters): remove call to redoParagraph on
changed labels as this is far too expensive.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8130 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 17:29:10 +00:00
André Pönitz
4bcfc9abe9 * insettext.C (setViewCache): don't call LyXText::init() anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8127 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 16:54:00 +00:00
André Pönitz
cbe6dd74b3 some bool variables to make if() simpler
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8126 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 16:36:59 +00:00
André Pönitz
cf6380307f some rowpainter simlification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8125 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 16:26:55 +00:00
Alfredo Braunstein
f61322848d fix a crash while importing from LaTeX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8124 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 12:00:20 +00:00