Commit Graph

1221 Commits

Author SHA1 Message Date
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
Jean-Marc Lasgouttes
1dc25c472f time to recompile everything: I removed #include directives from headers here and there... Not sure what the net effect is, but it cannot be worse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4736 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 21:21:06 +00:00
Jean-Marc Lasgouttes
1c52d8f898 toc support reorganization; changes to xform_helpers; aspect ratio patch from herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 15:51:07 +00:00
Jean-Marc Lasgouttes
8a91f206c6 implement DependsOn tag for layout files; more uninteresting cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4729 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 20:47:54 +00:00
Jean-Marc Lasgouttes
f6fa515491 toggleInset improvement; make lyxpreview work out of the box (?); apply aspect ratio patch, with a part disabled (angus, help!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4714 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-19 21:44:14 +00:00
Angus Leeming
6206e59009 File monitoring is Go!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4703 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 14:01:42 +00:00
Angus Leeming
ddb684f332 Disable direct loading of PostScript files by the xforms image loader.
Apply Herbert's patch removing special casing to deal with rogue PostScript
files.
Fix a few more comments.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4693 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:55:21 +00:00
John Levon
91bcdf564a Make showState be view_state_changed, and rename setState to something
more descriptive


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4671 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 04:13:41 +00:00
Jean-Marc Lasgouttes
1dbfc15548 fix 514 (from herbert)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4668 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 22:12:25 +00:00
Jean-Marc Lasgouttes
57e89ae2bf compile fix in XPM image loader; fix opaque handling; remove warnings; fix turkish locale problems; add shortcuts to documents menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4661 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 21:17:10 +00:00
John Levon
bc2f8994a2 remove getPixmap() from GraphicsImage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4642 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 17:17:57 +00:00
Angus Leeming
16b928088f Smart loading of image files for previews and for the graphics inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4638 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 11:08:46 +00:00
Dekel Tsur
0c062bec1b RTL fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4631 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-13 15:00:06 +00:00
Dekel Tsur
67d0aa74f4 RTL fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4630 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-13 14:56:42 +00:00
Angus Leeming
f68a2bfb91 Preview code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 21:24:15 +00:00
Lars Gullik Bjønnes
de236c41d8 Changes to make RH-7.3 be able to run lyx.
Also changes to make gcc 3.1 compiled lyx exit cleanly after
above changes.

Move operator== out out InsetCommandParams.

Change some signals in GraphicsImage to function instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4535 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 17:45:35 +00:00
André Pönitz
f849bc4a62 separate insetcommand.[Ch] into two files
we should be ble to use this later to reduce include dependencies


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4530 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 13:54:28 +00:00
Jean-Marc Lasgouttes
64f38ce0cb better cyrillic languages support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4525 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-03 14:18:32 +00:00
Angus Leeming
888532c465 Asymptotic approach to a well-designed graphics loader.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 11:22:56 +00:00
Angus Leeming
a31eb3b2df std::auto_ptr -> boost::scoped_ptr and compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4490 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 16:57:59 +00:00
Angus Leeming
1bb197b5d4 Create a grfx::Loader class and so move large chunks of code out of
frontends/screen.C and insets/insetgraphics.C. Leave mathed/preview.C
untouched as an excercise for Andr� ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4489 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 14:15:08 +00:00
André Pönitz
7e652bb51c second part of Claus' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4487 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 11:55:40 +00:00
Angus Leeming
514156adbb * Split the graphics loader into a frontend and a backend.
* Add frontend code to generate and display the pixmap to InsetGraphics.
* Add (much simpler) frontend code to the LyXScreen to show the splash screen
once more.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4480 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 15:59:10 +00:00
Lars Gullik Bjønnes
65d4b13616 layout as layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 20:28:12 +00:00
André Pönitz
de48d23893 compiler warning/tiny whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4468 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 17:26:15 +00:00
John Levon
481937ef95 Herbert's graphics diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4423 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 20:47:49 +00:00
Lars Gullik Bjønnes
f1c24d1009 *duck*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
Angus Leeming
dccad7aed8 Remove the using std::difftime declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4404 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-14 16:32:22 +00:00
Jean-Marc Lasgouttes
69f2886be9 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4389 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-13 10:11:32 +00:00
Jean-Marc Lasgouttes
6623030337 fix drawing of double quotes; fix input of cyrillic and greek characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4387 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 15:56:51 +00:00
John Levon
0db59752e2 Painter and scrollbar API patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4386 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 15:01:32 +00:00
John Levon
021ad027a9 refactor topCursorVisible() prototype a little. Compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4378 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 10:31:34 +00:00
John Levon
92e53dc01b Rename screen, and don't re-construct it on a buffer change (that is far too
nosy of the core), and use an accessor ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 23:47:58 +00:00
Angus Leeming
9548351ef8 Compaq cxx 6.5 will now compile lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4349 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 07:57:39 +00:00
Jean-Marc Lasgouttes
4bad42dd2e fix external templates; fix bug 423
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4339 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 15:07:44 +00:00
Jean-Marc Lasgouttes
c3f9ef4313 fix bug 391, parrot patch from herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4313 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-31 12:17:28 +00:00
Lars Gullik Bjønnes
3c72325602 2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>
insetexternal.C (updateExternal): dont only look for difftime in global scope


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4301 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 16:47:45 +00:00
Lars Gullik Bjønnes
26349384b2 2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>
insetexternal.C (clone): fix () bug when using new


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4293 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 09:43:29 +00:00
John Levon
20fd7f4bf6 add const
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4287 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 02:53:41 +00:00
Jean-Marc Lasgouttes
df279e7596 fix bugs 357 and 407; speedup Paragraph::Pimpl::isTextAt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4285 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 22:07:59 +00:00
Lars Gullik Bjønnes
1e39473100 Switch from SigC signals to boost::signals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
André Pönitz
551e3864c6 move inset related stuff from src/graphics to src/inset/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4247 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-28 11:50:04 +00:00
John Levon
97ef9131ba static_cast-based key/mouse-state. Kill insetKeyPress.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-26 17:33:14 +00:00
John Levon
2dabaa33de font_metrics part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4203 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 14:34:32 +00:00
Jürgen Vigna
20d61473cc Enable compilation with lyxstring again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4198 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 10:39:34 +00:00
John Levon
98b254c810 more guii moving around.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4192 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 15:43:25 +00:00
John Levon
435d527581 guii2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4190 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 12:08:47 +00:00
John Levon
06f9f0ea08 OK I'll try guii1 again ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4186 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 09:21:32 +00:00
Lars Gullik Bjønnes
482c04ecca use more specific smart_ptr headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4183 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 01:16:37 +00:00
Lars Gullik Bjønnes
5296e9e995 change call to shared_ptr::reset, move some using declarations around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4181 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-21 23:50:36 +00:00
Lars Gullik Bjønnes
f15d44ccf4 pastesel.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4171 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-15 23:49:08 +00:00
Lars Gullik Bjønnes
c3221a5d49 bug338patch.gz
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4163 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 14:22:11 +00:00
Jürgen Vigna
a565711d08 Added missing initialization of first_after_edit variable in constructor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4162 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 11:11:02 +00:00
Lars Gullik Bjønnes
a4f506e427 insetcite.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4160 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:47:12 +00:00
Lars Gullik Bjønnes
308b9789ca samefile.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4157 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:19:05 +00:00
Jürgen Vigna
9e534c8750 Don't call edit() on not higly editable insets if we're just called edit().
In Highly editable inset we have to to enter it with the cursor (fix #387).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4155 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:10:14 +00:00
Jürgen Vigna
983c8fad11 InsetCollapsable::insetButtonRelease returned the wrong return value in
some circumstances.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4152 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-13 08:49:43 +00:00
Jürgen Vigna
aa3c665813 first_after_edit was not set in the right place in one ::edit call (fix #385)
(see ChangeLog for detailed description). Anyway this stuff is one of the
first things to remove as soon as we have a decent inset and paragraph
iterator in 1.3.0!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4148 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-09 13:43:40 +00:00
Lars Gullik Bjønnes
fbccc15f8f return correct value
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4147 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-09 13:36:45 +00:00
Angus Leeming
d1899a14fc (Herbert): small read graphics inset bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4133 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-07 10:02:02 +00:00
Dekel Tsur
fab4e282c5 fix the problem with endfloat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4131 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-05 15:15:51 +00:00
José Matox
a743bb8db8 Docbook related stuff:
* Fixed several typos.
  * Protected emphasis inside code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4125 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-03 11:56:49 +00:00
Jürgen Vigna
0f86536740 Forgot to recalculate the cursor position as it is requested when calling
fitInsetCursor (fix #229).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4123 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-03 10:17:56 +00:00
Angus Leeming
c72a67965a Whitespace ONLY!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4101 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 10:23:51 +00:00
Angus Leeming
030311739b (Herbert): enable successful export to LaTeX if the graphics file is
stored without extension.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4084 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-29 09:24:19 +00:00
Dekel Tsur
86d8e730d7 Fix bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4082 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-28 14:00:48 +00:00
Angus Leeming
1a5a664e44 Translate labels for float:algorithm, float:figure and float:table.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4079 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-26 15:38:15 +00:00
Angus Leeming
d3f5007c75 (Herbert): resolve the problems of creating eps files in the working dir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4053 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 10:53:55 +00:00
Angus Leeming
d2d18edefc WYSIWYG citation labels when using natbib.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4052 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 10:00:39 +00:00
Jürgen Vigna
4bf874c30e Fix off by one error in tabular draw selection code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4045 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-23 13:14:27 +00:00
Jürgen Vigna
018653ef27 Rewoke full selection make with selectall otherwise we may paint the
selection later (tabulars).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4038 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-22 14:52:46 +00:00
Jürgen Vigna
2356001ed3 Fixed use of uninitialized variable code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4037 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-22 14:31:47 +00:00
Angus Leeming
b6126838b5 (Herbert): strip the extension from the graphics filename when exporting
to latex.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4036 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 17:16:00 +00:00
Jürgen Vigna
43ad9cf095 Fix the rebreak and cursor position if we had a CHANGED_IN_DRAW (fix #175).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4035 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 14:16:08 +00:00
Jürgen Vigna
19ba6786a9 Fix recalculating of row dimensions on a zoom (fix #333).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4034 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 13:23:39 +00:00
Jürgen Vigna
a9a371fb5e Call an update before setting the_locking_inset = 0 as otherwise we
don't repaint! (fix #332).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4033 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 11:12:14 +00:00
Jürgen Vigna
c57ca65f78 Fix small redraw bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4026 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 15:19:14 +00:00
Jürgen Vigna
2fbc66100c Fix page up/down behaviour with very high rows. Same for selection with mouse.
(fix #311, #60)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4021 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 09:47:08 +00:00
Jürgen Vigna
ba73010ca1 Forgot to save changed file ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4014 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 09:54:58 +00:00
Jürgen Vigna
ba79607927 Simplified code and don't enter inset on cursor down/up while we are selecting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4013 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 08:34:59 +00:00
Angus Leeming
e70099ded4 Overide the InsetCollapsable::ascii method to not output anything at all!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4009 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 16:43:19 +00:00
Jürgen Vigna
1eba5295d8 Losts of fixes to cursor handling with insets. Cursor up/down now can
transverse also inset if they are on it's way, Page up/down for InsetText
fixed (cleanly now as I finally understood the algorithm ;) This fixes some
non reported bugs, some in Michaels list, some reported on the mailing
list and #314 on our buglist.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4008 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 14:10:39 +00:00
Angus Leeming
143f71f691 (Herbert): fix parsing of bibtex entry bug.
(Henry Pfister): also fixes bug in loading bibtex database.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3999 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 09:09:42 +00:00
Jürgen Vigna
ba21e6498c Fix for wrong cursor.x pos when before a fullRow inset (added ix), small
perfomance fix in LyXText's raw drawing, fix for adding paragraph in insets
when not allowed to do so (bug in Michaels list not on lyxbugs.).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3990 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:59:03 +00:00
Jean-Marc Lasgouttes
4b4a18e85a fix bug with relative paths in insetgraphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3985 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 13:50:04 +00:00
Jürgen Vigna
2588a92167 Simplified code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3979 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 08:31:06 +00:00
Angus Leeming
4036639aa5 (Herbert): nit-picking!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3977 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 18:40:59 +00:00
Jürgen Vigna
c9a31728e9 New function ciy() which handles cursor.iy() functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3972 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 15:08:22 +00:00
Jürgen Vigna
c55ff9a13d Fixed \foreignlanguage outputs and small fix to x return on ERTInsets Button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3969 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 13:35:03 +00:00
Angus Leeming
2099c3cc2b (Herbert): fix compatibility read of InsetFigure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3951 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 17:26:33 +00:00
Angus Leeming
29730d15a1 (Herbert): delete old 1.2 stuff and add forgotten special option.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3945 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 14:47:21 +00:00
Jürgen Vigna
546d0f52c7 make a CURSOR update if we inserted a character (fix #312).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3910 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-05 12:31:42 +00:00
Jean-Marc Lasgouttes
22ae5c8873 proper support for "List of XXX" insets; fix error when there is a list of algorithms but no algorithm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3903 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 14:39:55 +00:00
José Matox
c7db12d1ac docbook:
Fixed the output of label, that is an empty element.
  output footnotes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3893 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 17:44:05 +00:00
Jürgen Vigna
c04225fdf1 Fix insetButtonPress in InsetText the same way as in Bufferview_pimpl.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3892 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 13:59:04 +00:00
Allan Rae
8aca784469 quick fix for commented out figures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3885 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 04:13:25 +00:00
Jean-Marc Lasgouttes
d1830fc935 pqtch from herbert to simplify insetgraphics output when file has not been found
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3881 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 12:48:41 +00:00
Jürgen Vigna
5e3b849ce7 Some more fixes to selection, fitCursor calls for InsetText/Tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3864 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-29 15:49:45 +00:00
Jürgen Vigna
b45d1b31f5 Fixes to mouse handling in and outside a InsetText (fix #308, #309).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3863 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-29 12:24:50 +00:00
Jean-Marc Lasgouttes
0afa5607b7 fix some non-localizable strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3861 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-28 13:27:25 +00:00
Jürgen Vigna
be1bd533f3 Fix old tabularcode/ert compatibility read (fix #305).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3860 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-28 13:21:37 +00:00
Jean-Marc Lasgouttes
78f2a7a19e new classes from herbert, units patch from herbert, grace file export fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3853 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 12:27:17 +00:00
Jean-Marc Lasgouttes
f28f62b420 parselog fixes, i18n fix, menu separator fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 00:05:28 +00:00
Angus Leeming
c3144da934 Set the size of an image displayed in LyX correctly, when loading an
old-style figinset. (From Herbert.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3845 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 18:20:11 +00:00
Angus Leeming
04e819e4fd Are we iterating to a converged solution? Assuming that this works on
cygwin, then yes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3844 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 18:08:07 +00:00
Angus Leeming
ff7eec0cbe Use \textbackslash in preference to $\backslash$.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3843 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 16:10:49 +00:00
Angus Leeming
055a98c1e7 "latexify" the file name if the graphics file is not found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3842 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 15:21:58 +00:00
Angus Leeming
07386186b0 * Revert Herbert's patch of yesterday to deal with non-existent
graphics files; it isn't needed anymore.
* Produce "pretty" latex output if the graphics file isn't found.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3837 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 12:17:04 +00:00
Jürgen Vigna
ddabf92e20 Fixed insert File inside tabulars/insettext (fix #301,#302).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3833 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 11:05:30 +00:00
Jürgen Vigna
0b5694eeb0 Don't collapse InsetERT on close() if inlined (fix #293).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3830 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 09:51:12 +00:00
Angus Leeming
ab53dc5d7b Herbert's patch to stop LyX from hanging if the graphics file does not exist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3826 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 16:15:46 +00:00
Angus Leeming
545777433a Fix export of graphics file with relative path name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3820 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 11:04:34 +00:00
Angus Leeming
4f9bed1018 Enable the graphics inset to work correctly with relative file names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3816 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 16:37:52 +00:00
Angus Leeming
b97138d0e8 * Use JMarc's browseRelFiles rather than browseFiles.
* Prevent activation of Ok,Apply in graphics dialog when file is not found
* Partial fix for bug 229. Still need to emit updateParagraph when leaving
  an inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3814 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 15:24:32 +00:00
Lars Gullik Bjønnes
a654de29ea ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3802 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:09:55 +00:00
Lars Gullik Bjønnes
7514c31edf drop the ld -r stuff, we gained nothing with it, other build optimizations gave us what we wanted; some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:49:07 +00:00
Jürgen Vigna
b15efeb111 Collapse the contents of multicolumn cells into one (fix #121).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3796 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 15:58:54 +00:00
Lars Gullik Bjønnes
35e1157317 Fix for bug: #260 special rules if partially linking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 19:06:32 +00:00
Jürgen Vigna
92904c615a Fix polling of selection request to not call the asString function every time.
Fixed a redraw problem for InsetGraphics (fix #271).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3787 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:36:03 +00:00
Angus Leeming
9fd0b17bd4 John's msg3.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3775 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 09:47:34 +00:00
Angus Leeming
13978291c4 Small clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3769 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 17:37:08 +00:00
Jürgen Vigna
0fd56e0359 Remove some showInsetCursor calls we don't really need (fix #106).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3764 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 14:53:21 +00:00
Jean-Marc Lasgouttes
08bd49a344 lfun_core.diff, make insetgraphics inline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3743 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 13:24:51 +00:00
Jürgen Vigna
4be2b9b40f Force redraw of row if we changed (John's patch fix for #268)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3708 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 14:04:41 +00:00
Jürgen Vigna
c7fc42d88c A hack fix for #268.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3707 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 13:52:19 +00:00
Jürgen Vigna
471fe41fde Now hopefully fixed for updates in insets inside this inset text
(don't know why I missed this earlier fix #263).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3705 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 11:26:22 +00:00
Jürgen Vigna
2b24ca217f Fix updating inset inside insets (typically graphics after loading).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3701 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-08 11:42:30 +00:00
Jean-Marc Lasgouttes
61e89e29e1 fix uninitialized variable in insetexternal; espace ~ in \input@path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3694 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 16:03:36 +00:00
Angus Leeming
fc4790823b remove #include "WorkArea.h".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3690 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 15:43:02 +00:00
Jürgen Vigna
ff8f704031 Fix bugs in minipage compatibility read (fix #240).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3681 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 16:02:51 +00:00
Jürgen Vigna
06b35a161d Fixed InsetText's frame redrawing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3674 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 10:40:31 +00:00
Jürgen Vigna
dfcfccfc36 More fixes to InsetERT (hopefully the last ones for now).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3673 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 10:17:29 +00:00
Lars Gullik Bjønnes
26f07a39bc get rid of Paragraph::clear
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3672 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 23:02:37 +00:00
Jürgen Vigna
82cc1af962 Changed behaviour of Inlined ERT insets (fix 251).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3665 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 14:55:20 +00:00
José Matox
d228f08abd For linuxdoc and docbook:
* add empty methods to insetnote (as latex)
   * fix use of uninitialized varible in insetquote
   * fix standard style in layout files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3664 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 13:38:40 +00:00
Jürgen Vigna
a2a6509aff Fixed calling edit off subinset on a ButtonPress event (fix #214).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3663 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 11:51:07 +00:00
Lars Gullik Bjønnes
9a7ee91f53 gross hack to set layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3659 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 16:10:47 +00:00
Jürgen Vigna
1ec8e312f4 Fixed Inset->File as inside insets (InsetTabular/InsetText) (fix #257).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3658 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 15:42:54 +00:00
José Matox
427f6a68ff Fix to deal with the pernicious mixed content model in tables,
the exported docbook and linuxdoc output now is ugly but correct.
Included files final fix, now they work in all cases, with or
without temp directory.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3651 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 10:04:29 +00:00
Lars Gullik Bjønnes
5bf11fc429 forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3649 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:26:22 +00:00
Lars Gullik Bjønnes
dbd7a961fc layout as string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Angus Leeming
eb6a0ad551 Upgrading of my xforms libs showed that lots of files thought they depended
on xforms. Further inspection showed that they didn't!
I've done nothing more than remove #include "lyx_gui_misc.h" here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 17:50:20 +00:00
Jean-Marc Lasgouttes
4b07057b7e "ding-dong, the witch is dead!", says John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3609 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 14:06:24 +00:00
Angus Leeming
77866d9e88 Some more fixes to compiler warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3607 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 13:10:26 +00:00
Jürgen Vigna
3c599a8c2a Clear selection on PgUp/Down in tabulars (fix #216).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3605 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 12:02:19 +00:00
Jean-Marc Lasgouttes
b5fcf8a4b8 next try at fixing 214; dist bugfix from Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3602 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 10:43:24 +00:00
Jean-Marc Lasgouttes
53c6d464f6 turn proof of concept from Juergen into fix for #214
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3598 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 15:19:21 +00:00
Jürgen Vigna
af8dccce0f Added a insetButtonRelease call returning true as prove of concept (fix #214).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3590 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 16:14:45 +00:00
Jürgen Vigna
74085939ee Fixed wrong update handling after change I leave in the wrong code for the
one who wrote it to remove and have a look what he did wrong (fix #243).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3589 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 15:42:19 +00:00
Jürgen Vigna
0942c39b77 handle font changing stuff when we have a cell selection (fix # 217).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3588 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 15:17:00 +00:00
Jürgen Vigna
529603f179 Force a SELECTION update if we had a selection and we passed the event down to
the inset (fix #213).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3587 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 11:55:31 +00:00
Jürgen Vigna
6953743e22 Fix for #191, setting the cursor to the second paragraph if available if the
first one is empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3582 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 13:25:03 +00:00
Angus Leeming
fae3fd8ab1 Herbert's graphics14.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3578 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 16:34:53 +00:00
Jürgen Vigna
a53810d986 Forgotten ChangeLog entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3577 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 15:36:15 +00:00
Jürgen Vigna
4a5b7a5952 Don't remove cell selections after fontchange.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3574 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 11:43:52 +00:00
Jürgen Vigna
c5b947b23c Clear the space around a cells inset also above (Fix for #156).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 11:31:32 +00:00
José Matox
1b85ecfa3d Fix graphics and file inclusion in docbook, with cleaner code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3571 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 09:04:56 +00:00
Angus Leeming
d0a3af12d9 Synching my tree with cvs.
I'm committing all the little, but uncontroversial, changes that have
built up in my tree. This will result in an almost total recompilation for
you all but will mean that things are less painfull when the other changes
go in!

* Rename files syscall.[Ch] as systemcall.[Ch].

* Rename class Systemcalls as class Systemcall as one instance of the class
  represents a single child process. Remove the default constructor too.

* Add a running() method to class Timeout. Results in recompilation of almost
  the entire tree because pretty well everything depends on LyXView.h which
  #includes "frontends/Timeout.h", so...

* Make the Timeout instances in classes LyXView and minibuffer pointers,
  allowing us to forward declare class Timeout.

* Add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to commandtags.h in anticipation
  of something wonderful!

* Add a signal showForks to Dialogs.h, again anticipating some real code.

* wrap the structs firster, seconder in frontends/controllers/helper_funcs.h
  in a namespace to prevent a clash with similarly named structs in
  support/lyxalgo.h

As you see, lots of irritating bits and pieces which don't make much sense in
themselves but do in light of the other changes I've got here.

I'll post the big changes to the list for proper perusal.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 19:13:48 +00:00
José Matox
834cd64152 Small fixes for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3565 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 17:33:14 +00:00
Angus Leeming
c4458da683 Bug fix from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3541 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 17:36:20 +00:00
Angus Leeming
49dcb7a5d4 Herbert's graphics10.diff patch, part I.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3533 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 18:53:36 +00:00
José Matox
30fde4225f Escape & in urls.
New example file for linuxdoc-manpage.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3531 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 14:34:23 +00:00
Jean-Marc Lasgouttes
919b745fa6 fix insetert drupdate problems (bug #176); fix row breaking after protected chars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3529 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 10:37:28 +00:00
Jean-Marc Lasgouttes
f7d7339688 two small patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3527 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-12 10:01:52 +00:00
Angus Leeming
f4c86428a3 FormExternal patch from Rob,
graphics9 patch from Herbert.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3517 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 10:42:11 +00:00
Angus Leeming
21245ae533 Herbert's bugfix patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3509 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 10:47:02 +00:00
Angus Leeming
2dd83864e5 Herbert's unzip et al patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 19:37:34 +00:00
Angus Leeming
aeba607310 Herbert's graphic7.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3490 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 18:43:28 +00:00
Angus Leeming
bcfdd54d46 Yes, yet another patch from Herbert!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3484 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 12:19:32 +00:00
Angus Leeming
a625b2d27f Herbert's latest "graphic5" patch (with the zippedFile stuff commented out),
his one-line fix to updateWidgetsFromLengthString,
a tiny bug fix of my own.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3480 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 15:36:45 +00:00
Angus Leeming
e173216d0a * Add a DEFAULT state to InsetGraphicsParams::DisplayType.
* InsetGraphics::updateInset will interogate lyxrc.display_graphics if
params.display == DEFAULT.
* Ensure that the "default" display is read to and written from file correctly.

Next to do: pass a GraphicsParams struct to the GraphicsCache when adding
an image rather tahn just the filename and use this to decide exactly
how to display the image. Will therefore be able to strip out the
lyxrc stuff from ImageLoader et al.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3476 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 18:53:50 +00:00
Angus Leeming
7c49abda63 A couple of fixes from Herbert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3467 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 09:57:44 +00:00
Angus Leeming
358c483572 Herbert's latest graphics patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3465 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-31 14:20:09 +00:00
Angus Leeming
8e9506ed23 Trivial using std::ios fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3457 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 18:16:12 +00:00
Jean-Marc Lasgouttes
85a377f2cd merge a few more cygwin patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3453 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 13:15:19 +00:00
Angus Leeming
f09619a7e8 Herbert's big graphics patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3446 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 09:26:24 +00:00
Dekel Tsur
9823232096 Disable paragraph dialog for ERT inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3424 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-20 16:49:37 +00:00
Jean-Marc Lasgouttes
bd31d0cb5c fixes to biblio and insetgraphics from herbert; disable LAYOUT_PARAGRAPH when needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3423 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-20 16:07:42 +00:00
Jean-Marc Lasgouttes
f0a372d294 fix bug 175 (minipage in minipage); fix some warnings; apply external.diff from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3420 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 17:05:24 +00:00
Jürgen Vigna
0a1aedb25a This makes fluctuation of inset hopefully better (#147).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3418 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-18 15:40:31 +00:00
Jean-Marc Lasgouttes
d8037e4bfd use real LyXLength for minipages; new method LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3412 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 23:09:31 +00:00
Jürgen Vigna
1e775a68c6 Fixed insetlocking-mechanism and PARAGRAPH_GOTO func.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3407 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 14:27:01 +00:00
Jürgen Vigna
17a937723c Fixed small drawing bug in InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3403 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 10:13:23 +00:00
Jean-Marc Lasgouttes
36aa4ee109 finally apply DepTable patch; simplify file browsing in ControlExternal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3398 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 22:17:38 +00:00
Jürgen Vigna
9c58df4a88 Small fix in lyxrc and fixed #167 and #181.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3394 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 16:07:09 +00:00
Allan Rae
20c3ddcaba missing ;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3388 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 12:54:52 +00:00
José Matox
54a38db2b2 Small fixes:
linuxdoc_ export ascii text if not supporte natively.
  docbook _ some changes for docbook 4.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3385 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 12:04:16 +00:00
Jean-Marc Lasgouttes
fb424bae1b fix starting up which binary is really a symlink; make sure insetinclude file browser returns a relative path when this makes sense; straightforward cleanup of the ways to get filename and filepath for a buffer (in preparation of future work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3381 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 23:31:23 +00:00
Angus Leeming
de3b5aab16 Resolve virtual function name clashes:
* Rename InsetMinipage's width and height functions as pageWidth and
pageHeight, respectivelyi as they are functionally distinct from
the InsetCollapsable's methods of the same name.
* Change the "bool const &" parameters of UpdateableInset::searchForward and
searchBackward to "bool". Ditto with other classes, so all are now consistent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3375 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 16:10:29 +00:00
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Lars Gullik Bjønnes
4a0060a2ab buf.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3364 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 01:48:58 +00:00
Jean-Marc Lasgouttes
5614c0459a fix assert with broken symlinks on buffer-open; fix bug #104 crash with --export with new graphics inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3362 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 23:00:15 +00:00
Jean-Marc Lasgouttes
1d99b34719 fix crash bug with non-existing input files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3360 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 21:35:50 +00:00
Jean-Marc Lasgouttes
c890dfa0f8 add shortcuts to filedialogs directory buttons; small gnome patch from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3353 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 15:01:25 +00:00
Jean-Marc Lasgouttes
7bb99be122 fix problem with nroff detection, remove dead code with old floats, bogus message when closing last buffer, toolbar status when changing fonts in math; remove gnome menubar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3352 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 13:07:27 +00:00
Allan Rae
17e8d4dfd8 Mostly fixed the 'empty paragraph deletion kills the cursor' problem; and initialise a few more vars in tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3347 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 21:03:30 +00:00
Jürgen Vigna
24567b9d61 Fixed stupid bug in insettext.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3336 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 16:00:28 +00:00
Jean-Marc Lasgouttes
2f954c26fb fix non-working edit>tabular menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3333 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 11:18:27 +00:00
Jean-Marc Lasgouttes
a02a2714dc updates to latexfeatures stuff; allow empty \document_path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 10:05:45 +00:00
Jean-Marc Lasgouttes
d719688df3 func_status cleanup from Martin; fix small configure bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3320 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-09 09:36:35 +00:00
Jürgen Vigna
dca91cf463 Fixed getMaxWidth() in insetminipage if the width is a percentage and fixed
insetButtonRelease in insettabular.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3319 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 16:07:07 +00:00
Jürgen Vigna
9a5f7d1fe4 Fixed rowbreaking for "character"-insets and ignore all paragraph attributes
when the cell is not fixed lenght in a tabular on LaTeX output!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3315 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 14:24:49 +00:00
Jürgen Vigna
a237be918f Fixed InsetText::getLyXText().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3303 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 14:50:57 +00:00
Jean-Marc Lasgouttes
61ccd8b8b5 various fixes from John, Martin and Kayvan, plus one of mine. Read ChangeLogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3299 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 10:17:44 +00:00
Jürgen Vigna
53cea4fb83 John's Layout Tabular UI improvements and Martins fixes to clearing the
cell around the InsetText inside InsetTabular.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3298 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 09:50:19 +00:00
Jürgen Vigna
9ddd875c6f Fixed long standing bug in breaking rows correctly. Fixed redraws when
searching/spellchecking inside tabulars. Fixed wrong frame redraw and
wrong clearing of inset (visible when the inset has a background color).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3297 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-06 19:34:30 +00:00
Jürgen Vigna
de78a7b2d6 Another fix to Undo/Redo code I hope we get nearer to perfection ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3296 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-04 16:03:53 +00:00
Jean-Marc Lasgouttes
1f2b361067 table selection fix from John; Here & wide figures fix from Michael K.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3284 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 13:31:12 +00:00
Jürgen Vigna
9987ffaee8 More ascii-export fixes and when making copy of single tabular cells now the
data is copied as tab separated values to the clipboard (not when copiing the
whole paragraph!).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3268 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-27 15:54:25 +00:00
Jürgen Vigna
65ec1c0437 Insert mouse_x/y positon to have a REAL motion check. Fixed the spurious
selection on clicking on insets inside insets.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3265 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-24 14:36:31 +00:00
Jürgen Vigna
a9259a595c Fixed crash in undo_cursor putting and better saving of the undo_cursor in
not locked tabular cells.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3256 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 16:08:02 +00:00
Jürgen Vigna
feed97be54 Finished new Longtable options support. Please head that the tabular
save format is changed and the version number increased to 3. Please
report all unexpected behaviour.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3254 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 14:52:15 +00:00
Jürgen Vigna
caf1ad7d8d Fixed small problem in InsetText and start for a better tabular layout
(longtable options and better putting the width fields with v.alignment)
This is not finished yet!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3252 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 16:13:21 +00:00
Jürgen Vigna
f292441365 More fixes to the autocollapsing of paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3240 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 14:36:27 +00:00
Jürgen Vigna
5a1614bc51 Some fixes to lt handling (one forgotten reset) and collapse the paragraphs
into one single if we have autoBreakRows == false.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3238 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 12:35:53 +00:00
Jürgen Vigna
b17930447f Fixed stupid bug introduced by my last commit!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3233 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 09:13:34 +00:00
Lars Gullik Bjønnes
8ddb8f993b small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3231 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 03:21:10 +00:00
Jean-Marc Lasgouttes
12d3ca2886 fix small clash between patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3229 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 15:08:51 +00:00
Jürgen Vigna
e8f7285df3 Set selection.cursor always on a ButtonPress event in insettext (fixes the
crashes on opening collapsable inset put into one row).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3228 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 14:53:31 +00:00
Jürgen Vigna
bc20177045 Fixed poping up of Layout-Dialogs on Mouse-Button-3 press.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3225 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 13:33:22 +00:00
Jürgen Vigna
7fdf62dd8e John's InsetTabular cursor patch and modifications/fixes to undo/redo code.
TODO: Still some problems in multiparagraph redo! And deleting of substituted
      paragraphs when undoing/redoing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3209 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-14 11:55:58 +00:00
Jean-Marc Lasgouttes
af71097957 fix symbol font loading, insetquote latex output, undo leak (but this exposes a crash!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3201 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 11:35:25 +00:00
Jean-Marc Lasgouttes
b00e1315fe add parOwner to Inset, optimize LyXText::workWidth, fix memory corruption with lots of floats (Ben)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3195 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 09:56:03 +00:00
Jean-Marc Lasgouttes
bf18321b43 use LyXLength for tabular pwidth
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3192 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 17:26:52 +00:00
Jean-Marc Lasgouttes
bf94991c65 cleanup my latest cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3178 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 13:30:27 +00:00
Jean-Marc Lasgouttes
ca3c70ec58 small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3172 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 09:59:39 +00:00
Allan Rae
8f0d715464 remove redundant code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3171 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 01:22:12 +00:00
Lars Gullik Bjønnes
ff885b3ed3 comment.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3162 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:13:02 +00:00
Jürgen Vigna
6f5f012d3d Fixed faulte delete of paragraphs in a special case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3152 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 16:11:47 +00:00
Jürgen Vigna
8a3b0939d5 Fixed insetAllowd for InsetText and Pasting multiple paragraphs inside
Insets with particular restrictions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3151 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 15:34:41 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Jürgen Vigna
9d2abd4505 More fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3143 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-04 16:10:19 +00:00
Jürgen Vigna
8e88c36e20 Fixed updating of non locked inset inside other insets if requested!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3139 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 14:46:22 +00:00
Jürgen Vigna
63ab8b3517 John's minibuffer, checkInsetHit, lyxfunc-timeout patches + fix crash
on changing ERT insets Status (inlined, open, collapsed).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3138 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 13:17:04 +00:00
Lars Gullik Bjønnes
7a37009608 tab-sel patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3131 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:23:50 +00:00
Lars Gullik Bjønnes
0a8ee85654 rotatefix patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3130 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:21:10 +00:00
Jürgen Vigna
c130d5dbfd Hopefully fixed the redo problems with insets!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3127 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 16:10:24 +00:00
José Matox
94b5a7b163 docbook code cleanup.
renamed some DocBook to docbook that Lars forgot. (inset methods)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3119 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 11:56:04 +00:00
André Pönitz
d659612225 reduction of header dependencies, part II (use new types
lyx::layout_type and lyx::textclass_type all ovcer the place)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3117 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 17:12:21 +00:00
Jürgen Vigna
fcb37cc693 Fixed cut&paste bugs and added freespacing for ERT Insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3115 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 16:29:30 +00:00
Jürgen Vigna
4ec1fe07fe Added function firstRow() to LyXText as this function is needed in
various files and as workaround always getRowNearY(dummy_y = 0) was
used.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3112 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 13:43:12 +00:00
Jürgen Vigna
08b1fdacad Fixed various bugs + John's form paragraph bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3111 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 12:58:59 +00:00
André Pönitz
d917d5b57b someone selling brown paperbags?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3107 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 17:00:55 +00:00
Jürgen Vigna
ba180d4089 Reduce Michael's buglist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3106 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 16:09:25 +00:00
Jean-Marc Lasgouttes
aa41b3033b cleanups by john and andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:56:14 +00:00
André Pönitz
cd6e293ed7 start reducing header file dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3080 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 16:42:04 +00:00
Jean-Marc Lasgouttes
85e30074c2 new alert code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +00:00
Jean-Marc Lasgouttes
02e190002b isInset patch from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3065 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-23 10:16:02 +00:00
Allan Rae
2cdf2dfc38 checkInsertChar() return values changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3058 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-22 07:29:54 +00:00
Jean-Marc Lasgouttes
fcc833018c latexfeatures path from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3041 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-19 15:34:11 +00:00
José Matox
ee7037edbb Fix several warnings regarding unused variable/arguments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3026 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-14 09:46:05 +00:00
Jean-Marc Lasgouttes
0b25c68c4b popup fixes from Juergen ; insetgraphics fix from Herbert ; menus fix from Andre ; allow ligature breaks in spellchecker and fix smart quote after protected space (from me)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3019 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 14:47:35 +00:00
Jean-Marc Lasgouttes
9d0ba3ddf2 cleanups from John and Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2995 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 13:44:48 +00:00
José Matox
83e7c2cff7 Improved support for docbook export in inset text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2975 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 13:22:43 +00:00
José Matox
c78d07c746 Fix the insetindex.C problem with gcc3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2967 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-06 15:32:43 +00:00
José Matox
45a5dda367 Added "using" statement that I missed yesterday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2961 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-03 11:43:23 +00:00
Dekel Tsur
743bb40061 insetexternal: Do not run update command if result file exists and is up to
date.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2959 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-02 16:18:07 +00:00
Jean-Marc Lasgouttes
44b7b7fc71 more skak tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2957 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 17:16:35 +00:00
Jean-Marc Lasgouttes
60ca300e1d skak support, John's ERT fixes, loclae blunder fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2955 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 15:19:49 +00:00
Jürgen Vigna
e3052dc18b Changes to the longtable support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2934 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 15:07:39 +00:00
José Matox
8cd5b4a291 Fixed longtable export.
Added a wrapper when a table is not inside a float.
Small update for date style, allow it to be left aligned.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2928 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 07:43:34 +00:00
José Matox
922ed31d7a Cleaned the preamble generation for linuxdoc/docbook.
Added lyx generated SGML entities (now only for the menu separator).
Cleaned the code from XML-ism.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2921 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:42:14 +00:00
Jürgen Vigna
0677c7b0c9 Fixed center mousebutton-pastes into ERT insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2908 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-22 09:45:31 +00:00
Jürgen Vigna
4542287e42 Forgotten Changelog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2904 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 15:42:23 +00:00
Jürgen Vigna
da7583ab70 Tried to fix the too large InsetText (footnote).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2897 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-18 16:49:29 +00:00
José Matox
e7ac80f17d add suport for ert export for docbook and linuxdoc
add support for revision history related tags.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2885 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-15 12:21:11 +00:00
Jean-Marc Lasgouttes
305c07b193 better latin3&4 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2848 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-08 14:50:16 +00:00
Jean-Marc Lasgouttes
370fe4e994 latin3 support ; latin9 improvements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2844 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-05 16:25:34 +00:00
Jürgen Vigna
b64fe15c3e Fixed changed-status for collapsable insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2836 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-03 14:28:02 +00:00
Jean-Marc Lasgouttes
8b7ae0e09d small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2828 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 13:50:31 +00:00
Dekel Tsur
88c555f798 Misc. small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2816 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-28 20:23:49 +00:00
Angus Leeming
86ff350f06 Clean-up the behaviour of the inset when not displaying the image.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2799 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 17:12:27 +00:00
Angus Leeming
506d970e27 "Correct" way to prevent spellchecking in the ERT inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2795 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 14:29:27 +00:00
Angus Leeming
a2ef5d11b3 Renamed selectNextWord as selectNextWordToSpellcheck.
Modified selectNextWordToSpellcheck to not select words inside an ERT inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2785 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 16:21:23 +00:00
Angus Leeming
414b45b140 Don't display the image if params.display == NONE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2782 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 14:16:10 +00:00
Angus Leeming
70a852b5e1 If a pixmap contains a transparent colour, then set it to the colour of the
background. (With thanks to John Levon.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2780 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 10:52:48 +00:00
Angus Leeming
47b06816be Add LColor::graphicsbg and use it in the graphics and figure insets.
Ensures that a figure with a transparent colour can be viewed
easily if the LyX screen's background colour is dark.

Prevent deletion of the image file if no conversion is required.

This patch works like a charm with the (old) figinset. When testing
the graphics inset, however, I find that colour "None" in an XPM file
is displayed as black. I have no idea why. This appears to be true of
some other graphics viewers also. E.g., KDE 2's pixie displays "None"
as black but the venerable xv works fine.

Maybe it's my version of the xpm library, but v3.4.11 appears to be
right up to date.

Can people test on their machines and/or offer suggestions here?
Angus

p.s. You can test with the XPM files in lib/images. They will no longer
be deleted if you load them into LyX!

A.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2777 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 13:16:17 +00:00
Jean-Marc Lasgouttes
9359baacf8 bug fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2707 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 15:41:36 +00:00
José Matox
2470d9297d rename docBook method to docbook
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2681 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 11:02:09 +00:00
Dekel Tsur
0233b6753d Paragraph iterators
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2649 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-01 21:26:34 +00:00
Angus Leeming
613c9ec5ba Herbert's patch, part 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2558 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-20 13:42:29 +00:00
Dekel Tsur
ea37831cfb Few fixes for inserERT/insetNote
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2548 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-18 15:01:09 +00:00
Angus Leeming
10231c3538 John's patch resulting in grammatically correct but clumsy names for
the various lists of floats. Awaiting Dekel's fix to add a multilingual
plural to the float name ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2523 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 10:28:56 +00:00
Jürgen Vigna
45bd81a203 Added new FINISED states FINISHED_RIGHT, FINISHED_UP, FINISHED_DOWN.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2518 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 08:52:30 +00:00
Jürgen Vigna
1279189bd0 Forgot setting of status_ variable in InsetERT::edit functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2509 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-14 07:37:46 +00:00
Dekel Tsur
44d8be16d0 Compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2508 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 21:50:13 +00:00
Jürgen Vigna
b158f8a481 Fixed bug when inserting insets in right alligned paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2499 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 13:28:14 +00:00
Jürgen Vigna
9f3dd22dd3 Fixed S&R functions with insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2497 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 11:27:53 +00:00
Jürgen Vigna
f5394fd982 Fixed possible crash when reinitializing LyXText!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2496 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 11:04:49 +00:00
Jürgen Vigna
7b9594ef0f Initialize status_ in the 3rd constructor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2494 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 09:57:47 +00:00
Jürgen Vigna
aa46044e0c Fixed problem with deleting last row in a tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2493 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 08:14:09 +00:00
Dekel Tsur
a277759770 Add latex_language and remove inherit_language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2492 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-11 18:31:14 +00:00
Jürgen Vigna
57920ce17b Small fixes + hfill display/draw bug (seen with minipages!).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2487 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 14:00:48 +00:00
Jürgen Vigna
8466aa353b Some more fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2482 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 12:21:42 +00:00
Jürgen Vigna
7a058f4f03 Some more of optimizations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2476 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 10:24:44 +00:00
Jürgen Vigna
ed04b53081 Small fix and optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2475 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 09:39:15 +00:00
Jürgen Vigna
86e4a9bc8a More fixes to various bug reports.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2453 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 13:29:13 +00:00
Jürgen Vigna
3c32875ece Applied Edwins patch, fixes to free memory read in insettext, partial fix
for the width of collapsable insets (more to do).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2444 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 15:07:36 +00:00
Angus Leeming
fb2300f658 Some debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2438 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 08:48:27 +00:00
Jürgen Vigna
a8cd821af1 InsetERT write/read fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2436 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 08:05:31 +00:00
Jürgen Vigna
26b1fa7be8 Various update/redraw fixes. Cleaned up InsetERT and added a dialog for
changing between statuses. Save the statuses to file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2425 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 14:55:02 +00:00