Commit Graph

1221 Commits

Author SHA1 Message Date
Angus Leeming
50257b8690 Turn LyX into a singleton class. Kill the BufferView cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 21:30:23 +00:00
Angus Leeming
6fc6d7e010 Only draw the preview when previews are activated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7921 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:54:16 +00:00
André Pönitz
5c2f0c5c46 In insets:
2003-10-14  Andr� P�nitz  <poenitz@gmx.net>

  * insetcollapsable.[Ch]:
  * insettabular.[Ch]:
  * insettext.[Ch]:
  * inset.h: getText() as alternative to getParagraphs()

In src:

2003-10-14  Andr� P�nitz  <poenitz@gmx.net>

	* iterators.[Ch]: new direct access to innermost LyXText and Inset

	* undo.[Ch]: restoring part of 'undo in insets'

	* Makefile.am:
	* undo_funcs.[Ch]: merge with undo.[Ch]

	* tabular.C: small cleansing stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7919 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:01:49 +00:00
Angus Leeming
e9e4ffb1d1 displayTranslator is now a function. No need to invoke setDisplayTranslator
explicitly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 21:50:33 +00:00
Angus Leeming
efae689873 Remove a couple of #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:00:39 +00:00
Angus Leeming
18b220ac99 No trailing whitespace left in src...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7904 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:43:15 +00:00
Lars Gullik Bjønnes
16e1f90daa ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7903 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 02:10:45 +00:00
Lars Gullik Bjønnes
da6d2de0ba do not call InsetOld::localDispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7901 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:53:45 +00:00
Lars Gullik Bjønnes
75b485d110 DISPATCH -> dispatch_result
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7900 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:35:47 +00:00
Angus Leeming
122e7616d7 Minimise the use of the BufferView cache. The only things left using it
are InsetFormula, InsetExternal, InsetGraphic and InsetInclude that all
need to inform the BufferView of their changed status when the graphic
is loaded.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7897 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-12 18:54:12 +00:00
Angus Leeming
1c4ae33f9a A little further clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7895 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 21:24:06 +00:00
Angus Leeming
dff822442a RenderButton, RenderGraphic and RenderPreview now have a common lineage.
Almost sane code ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7894 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 21:08:55 +00:00
Angus Leeming
760829360d Towards saner generation of previews code. Yeah, I know. I wrote it in
the first place. I was younger then.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7888 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 23:14:30 +00:00
Angus Leeming
97a1af408e Remove the inset and view member functions from PreviewedInset.
Ensuing changes elsewhere.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7887 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 19:27:07 +00:00
Angus Leeming
8ddfa9d784 Don't use the cached BufferView to get the Buffer when we have direct access
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7886 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 14:36:16 +00:00
André Pönitz
6810aa2ab8 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
thing assignable.
	* text.C:
	* text2.C: adjust

	* tabular.[Ch]: fix crash after 'row-insert'

insets:

 * insetcollapsable.C:
  * insettext.[Ch]: saner 'init' structure

  * updatableinset.[Ch]: remove unneeded code


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7880 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 14:29:16 +00:00
Angus Leeming
627f2c70fa Fix a bunch of doxygen warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7879 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 11:31:51 +00:00
Angus Leeming
8c96de553b Add transformations to InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7877 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 22:59:58 +00:00
Angus Leeming
fbd9df3dbb Forgotten ChangeLogs, whitespace and some unnecessary namespace stuff removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7875 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 21:44:59 +00:00
Angus Leeming
10cccff7c0 Remove unused member function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7870 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 11:03:37 +00:00
Martin Vermeer
800c0dfc38 The Box patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7865 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 07:42:15 +00:00
André Pönitz
d839975cfc * insettext.C (read): make sure there is at least one par
in the text after reading.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7850 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-02 12:01:24 +00:00
José Matox
06be7f6c0b insetbranch.C (linuxdoc, docbook): minor fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7846 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 15:15:02 +00:00
Angus Leeming
27f298812d Introduce namespace lyx::external.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7843 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 10:16:00 +00:00
Angus Leeming
adbb65c87a Add InsetExternal::Params::read, write functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7841 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-30 13:51:00 +00:00
Angus Leeming
9a3737148b Re-add the RasterImage template.
Several small clean-ups of the InsetExternal code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7823 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 10:49:13 +00:00
Angus Leeming
858e197b7c Enable multiple preamble snippets to be accessed by each format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7814 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-23 17:04:25 +00:00
Martin Vermeer
100e323d04 Bug fix in branches (was earlier fixed wrongly)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7803 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 07:46:27 +00:00
Martin Vermeer
47428517e7 Small cleanup, removal of self-aggrandizing comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7802 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 07:39:46 +00:00
Angus Leeming
c319aee7c2 Fix InsetInclude properly. Data is now stored in an InsetCommandParams
var rather tahn that nasty kludge InsetInclude::Params. Functions
that need info about the Buffer are passed a 'Buffer const &' arg.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7797 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-19 10:16:33 +00:00
Angus Leeming
4348674beb Small clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7795 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 22:26:46 +00:00
Angus Leeming
62df753a2e Pass Buffer arg to Inset::getLabelList, Inset::fillWithBibKeys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7794 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 20:18:39 +00:00
Angus Leeming
91d100b25f Get rid of the InsetInclude::Params::flag variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7792 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 17:22:36 +00:00
Angus Leeming
19dcaa4391 Enable previewing of Include insets within insets within insets...
(Don't use a BufferView cache to supply the Buffer when you can just pass
'Buffer const &' instead, Angus.'


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7789 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 13:13:49 +00:00
Angus Leeming
2e7ac7ca77 Rename EnumLColor as LColor_color.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7788 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 11:48:11 +00:00
Angus Leeming
de04f0162d Use the dispatch_result wrapper class DispatchResult to remove
#include "insets/insetbase.h" from cursor.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7787 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 11:21:53 +00:00
Angus Leeming
3fbad6656f Add an InsetOld::Code wrapper class, enabling #include "inset.h" to be
removed from paragraph.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7786 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 10:52:29 +00:00
Angus Leeming
e2143b91e4 Fix crash when cutting and pasting include insets with previewing turned on.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7780 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 21:46:44 +00:00
Angus Leeming
27a9cc2098 Small clean-up of the PreviewedInset interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7778 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:43:00 +00:00
Angus Leeming
35abda384d Make all of InsetCollapsable's member variables (save 'inset') private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7777 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:39:33 +00:00
Angus Leeming
f5a0bad734 Define a wrapper LyXFont_size for LyXFont::FONT_SIZE.
Use it in paragraph.[Ch], allowing the removal of #include "lyxfont.h"
from paragraph.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7772 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 13:43:30 +00:00
Lars Gullik Bjønnes
83256c8f88 fix some namespace issues for gcc 3.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7770 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 11:03:20 +00:00
Angus Leeming
fa837efdd6 Remove unused LColor::color framecolor variable from insetcollabsable.h
Remove #include "LColor.h" from insetcollabsable.h (final remaining instance).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7769 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:54:23 +00:00
Angus Leeming
f4af685bd3 Remove #include "LColor.h" from insettext.h. Deps down 10 to 95.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7768 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:30:59 +00:00
Angus Leeming
b9f0cff285 Move a couple of InsetText member variables from protected to private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7767 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:01:29 +00:00
Angus Leeming
0d54d6b74d Remove #include "LColor.h" from inset.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7766 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:44:34 +00:00
Angus Leeming
15dc5fa5d6 lyxfont.h no longer #includes LColor.h.
Change the LyXFont setXYZ member functions to return void, not LyXFont &.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7765 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:01:15 +00:00
Angus Leeming
a6ccea4f21 The EnumLColor patch, free of macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7759 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 15:20:22 +00:00
Lars Gullik Bjønnes
cd03e2b7db Get rid of lyxstring, remove usage of STRCONV.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7751 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 11:00:00 +00:00
Angus Leeming
61f1f3ea87 Define explicitly the color passed to the painter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7748 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 10:08:01 +00:00
Martin Vermeer
757df94b07 Fix problem in lockInsetInInset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7738 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-12 14:32:53 +00:00
Martin Vermeer
22aa494eba Simplify by using adjustCommand, and fix bug in the process
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7730 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-10 14:06:49 +00:00
Lars Gullik Bjønnes
fcdb71906b Change Assert to BOOST_ASSERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7722 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:25:35 +00:00
Martin Vermeer
5020a84fc1 Remove drawText[XY]Offset. No change in functionality
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7716 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 09:05:22 +00:00
Angus Leeming
4c6e0fe422 Removed all redundant using directives from the source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
0705dae8a3 Finish the task of removing all cruft from the header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7703 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-07 21:25:37 +00:00
Angus Leeming
35b6b4c8d0 Move BufferView::ChangeInsets to the Pimpl. As a result, can remove
the #include "insets/inset.h" from BufferView.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7696 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 19:16:30 +00:00
Angus Leeming
c5c7a9e568 Strip out redundant includes (193 of 'em).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7670 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 09:01:27 +00:00
Angus Leeming
e9c209c298 The remaining External Template clean-up patch ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7666 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 17:01:00 +00:00
Martin Vermeer
781e0ef62e The mouse box patch for button-style insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7662 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 14:02:05 +00:00
Angus Leeming
1dffc5cfe4 Move #includes out of header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7659 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 03:54:04 +00:00
Angus Leeming
2ea91e9359 Move some more #includes out of the header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7656 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 01:18:42 +00:00
Angus Leeming
a529232113 Move #include "funcrequest.h" out of the header file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7655 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 01:01:13 +00:00
Angus Leeming
a4fc784124 Fix export of graphics images when compiling latex file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7649 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:23:38 +00:00
Angus Leeming
2158ae655b Don't bring namespace lyx::support into the global namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7646 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 12:56:52 +00:00
Martin Vermeer
704bd69b6c Oops...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7644 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 09:30:59 +00:00
Martin Vermeer
bee2ff2d50 Add Branch: to label
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7643 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 09:29:07 +00:00
John Levon
0769f8d599 remove cursor.i[xy]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7640 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 17:08:54 +00:00
Angus Leeming
24f8676130 Enable convertDefault.sh to run even if its executable bit is not set.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7627 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 12:45:51 +00:00
Lars Gullik Bjønnes
b881ed2d5a Use Buffer const reference in most placees possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7623 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 07:41:31 +00:00
Martin Vermeer
04296fea9a Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7612 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 18:39:22 +00:00
John Levon
744c402590 remove remaining needFullRow()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7611 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 17:52:35 +00:00
André Pönitz
407c8f08bc remove InsetOld::par_owner & handling
(const correct after Angus' comment)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7610 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 16:36:53 +00:00
Martin Vermeer
814e5398c5 Small fix to prevent crash on loading
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7609 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 15:27:31 +00:00
André Pönitz
ef2290cf5e Martin's fullRow patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7605 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 10:33:59 +00:00
André Pönitz
08492c2703 shift rowpainter interface a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7575 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-19 16:46:47 +00:00
John Levon
8d28085833 requiire amsmath for eqref
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7570 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 17:41:30 +00:00
Martin Vermeer
fd6cd728a3 The 'Branches' mega-patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7560 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-17 11:28:23 +00:00
André Pönitz
09e0187997 split LyXText::rowlist_ into individual Paragraph::rows_ chunks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7551 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 08:03:54 +00:00
John Levon
ee8d50c73d Michael's UI patch v2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7548 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 15:45:09 +00:00
André Pönitz
566e084f63 weekend stuff less the chunk John "*strongly* disagrees with"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7527 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-11 09:09:01 +00:00
André Pönitz
2b2d71d8e2 merge parts of InsetText and LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7518 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-07 11:59:09 +00:00
André Pönitz
cd75cc4376 * insettabular.[Ch] (updateLocal): simplify logic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7507 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 12:35:25 +00:00
André Pönitz
82910986f7 * insettext.C (frame_x,y,w,h): replace member with automatic variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7505 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 11:29:58 +00:00
André Pönitz
f7407bda14 insettext.C (localDispatch): merge cases with default branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7502 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 08:12:26 +00:00
André Pönitz
340b7d232c remove "deep update"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7501 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 08:07:07 +00:00
André Pönitz
7f87533060 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
is 'FULL' all the time.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7496 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 15:14:11 +00:00
Jean-Marc Lasgouttes
49dead313f do not add ellipsis to closed inset label unless necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7489 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-03 21:42:44 +00:00
Lars Gullik Bjønnes
f1ff990de7 Always use std::endl with lyxerr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7481 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 11:30:30 +00:00
Martin Vermeer
a11a110fc5 update \author list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7478 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 15:36:47 +00:00
André Pönitz
c0d7037aba remove toggleSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7459 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 10:24:22 +00:00
Martin Vermeer
900d9a7075 Oops, forgotten changelog entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7458 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 06:25:44 +00:00
Angus Leeming
1c155241d8 Martin's changes to the Note inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7456 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 21:47:18 +00:00
André Pönitz
eead5ba43d prevent crash when inserting minipage in table cell,
small cosmetic stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7454 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 15:41:39 +00:00
Martin Vermeer
93ea6f14a0 Implement a newenvironment in preamble for greyedout. Patch provided
by J�rgen Spitzm�ller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7442 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 12:20:04 +00:00
Angus Leeming
23a3298aa5 Use pushpophelper.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7437 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 08:57:51 +00:00
Angus Leeming
7fa3f39b0d Kill ChangeCitationsIfUnique; various small bits 'n' bobs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7435 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 23:53:36 +00:00
José Matox
29df5f4f83 \end_document replaces \the_end.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7430 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 22:30:50 +00:00
Jean-Marc Lasgouttes
8ea43a75e2 tex2lyx support for english quotes; revert the layout format change because we are not ready for that yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7422 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:45:41 +00:00
José Matox
131eabe56c \layout -> \begin_layout and missing \end_layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7420 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:17:11 +00:00
Jean-Marc Lasgouttes
3ac99e899f cosmetic fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7414 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 13:04:40 +00:00
Martin Vermeer
75fc382f57 Hope I *now* get it right...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7407 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 09:02:58 +00:00
Martin Vermeer
7aecdcd585 The right fix to insetnote's greyedout: use \color and \normalcolor.
Thanks J�rgen S.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7406 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 07:50:24 +00:00
Angus Leeming
d977917213 Remove long-dead InsetXYZ::Holder class and member var.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7401 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 22:38:08 +00:00
Angus Leeming
eab569812b Trivia.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7400 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 22:26:45 +00:00
Martin Vermeer
3fae1f4503 Added #include <memory> needed by gcc 2.95.2 at least.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7390 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:52:05 +00:00
Lars Gullik Bjønnes
20b42535af put namespace toc inside namespace lxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7384 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 13:18:55 +00:00
José Matox
b4a7936882 insetnote.h (linuxdoc,docbook): update support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7383 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 13:02:26 +00:00
Jean-Marc Lasgouttes
cf1307fcea cosmetic fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7382 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 12:36:52 +00:00
Lars Gullik Bjønnes
00e5c3f3a2 get rid of namesapce lyxfind and introduce namespace lyx::find
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7379 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 12:02:58 +00:00
Jean-Marc Lasgouttes
80d7f70dc3 move reading of bind files from lyxrc.C to kbmap.C; do not read bindings or menus when not using gui; move paper related enums to a new paper.h; remove dependency on bufferparams.h from lyxrc.h; small bugfix to tex2lyx; fix bad menu shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 23:04:39 +00:00
José Matox
6a2f81278d add support for tables and figures (linuxdoc).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7371 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 21:53:54 +00:00
José Matox
00a58355dd Rename arguments of makeLaTeXFile to a sane scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7370 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 21:37:10 +00:00
Asger Ottar Alstrup
1d371a287d *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7366 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 19:04:03 +00:00
Angus Leeming
8f90cc97a6 Replace occurances of system_tempdir with os::getTmpDir().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7365 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 18:25:29 +00:00
Lars Gullik Bjønnes
2e57f2ff0a rename Inset to InsetOld
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7360 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 21:20:24 +00:00
Lars Gullik Bjønnes
4ba8a4d6f6 the clone auto_ptr patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7356 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 17:11:25 +00:00
Angus Leeming
6b67e6829a Prettify the screen label of the external inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7353 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 16:48:04 +00:00
Angus Leeming
7668244a77 The inset mailers' inset2string function now requires a Buffer const & arg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7351 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 09:54:21 +00:00
Angus Leeming
5a714d510d Use a FileName variable in the external inset too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7350 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 09:17:04 +00:00
Angus Leeming
7e0e2dbb82 A new FileName class + use by the graphics inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7348 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 20:42:40 +00:00
Angus Leeming
b249c0b0bb Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7335 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 21:51:17 +00:00
Angus Leeming
0d4d71dfe6 Finish the migration from namespace grfx to lyx::graphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7334 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 21:30:57 +00:00
Angus Leeming
26f64808a2 (Martin Vermeer): fix greyout and layout foul-ups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7326 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 08:08:04 +00:00
André Pönitz
4127ff8a32 remove unneeded Inset::getMaxWidth(
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7319 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 15:30:20 +00:00
André Pönitz
99b64f351e two-phase-drawing for InsetText & InsetTabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7312 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:47:07 +00:00
André Pönitz
652a08b0a4 remove unneeded InsetText::old_max_width member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7303 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 09:32:06 +00:00
André Pönitz
52b22859af remove unneeded in_update_ members
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7299 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 07:43:55 +00:00
André Pönitz
cf31c9b219 Disable InsetText::update and InsetTabular::update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7297 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 06:45:39 +00:00
André Pönitz
0c448197ec *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7289 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 07:15:10 +00:00
John Levon
f64d7de0bf showInsetDialog() for note
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 23:52:05 +00:00
André Pönitz
09378fd7c1 changelogs...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7277 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:10:05 +00:00
Alfredo Braunstein
4cd3bf1c07 remove reinit argument from LyXText::init (act as if always true)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7274 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 08:26:17 +00:00
Alfredo Braunstein
68e8fb6694 Juergen's clear-selection-before-insertion patch. See Bug: 441, Bug: 673, Bug: 702, Bug: 954, and Bug: 1226.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7273 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 06:51:47 +00:00
André Pönitz
8aff4a1530 slimmer row painter interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7272 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 17:50:00 +00:00
André Pönitz
135e7dc8a8 * insets/insettext.[Ch] (cy, ciy, setUpdateStatus):
remove unused BufferView * argument


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7270 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 15:17:40 +00:00
André Pönitz
cf319aa81c used pre-computed metrics a bit more...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7269 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 13:49:13 +00:00
Alfredo Braunstein
9bc730abdb Take out bufferview from buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7259 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-10 12:26:40 +00:00
André Pönitz
485313c6d7 The insettext patch.
This has been out in the wild now for two weeks....


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7252 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-10 08:00:41 +00:00
Lars Gullik Bjønnes
fe390e9da1 namespace grfx -> lyx::graphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7239 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-04 08:23:23 +00:00
Lars Gullik Bjønnes
92d522b7f1 introduce namespace lyx::support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
André Pönitz
fa78e1ddb6 re-enable --with-included-string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7223 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 15:06:30 +00:00
Lars Gullik Bjønnes
1a8665988f the doxygen patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7219 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-28 01:23:11 +00:00
André Pönitz
013df200fb guess what
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7217 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-27 11:55:35 +00:00
André Pönitz
5795dddd40 remove LyXCursor::row_ member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7214 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-27 08:38:41 +00:00
Alfredo Braunstein
74aaf64a53 The error boxes are no more! See also Bug: 192, Bug: 807, Bug: 899 and Bug: 973
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7201 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-21 08:50:06 +00:00
Alfredo Braunstein
ffb610695f added a parseError signal to Buffer and use it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7200 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-20 23:03:43 +00:00
Alfredo Braunstein
2d8eb4b9d4 take several functions out of BufferList, and split functionality
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7195 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-20 12:46:28 +00:00
Lars Gullik Bjønnes
e20c467a98 bnext-2.diff + some more boost::next stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7188 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-18 17:43:49 +00:00
Lars Gullik Bjønnes
5dd63a2768 The Paste Recent patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7182 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-17 15:33:49 +00:00
Jean-Marc Lasgouttes
260e97342e compilation fix; audit and fix calls to cutSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7174 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-16 14:21:52 +00:00
André Pönitz
2a5ab60ce8 IU of clone() and getLabelList()
Some mathed internal renamings to prepare further IU


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7173 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-16 11:49:38 +00:00
André Pönitz
0c52be524c make tabular a proper member of InsetTabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7170 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-13 07:37:48 +00:00
André Pönitz
824444b67b some renamings plus whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7162 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-12 11:52:44 +00:00
Angus Leeming
ba01e80b7c Replace InsetButton and ButtonInset with a ButtonRenderer that can be
included as a member variable.
Enable InsetExternal to choose its renderer dynamically.
diffstat tells me
25 files changed, 627 insertions(+), 646 deletions(-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7160 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-12 08:52:36 +00:00
Angus Leeming
7f45b73a0e Reformat a little.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7158 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-11 22:02:03 +00:00
Angus Leeming
7ed688d021 Enable ref dialog to be launched by removing check on mouse buttons.
Too many FuncRequest(LFUN_INSET_EDIT,...) do not set the mouse button...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7156 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-11 21:46:42 +00:00
John Levon
330d20384e change tracking: mark the first table cell as erased too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7152 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-11 18:03:40 +00:00
Angus Leeming
19e1271c83 Enable the external inset to handle unknown templates gracefully.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7146 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-11 14:30:04 +00:00
Angus Leeming
822efad779 LFUN_EXTERNAL_EDIT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7144 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-11 11:01:34 +00:00
Lars Gullik Bjønnes
309c18fbeb the current_view patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7140 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-10 14:39:45 +00:00
Angus Leeming
445ae0da6f Small clean-ups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-10 11:54:31 +00:00
John Levon
13a21fe510 minimal ERT spacing patch (first patch sent to list plus a couple of fixes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7134 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-07 17:45:43 +00:00
José Matox
6653ca2c31 implement linuxdoc and docbook export for insetHFill, validate insetspace export for both
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7132 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-07 09:48:11 +00:00
José Matox
2a102671d9 newline-inset support for linuexdoc and docbook, for 1.4 fixes (bug 1148)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7130 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-06 18:35:03 +00:00
André Pönitz
2bbbde73a1 code compactification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7128 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-06 16:07:07 +00:00
Alfredo Braunstein
c516046c9c add Dialogs::visible to avoid the madness of filling unexistent dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7119 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-06 08:06:24 +00:00
Angus Leeming
01c7cf76e6 Read and write the new external inset format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7113 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-05 22:46:49 +00:00
Angus Leeming
c2933d528f Make the new grfx::Loader copy c-tor work "in expected fashion". Sheesh that took some tracking down.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7106 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 15:14:42 +00:00
Angus Leeming
6a50ae699b The external inset uses the converters. Graphical display within LyX.
Be warned --- temporary file format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7101 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 09:16:29 +00:00
André Pönitz
e412a2a53e bit of undo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7100 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 07:14:05 +00:00
John Levon
92782a861e back out tall table speedup. It broke column width setting.
I have no idea why. calculate_dimensions_of_cells must surely be called on the
SET_PWIDTH, but for some reason it doesn't resize the column despite resizing
the cell widths.

This is the sort of "fun" that changing anything in the table
code incurs. It sucks mightily :(


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7099 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 00:14:51 +00:00
Angus Leeming
77ac7806f2 Clean up InsetGraphics::Cache and rename as GraphicsInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7095 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-03 17:49:09 +00:00
John Levon
ad6e8a6e7b clone() at long last !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7092 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-03 15:10:14 +00:00
André Pönitz
0b8a489710 remove double call to metrics()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7087 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 17:58:19 +00:00
John Levon
c3735f004f fix column width resize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7086 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 16:40:38 +00:00
André Pönitz
b625e2038a IU for validate(). I guess that's in the 'don't ask' category...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7085 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 16:14:33 +00:00
John Levon
91b3be6f57 remove insetparent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7084 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 14:19:30 +00:00
André Pönitz
3b4282fb91 and this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7080 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 10:06:24 +00:00
Angus Leeming
07a77af455 Move insetwrap.[Ch] into alphabetical order.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7071 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-31 09:33:46 +00:00
André Pönitz
d60684fd07 IU for second phase of two-phase drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7067 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-30 06:48:24 +00:00
John Levon
9d57d10824 fix a bformat crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7065 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-30 02:00:31 +00:00
John Levon
5b43789f1b remove unused bufferOwner()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7064 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-29 23:43:40 +00:00
Lars Gullik Bjønnes
0d90321817 simplify InsetList a bit and constify a bit too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7062 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-29 01:13:18 +00:00
Lars Gullik Bjønnes
b2284c1a07 remove commented same_id functions, and also remove some const_casts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7061 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-28 23:09:16 +00:00
John Levon
a7c203c2ec fix bug 1055, bug 1143, bug 1144
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7060 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-28 16:36:55 +00:00
Lars Gullik Bjønnes
4882d49f88 parlist-21-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7054 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 17:29:03 +00:00
André Pönitz
a8e8e755fc rename the members of Dimension
* dimension.[Ch]: a -> asc, d -> des, w -> wid


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7053 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 13:55:03 +00:00
John Levon
50fe44383b speed hack for long tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7047 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-26 11:33:37 +00:00
Lars Gullik Bjønnes
46e5fe4a67 get rid of same_id from function signatures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7044 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-26 09:13:55 +00:00
Lars Gullik Bjønnes
9bf624381d use a reference instead of a pointer in ParagraphList::iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7037 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-24 12:13:30 +00:00
Lars Gullik Bjønnes
297b40c725 make ParagraphList::push_back take a reference instead of a pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7036 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-24 11:54:10 +00:00
André Pönitz
ec96a1e117 small stuff (white space, const, remove a const_cast...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7033 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 15:30:48 +00:00
Angus Leeming
08ad6acd9a Enable the external inset to output different flavours of latex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7031 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 14:36:26 +00:00
Angus Leeming
5d429a45a3 Get rid of the global use_babel variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7026 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 11:18:43 +00:00
Angus Leeming
8f89b71dba Rename LatexRunParams::fragile as moving_arg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 09:23:03 +00:00
Angus Leeming
453f294074 The free_spacing patch and fix to the mess that Rob discovered.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7019 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 08:59:47 +00:00
Lars Gullik Bjønnes
314b4903ac The "I want this in now" patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7018 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 07:44:09 +00:00
Angus Leeming
e1940902fe Purely mechanical: move fragile into LatexRunParams.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7016 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 22:44:30 +00:00
Angus Leeming
e9d6c8c04c The 'nice' changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7013 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 21:10:22 +00:00
Lars Gullik Bjønnes
cfead52093 fix crash by using string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7009 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 20:19:14 +00:00
Angus Leeming
ccce6b9662 Pass struct LatexRunParams around a bit...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7008 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 18:59:10 +00:00
Lars Gullik Bjønnes
62be565337 add warning make controllers compile and remove some alomost unused functions, comment out usage by undo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7004 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 16:10:34 +00:00
Alfredo Braunstein
0db4507ee2 typo fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7000 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 11:19:31 +00:00
Lars Gullik Bjønnes
b1fb034c3b parlist-16-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6999 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 10:47:31 +00:00
Angus Leeming
b3608133b0 (Juergen) the new space inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 10:40:57 +00:00
Lars Gullik Bjønnes
d605c30d8c iterators-2.diff + some whitespace changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6995 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-21 21:20:50 +00:00
André Pönitz
a8286011b8 fix drawing bug
I forgot that insettext caches its dimensions, so the cache was 0 all the
time...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6990 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-21 08:22:25 +00:00
André Pönitz
56359ec0a8 fix buglet introduced yesterday
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6985 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-20 13:39:28 +00:00
André Pönitz
723ee136ba the ascent/descent/width -> dimensions() change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6979 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 17:03:12 +00:00
André Pönitz
ff98dcea08 on the way to a usable insetenv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6975 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 07:12:09 +00:00
André Pönitz
356e26b3c1 fix #832
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6973 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-16 14:48:33 +00:00
André Pönitz
14580a289e edit->LFUN_INSET_EDIT + CHangeLog + working URL insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6969 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-16 07:44:00 +00:00
André Pönitz
0e9bd2e87d STRCONV() all over the place
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 16:24:49 +00:00
André Pönitz
dbef37d522 non-templated tostr in separate files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6955 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 14:36:24 +00:00
André Pönitz
d31244b5e2 The 'bformat' introduction
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 09:48:57 +00:00
André Pönitz
69cb723040 LColor::Pimpl
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6952 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-09 09:43:39 +00:00
Lars Gullik Bjønnes
bb4f477fe3 parlist cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6945 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-07 09:26:33 +00:00
John Levon
ebdfad1c62 fix bad InsetWrap cast
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6936 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-06 06:16:59 +00:00
André Pönitz
1badafaa40 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
few naked Paragraph *.
* undo_funcs use getParagraphs() instead of getFirstParagraph()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6935 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-05 17:28:21 +00:00
André Pönitz
b83cfa09ee 2003-05-05 Andr� P�nitz <poenitz@gmx.net>
* inset.h:
	* insettext.[Ch]:
	* insettabular.[Ch]:
	* insetcollapsable.[Ch]: remove unused function firstParagraph()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6933 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-05 15:00:25 +00:00
John Levon
c7b495326e cursor.diff, bug 1095
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-03 18:05:53 +00:00
André Pönitz
acae34cdc8 small Paragraph* -> ParagraphList::iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6921 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 10:06:07 +00:00
John Levon
e3a53bcc59 fix edit message for tabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6891 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 02:03:35 +00:00
Lars Gullik Bjønnes
b7ba81d387 003-04-30 Lars Gullik Bj�nnes <larsbj@gullik.net>
* text3.C (dispatch): do not convert iterator -> pointer
        * undo_funcs.C (setCursorParUndo): ditto
        * text_funcs.C (transposeChars): ditto

        * text2.C (setLayout): ws changes only

        * text.C (breakParagraph): do not convert iterator -> pointer
        (insertChar): ditto
        (acceptChange): ditto
        (rejectChange): ditto
        (changeCase): ditto
        (Delete): ditto
        (backspace): ditto

        * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
        pointer


2003-04-30  Lars Gullik Bj�nnes  <larsbj@gullik.net>

        * insettext.C (setFont): do not convert iterator -> pointer

        * insettabular.C (localDispatch): do not convert iterator -> pointer
        (setFont): ditto
        (tabularFeatures): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6889 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 23:59:39 +00:00
André Pönitz
4d1bbfdd26 whitespace + Inset::haveParagraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6876 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 08:46:17 +00:00
André Pönitz
e83de85ff7 part of Lars' parlist-14-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6872 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-28 16:22:32 +00:00
André Pönitz
63febc852e base insetenv directly on InsetText instead of using InsetCollapsable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6856 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-25 15:28:41 +00:00
Lars Gullik Bjønnes
265327763d Bug: 1074
Fix some insertion of empty insets stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6847 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-24 20:02:49 +00:00
André Pönitz
f69a5ed0d7 support for eqref (fixes #862)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6844 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-24 12:16:56 +00:00
Lars Gullik Bjønnes
065c0d0b05 prepare for further work and a parlist thingie
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6823 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-16 04:35:43 +00:00
Lars Gullik Bjønnes
6519ce1be5 parlist-11-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6807 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-15 00:11:03 +00:00
Angus Leeming
679d74f466 Flag a right click on an InsetExternal button as 'dispatched'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6791 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-14 10:10:02 +00:00
John Levon
d237bf76a5 fix a crash - parlist conversion silly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6782 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-12 04:39:40 +00:00
John Levon
c951809efd fix table bugs 939 and 1036
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6772 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-10 20:56:16 +00:00
Lars Gullik Bjønnes
0408f69287 Make lyxcursor store a ParagraphList::iterator, change three functions to take a ParagraphList::iterator instead of a ParagraphList::iterator. Other changes to adjust for this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6741 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-09 09:15:20 +00:00
John Levon
793b375202 alfredo's patch for 782 and 1020
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6732 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-08 00:02:32 +00:00
John Levon
5d67f7c617 reset the status message on leaving an inset or clicking with the mous
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6727 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-07 16:57:38 +00:00
John Levon
e7f84d282f return dispatched on DIALOG_UPDATE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6708 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-03 17:00:06 +00:00
Angus Leeming
d4f2506821 Attempt to fill out the new status file a little.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6700 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-03 10:51:33 +00:00
John Levon
3c1b0ea16b tab funcs changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6691 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 22:12:52 +00:00
Lars Gullik Bjønnes
311e5951ee parlist-2-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6689 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 21:19:35 +00:00
Lars Gullik Bjønnes
6ce86e2bfe parlist-a-1.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6683 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 17:11:38 +00:00
John Levon
925df4e00b Alfredo's patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6675 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 19:22:14 +00:00
Lars Gullik Bjønnes
0d876bc179 rowlist10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6674 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 16:55:48 +00:00
Lars Gullik Bjønnes
82d3d4dff6 rowlist9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6669 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 10:10:28 +00:00
Lars Gullik Bjønnes
ce1f7f2578 rowlist8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6665 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 00:01:42 +00:00
John Levon
22451cf2a8 some reworking to allow Qt to successfully choose a serif default font
with fontconfig


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6655 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-31 02:59:34 +00:00
John Levon
315e07fabc kill Alert::alert()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6653 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-31 01:15:44 +00:00
Lars Gullik Bjønnes
d2718b3669 rowlist2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6646 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-29 23:11:20 +00:00
John Levon
31dabbd890 more Alert fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6628 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-29 10:55:48 +00:00
John Levon
06242eb145 Strip old tabular code. More Alert fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6627 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-29 10:29:38 +00:00
John Levon
00c6ddd964 reset label on inset modify
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6610 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-28 17:24:33 +00:00
John Levon
4f92fc4027 bug 656 - 1.3. patch attached to bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6605 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-28 03:54:39 +00:00
John Levon
5ab95412fe remove math greek lfuns properly instead of leaving them in limbo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6602 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-28 02:37:14 +00:00
Angus Leeming
bd56331825 Satisfy JMarc and Lar's desire for LFUN_INSET_INSERT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6577 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-25 21:27:07 +00:00
John Levon
12b2d2ec4d rename the refresh stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6572 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-25 01:28:29 +00:00
John Levon
748fed5ec3 Various selection fixes inside insets including bug 972
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6564 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-24 04:17:45 +00:00
John Levon
fa15f1b24a Ding dong, the CID is dead...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6558 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-22 17:26:03 +00:00
John Levon
26f1a5bfca My patch from yesterday
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6548 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-20 14:13:49 +00:00
John Levon
caa4b718ac remove unused methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6543 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-19 18:25:36 +00:00
John Levon
0623d1f074 The markDirty() and fitCursor() changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6537 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-19 14:45:22 +00:00
Lars Gullik Bjønnes
064714a102 Remove the BufferView* arg from almost all LyXText class functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6519 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 16:25:00 +00:00
John Levon
3b9620ae6d paint cleanups as sent to list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6517 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 01:34:36 +00:00
John Levon
af2f39cc94 postPaint() etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6514 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-16 00:45:31 +00:00
Angus Leeming
bb8ce22e78 You've had enough time for that ol' review and I've made sure that things
work _despite_ of LyXLex so...
here is the Paragraph dialog reworked.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6487 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 13:56:25 +00:00
André Pönitz
a44d452b15 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6478 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 10:07:24 +00:00
John Levon
47432f0259 The inset newline patch I sent plus the requisite fixes. I couldn't reproduce a problem.
JMarc, I haven't moved those latex bits into the ::latex method yet though.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6471 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 19:16:42 +00:00
John Levon
b4f4f487d1 The final parsing patch. Tested on a variety of weird and wonderful things
without finding a regression (yet !) :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6465 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 11:52:23 +00:00
John Levon
9c7d4387f2 Use ParList iterator to insert lyxfile and read the document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6457 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 05:46:35 +00:00
John Levon
868f59f137 split out header parsing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6454 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 02:39:12 +00:00
André Pönitz
5dbad757dc the formal stuff for an HFill inset (not active yet)
minor ws changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6444 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-11 11:52:05 +00:00
Angus Leeming
7ac850e36d Rewrite the MailInset as suggested to Andr��.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6438 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 22:12:07 +00:00
Dekel Tsur
90b68775e9 Fix default float placement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6436 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 19:58:25 +00:00
Lars Gullik Bjønnes
17580c2a01 Fix InsetText latex export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6432 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 17:49:24 +00:00
Angus Leeming
49fe972114 Add some warning messages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6430 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 17:28:15 +00:00
Angus Leeming
a6a948feb1 Store an InsetBase & in MailInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6420 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 13:33:39 +00:00
Angus Leeming
ce20b638ed Cure warning message about a missing '\end_inset' when passing data between
the core and the dialogs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6409 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 03:11:54 +00:00
Angus Leeming
ded76b4ff4 Port the tabular dialog to the new scheme based on class Dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6401 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-09 18:11:57 +00:00
Angus Leeming
d94600a357 Remove the 'gross hack' of calling inset->edit when LFUN_MOUSE_RELEASE
is better handled by inset->localDispatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6395 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-09 09:38:47 +00:00
Angus Leeming
4c496f6e8d rewrite localDispatch as a switch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6384 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 21:44:48 +00:00
Angus Leeming
120c89f24f port the graphics dialog to the new scheme and get rid of the ControlInset
template.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6382 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 18:44:57 +00:00
Angus Leeming
fd8dca49b8 remove operator==, != for InsetExternal::Params. They were used only by the old controller scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6379 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 16:20:17 +00:00
Angus Leeming
be16393a7b * Remove LFUN_REF_INSERT.
* Add LFUN_DIALOG_SHOW_NEW_INSET to LyXFunc::getStatus' switch.
* Add a new LFUN_INSET_DIALOG_UPDATE to replace those nasty dynamic casts
in LyXFunc::dispatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6377 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 15:58:02 +00:00
Angus Leeming
e22ee4208d port the minipage dialog to the new scheme. Various other small changes
in the inset mailers and in the controllers.
Enable the include dialog to be lauched for a new inset (should please John ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6374 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 14:08:10 +00:00
John Levon
c803419c43 Alfredo's patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 20:21:21 +00:00
Lars Gullik Bjønnes
3bee5faf12 more ParagraphList work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 10:02:40 +00:00
Angus Leeming
80a4567bc2 Port wrap dialog to the new scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6357 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 23:19:45 +00:00
Angus Leeming
5449effb05 Move the float dialog to the new scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6355 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 19:46:08 +00:00
Angus Leeming
cba75d4489 Move InsetFloat's params into a separate struct to simplify the move to the new dialog scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6354 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 17:56:47 +00:00
Angus Leeming
61419611a0 Move the include dialog to the new scheme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6353 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 14:59:37 +00:00
Angus Leeming
b7c9ae4931 Move the external dialog to the new scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6351 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 11:30:35 +00:00
Lars Gullik Bjønnes
30a9dd7f98 add ParagraphList::erase, make mergeParagraph take a Buffer* arg, adjust other funcs to suit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6344 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 20:45:02 +00:00
Angus Leeming
e5cd3ce1a4 LFUN_INSET_MODIFY
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6336 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 14:31:04 +00:00
Lars Gullik Bjønnes
63e1ebc312 use ParagraphList::iterator a bit more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6330 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-03 23:19:01 +00:00
Lars Gullik Bjønnes
9b2ee8b7f9 adjust for boost 1.30.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6322 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-03 15:59:08 +00:00
Lars Gullik Bjønnes
ea59317b9a use the par iterators a bit more, make paragraphs public in insettext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6315 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-02 23:44:58 +00:00
Lars Gullik Bjønnes
aaa02999f2 remove some compability code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6314 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-02 12:48:45 +00:00
André Pönitz
f566e7c604 Alfredo's patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6305 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-28 09:49:49 +00:00
Angus Leeming
8e4a70423e *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6303 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-27 16:40:36 +00:00
Angus Leeming
ede9561daa Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6293 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-27 13:26:07 +00:00
Angus Leeming
86e2d69f18 Add locaDispatch methods to various inset classes. refactor the LFUN_XYZ_APPLY
code but do not yet attempt to collapse them into LFUN_DIALOG_APPLY.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6289 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 19:28:38 +00:00
John Levon
4d440a1473 The row-painter patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 17:04:10 +00:00
Angus Leeming
fa09ff85c4 Define InsetCommand::localDispatch and use it for LFUN_REF_APPLY.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6281 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 15:01:10 +00:00
Angus Leeming
a5d37d9a44 Strip out the caching of the BufferView by PreviewedInset. Use the cache
of the parent inset instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6279 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 13:10:16 +00:00
Angus Leeming
a67816b728 Alfredo's patch to get rid of insets in the graphics code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6277 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 11:41:23 +00:00
Angus Leeming
5a6c9536f6 (Alfredo) strip BufferView out of the graphics code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6268 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 19:09:00 +00:00
Angus Leeming
cda53633ff Hold on to your hats.
Qt users should autogen.sh
Gnome users --- you're on your own ;-)
Happy recompiling.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6253 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 14:51:38 +00:00
John Levon
6ea60cf308 fix bug 920
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6241 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 12:32:48 +00:00
John Levon
f413754ef5 fix bug 913 (toc crash)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6233 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-22 20:05:13 +00:00
Angus Leeming
12b3e1818e Reposition these BufferView access and caching methods, make 'em virtual
and give 'em defaults.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6222 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 12:11:53 +00:00
Angus Leeming
42c133563f Forgotten ChangeLog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6218 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 09:21:02 +00:00
Allan Rae
c527376d4f ensure child document loading also works when under version control
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6216 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 05:52:34 +00:00
André Pönitz
305c04ba8b remove the hardcoded bibkey from the paragraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6186 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 15:16:14 +00:00
Jean-Marc Lasgouttes
13780bfb63 fix display of right quote inset; fix off-by-one error in placement of error insets; fix detection of fax programs; draw arrows for symbolic skips too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6160 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 21:39:32 +00:00
John Levon
cc4085e9ff minor method name changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6152 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 15:01:06 +00:00
John Levon
d2b70ea0e6 Replace ugly getParFromID() code with ParIterator-based stuff. I think
we can do the same for getInsetFromID() but Juergen didn't answer my query.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6145 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 02:21:01 +00:00
John Levon
609f0b3321 2003-02-13 John Levon <levon@movementarian.org>
* text.h:
        * text.C:
        * text2.C: move hfillExpansion(), numberOfSeparators(),
          rowLast(), rowLastPrintable(), numberofHfills(),
          numberOfLabelHfills() ...

        * lyxrow.h:
        * lyxrow.C: ... to member functions here.

        * paragraph.h:
        * paragraph.C:
        * lyxtext.h:
        * text.C: remove LyXText::beginningOfMainBody(), and call
          p->beginningOfMainBody() directly. Move the check for
          LABEL_MANUAL into the latter.

        * text.h:
        * text.C:
        * text2.C:
        * vspace.C:
        * BufferView.h:
        * BufferView.C: make defaultHeight() be a free defaultRowHeight()

        * text.h:
        * text.C:
        * text2.C:
        * text3.C:
        * frontends/screen.C: move bv_owner private, introduce isTopLevel()
          to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6143 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 00:41:44 +00:00
John Levon
ae87b94515 The big change tracking patch. Changes from posted version :
1) abstract time_t into lyx::time_type
2) abstrace struct passwd into support/userinfo
3) make authorlist a per-buffer property instead of global

I will look at the paragraph breaking soon, in the meantime I opened a bug on bugzilla.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 19:18:01 +00:00
John Levon
2b2c661f84 Michael's text fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5980 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-23 16:23:43 +00:00
Angus Leeming
dd16b2eff7 (Michael Schmitt): the proper fix for the off-by-one cropping of graphics
images. Tested and verified to work beautifully.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5951 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-13 23:38:01 +00:00
Jürgen Vigna
8ed3c53596 Fixed down movement inside inset text (hopefully).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5917 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 09:27:15 +00:00
Angus Leeming
691568ea39 Minor bits 'n' bobs from Michael, J�rgen and Jean-Marc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-06 14:02:24 +00:00
Jean-Marc Lasgouttes
d775e02fe1 make sure extensions are kept when necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5870 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-19 10:07:35 +00:00
John Levon
2421c85ca2 Alfredo's double-dialog fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5865 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-18 22:11:07 +00:00
Lars Gullik Bjønnes
5956514071 use floatname instead of floattype
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5791 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-08 22:33:55 +00:00
Jean-Marc Lasgouttes
5a6845779e remove support for epsi; fix size of insetnote button
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5776 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-04 13:26:55 +00:00
John Levon
654b750546 unbork insetinclude
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5775 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-04 12:07:48 +00:00
Lars Gullik Bjønnes
fe154c1d62 complie fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5759 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-02 08:45:51 +00:00
Lars Gullik Bjønnes
13349032cb ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 22:59:25 +00:00
Lars Gullik Bjønnes
271b807e8b fix the switch layout bug, add some more boost.format, some additional cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5757 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 21:10:37 +00:00
Lars Gullik Bjønnes
b016d9d773 use boost::format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5694 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-21 18:33:09 +00:00
Dekel Tsur
a981100a91 Support for block alignment in fixed width columns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5690 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-21 12:24:50 +00:00
Jürgen Vigna
d4ee5b69d0 Fix for the endless loop bug on wide tabulars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5680 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-20 16:42:28 +00:00
Lars Gullik Bjønnes
6a1167adab STRCONV
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 02:12:42 +00:00
Lars Gullik Bjønnes
dd9b8de435 small changes
prepare for the STRINGCONV patch


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5572 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 00:15:56 +00:00
Angus Leeming
b3e2ee2a8d (Rob Lahaye): read and write latex height data of graphic correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5562 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-31 11:33:49 +00:00
John Levon
eb2352f227 fix 568 (r=lars)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5555 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-30 15:09:55 +00:00
Jean-Marc Lasgouttes
527b60ce38 fix crash with external inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5544 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-29 16:01:19 +00:00
Jean-Marc Lasgouttes
8e41fc9bd0 work around crash with external inset and latex export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5514 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-25 12:46:01 +00:00
Angus Leeming
e1edfbe8a0 (Rob Lahaye): changes to the xforms graphics dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5495 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 11:53:46 +00:00
John Levon
774dabb323 remove unused and a little documentation (all r=larsbj)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5462 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 16:21:56 +00:00
Angus Leeming
dde4494e66 Fix the drawing of an inset with a relative file path subdir/fig.eps
when pasting it into a buffer in a different directory.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5457 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 12:00:51 +00:00
John Levon
d009cd4d93 Remove \\protected_separator.
Tested with load/save a current lyx document, and lyx2lyxing of
klyx UserGuide


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5428 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-16 20:27:23 +00:00
Jean-Marc Lasgouttes
f26e81fc97 fix kerning problems with insetquotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5407 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-15 10:39:57 +00:00
Jürgen Vigna
f7d3fe8836 Fix undo bugs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5395 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-14 14:59:50 +00:00
Angus Leeming
2ed6872ad5 Fix to bug 633.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5382 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 12:18:55 +00:00
André Pönitz
816344ab1d Fix the "can't move out of nested text insets using pageup/down"
and a few cases of the "can't scroll over large notes" annoyances.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5381 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 10:45:28 +00:00
Dekel Tsur
fbb788ccb5 Patch from Juergen Spitzmueller
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5348 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-26 08:59:34 +00:00
Dekel Tsur
36617cee5f Fix insetwrap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5339 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-24 18:36:20 +00:00
Lars Gullik Bjønnes
33f06bb79b forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5337 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-24 18:22:50 +00:00
John Levon
daff768455 Fix cut/copy enable r=jug ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5309 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-16 12:52:58 +00:00
Angus Leeming
b0357a33ae Rob's latest and greatest dialog tweaking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5282 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-12 08:44:23 +00:00
André Pönitz
4e672b30f3 lfun word-select
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5265 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-11 14:48:19 +00:00
John Levon
cbb3dc4564 remove unused nl
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5255 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-10 16:54:16 +00:00
John Levon
5a15177281 remove noload/don't typeset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5243 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-09 17:32:53 +00:00
Angus Leeming
b261483f24 Rob's dialog clean-up and Martin's 'disfucation' of insetgraphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5238 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-09 09:49:47 +00:00
Lars Gullik Bjønnes
cf3c73f4e8 remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5220 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-06 15:18:11 +00:00
Jürgen Vigna
2387be1880 Removed my comment about changes in InsetText as Andre inserted the right
one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5165 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 08:29:50 +00:00
André Pönitz
94045ff809 forgotten ChangeLog entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5163 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 08:13:10 +00:00
Jürgen Vigna
b093dab69b Fixed the selection problem for insettext/insettabular John reported
(as promised ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5162 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 08:04:22 +00:00
John Levon
6af5ac769a Rob's followup (nr. 1 ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5127 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 20:30:20 +00:00
Jean-Marc Lasgouttes
a0d71b53fe move floatlist to textclass
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5124 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:51:19 +00:00
Lars Gullik Bjønnes
a4d47c3448 compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5110 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 11:27:37 +00:00
Jürgen Vigna
d902fedf32 John's patch for fixing mouse button press lfuns inside insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5106 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 07:52:59 +00:00
John Levon
e91aba8dd0 elide long URLs - http://bugzilla.lyx.org/show_bug.cgi?id=404
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5096 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-25 01:15:01 +00:00
John Levon
db595adf2d missing changelog from Rob.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5094 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-25 00:16:48 +00:00
John Levon
91ba9e6f91 pedantic cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5091 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-24 20:25:17 +00:00
Lars Gullik Bjønnes
fd1a4f75e8 move pasteParagraph to global scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5062 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 17:35:24 +00:00
Dekel Tsur
128730e4c4 Do not remove spaces of keys inside \cite
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5054 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 09:14:16 +00:00
Lars Gullik Bjønnes
998c773a16 remove NO_COMPABILITY stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5052 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 07:30:57 +00:00
Lars Gullik Bjønnes
51e4d793ed more from the diff-5.diff merged
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4983 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 22:15:18 +00:00
Lars Gullik Bjønnes
a443001d5a fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4978 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 18:47:14 +00:00
Lars Gullik Bjønnes
1bb7741a5d diff test alterations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4976 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 18:38:59 +00:00
Lars Gullik Bjønnes
6cd49089c4 fix ParagraphList reading in InsetText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4961 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 09:11:24 +00:00
Angus Leeming
c10dfd15cd * LyXView: the accessor methods now return a reference to the member
variables, not a pointer.
* WordLangTuple: you can forward-declare a return type you know ;-)
* Qt: get it to compile again, having broken it yesterday.
* Everything else? See above.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4957 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 14:40:38 +00:00
Angus Leeming
9360861f33 * Fix reading of lyxsize_type in 1.2.0 documents.
* Document change to format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4945 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 16:41:15 +00:00
Jürgen Vigna
46af93a495 Don't open collapsable insets on mouse button 3 events.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4940 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 09:35:52 +00:00
Lars Gullik Bjønnes
5bd7f9d67b The ParagraphList stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4937 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 00:15:19 +00:00
Lars Gullik Bjønnes
116dbc66eb a new paragraph function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4930 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-10 15:21:07 +00:00
Angus Leeming
8478e5dcfe LaTeX can now find \input insets where the file has a relative path.
(Thanks to John for unwittingly informing me of the existance of input@path.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4920 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 11:16:54 +00:00
John Levon
30a10564b1 two minor cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4913 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 02:50:20 +00:00
Jürgen Vigna
52ca14b791 Don't put selected stuff into the clipboard on delete and backspace keys
(Patch from Michael Schmitt).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4889 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 12:00:08 +00:00
André Pönitz
b8198905dc the FuncRequest changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4887 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 08:11:41 +00:00
John Levon
6b5c9696b6 Remove LYX_LAYOUT_DEFAULT - it is very very old, even klyx doesn't use it.
Commit the multi-language spellcheck patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4882 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 22:38:44 +00:00
Angus Leeming
84bdbe2eac Add a monitor to the previewed image of a \input-ed file, so that the
image is refreshed if the file changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4879 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 14:02:59 +00:00
John Levon
7c98b3bd37 spellchecker cleanup - fscked knows why pspell is broken, I am TOTALLY
baffled by that one.

Various other cleanups, including a fixed version of lyxlex that doesn't
destroy the preamble ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4854 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-04 23:11:50 +00:00
Angus Leeming
5e802bab4d Change the LyX file format, adding a "preview" flag to Include insets.
Document this change in a new file FORMAT.
Enable the user to toggle preview status by modifying the Include dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4849 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 18:25:25 +00:00
Angus Leeming
5f46df1f0f Now generate previews when loading the buffer for insets in insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4847 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:39:43 +00:00
Angus Leeming
cc132995fa Cache the BufferView as a weak_ptr; get rid of those horrible current_views.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:30:58 +00:00
Angus Leeming
d91ffd8d78 Previews for \input insets.
Refactor code common to InsetInclude and InsetFormula into a new
PreviewedInset class.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4830 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 17:28:59 +00:00
Lars Gullik Bjønnes
043298544c Rename strip to rtrim
Rename frontStrip to ltrim
Add new trim function.

modify source for this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4801 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 22:50:13 +00:00
Lars Gullik Bjønnes
e39935204d remove some unneeded version of functions from lstrings,
some gcc 3.2. minor compile fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
Jürgen Vigna
d0cc00980d Fixed 2 more problems with s+r. This fixes #482.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 09:50:16 +00:00
Jürgen Vigna
2232b64760 Fixed some s+r bugs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4788 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 15:42:35 +00:00
Jürgen Vigna
a33189175a Performance patches for tabulars from Edwin and John. Removed some
code which was there only for debugging purpose from undo_funcs.C.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4782 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 11:39:38 +00:00
John Levon
14299daf10 J�rgen's float patch + "span columns"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4781 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 11:06:25 +00:00
Jean-Marc Lasgouttes
4d5046100f fix 172; please test
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4766 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-23 21:03:38 +00:00
Jean-Marc Lasgouttes
10aefc07a0 herbert patch to read 1.2.0 graphics insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4760 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-23 12:20:21 +00:00
Jean-Marc Lasgouttes
af9352a2e7 latest graphics jumbo patch from herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4741 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 12:36:41 +00:00