Commit Graph

6271 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
3df493e9d6 FINISHED_POP -> FINISHED
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8002 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 13:34:11 +00:00
Lars Gullik Bjønnes
1d7a715329 more dispatch work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8001 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 13:24:57 +00:00
André Pönitz
fa7aa5c7d9 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8000 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 12:58:26 +00:00
André Pönitz
2292145ba3 some more 'global cursor' stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7999 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 12:18:08 +00:00
Lars Gullik Bjønnes
b0eb70e869 dispatchresult -> DispatchResult
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 10:47:21 +00:00
Lars Gullik Bjønnes
6d49cbadf0 gtk_patch_2003_10_28
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7997 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 16:45:09 +00:00
Alfredo Braunstein
29cc4f048b put a hack in rowBreakPoint inside #if 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7996 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 14:04:56 +00:00
André Pönitz
4588bb075a lots of small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7995 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 11:18:40 +00:00
Alfredo Braunstein
410847bd70 fix the end key
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7994 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 11:03:36 +00:00
André Pönitz
09548338ce support for \textcolor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7993 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 08:51:33 +00:00
Alfredo Braunstein
12a2f2705f fix the zombie chars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7992 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 20:23:26 +00:00
Alfredo Braunstein
c24f5b4874 small fix to toc navigation inside branches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7991 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 19:28:19 +00:00
André Pönitz
19198334bc fix color handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7989 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 17:22:27 +00:00
André Pönitz
50072b9431 remove strain on Angus's eyes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7988 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 16:59:09 +00:00
André Pönitz
4809009088 fix off-by-one error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7987 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 15:39:59 +00:00
André Pönitz
69fae0531d * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
* factory.C: handle new InsetPagebreak, InsetLine

	* ParagraphParameters.h: remove [line|pagebreak]_[above|below]
	and move handling into new InsetPagebreak, InsetLine

	* BufferView_pimpl.C:
	* LyXAction.C:
	* ParagraphParameters.C:
	* ParameterStruct.h:
	* lyxfunc.C:
	* lyxtext.h:
	* paragraph.C:
	* paragraph.h:
	* paragraph_funcs.C:
	* paragraph_pimpl.C:
	* rowpainter.C:
	* text.C:
	* text2.C:
	* text3.C: adjust

etc


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7985 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 12:41:26 +00:00
Alfredo Braunstein
5be51b4fb7 remove lastPos and use endpos instead
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7984 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 11:44:10 +00:00
Alfredo Braunstein
1d9eeae1ea two rowbreaking fixes + a bit of rowBreakPoint simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7983 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 10:27:50 +00:00
Alfredo Braunstein
875cec0af0 undo fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7982 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 10:03:04 +00:00
Jürgen Spitzmüller
4c3beeee65 qt branches: color fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7981 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 07:05:07 +00:00
Angus Leeming
afc9aaf6eb Get rid of hte dynamic_casts in InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7980 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-25 20:09:52 +00:00
Martin Vermeer
6d1789d4db Partial fix to nav menu/branch inset problem reported by Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7979 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-25 09:20:51 +00:00
Martin Vermeer
41268a49a4 Fixed borkage of delimiters panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7978 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 15:32:32 +00:00
Alfredo Braunstein
d8428d8976 make endpos behave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7977 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 15:04:17 +00:00
André Pönitz
3e8ce5ac6c refrain from computing width in setHeightOfRow as this happens already
in rowBreakPoint before.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7976 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 09:45:07 +00:00
André Pönitz
934aeb7383 Alfredos list<> -> vector<> for RowList
Show RightAddress again


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7975 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 08:33:52 +00:00
André Pönitz
70f983b97f set fill in fill(...) istead of returning it.
use isLastRow()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7974 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 07:59:04 +00:00
Alfredo Braunstein
fe1d419981 remove spurious rit = cursorRow()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7973 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:55:30 +00:00
André Pönitz
3b4253cf80 fix crash on 'page up' near the top of the UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7972 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:44:48 +00:00
Alfredo Braunstein
970e98f279 fix 2 dontlikes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7971 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:42:37 +00:00
André Pönitz
cf40d206dc Alfredo's cursroRow() fix;
directly set endpos in breakRowPos instead of returning it


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7970 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:38:48 +00:00
André Pönitz
58216db854 hm... a bit more testing seems to be in order..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7968 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:09:04 +00:00
André Pönitz
629f29ce80 * RowList_fwd.h: change list<> to vector<> to gain speed
after suggestion from Alfredo


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7967 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:06:52 +00:00
Alfredo Braunstein
a370d413af take the bidi stuff out of lyxtext.h to its own file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7966 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 13:28:49 +00:00
Jürgen Spitzmüller
838ec5d986 qt branch support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7964 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 11:58:01 +00:00
André Pönitz
33f19b9ccc Georg Baum's monster patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7963 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 11:46:33 +00:00
André Pönitz
8265bed267 dispatch -> priv_dispatch where necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7962 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 10:53:41 +00:00
André Pönitz
0011b84a16 move width computation to helper function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7961 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 09:06:18 +00:00
André Pönitz
fd48fefe0e * lyxtext.h:
* text.C (isLastRow, isFirstRow): new functions

	* paragraph.h: new width cache member

	* rowpainter.C: replace RowList::iterator with Row & where possible

	* lyxfunc.C: replace several view()->text with a single call

	* toc.C: fix 'unused' warning


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7960 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 08:15:57 +00:00
Angus Leeming
11c6ea653b Give InsetExternal the ability to preview its contents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7959 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 22:26:47 +00:00
Lars Gullik Bjønnes
84a91f5ebf Use correct types when working with stream::pos_type.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7958 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 22:22:55 +00:00
Angus Leeming
fd8e0d71b8 Add a warning message if the file to contain the conversion script
cannot be opened.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7957 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 20:39:30 +00:00
André Pönitz
aec5a388c8 rename row.end into row.endpos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 16:30:57 +00:00
Angus Leeming
78d3fbdac3 Set 'fully_loaded' when starting a new file too...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7954 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 14:40:24 +00:00
Angus Leeming
78046794cc Add a Buffer::fully_loaded member function, returning true only when
the file has been loaded fully. Used to prevent the premature generation
of previews and by the citation inset to prevent computation of
the natbib-style label.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 13:15:18 +00:00
Angus Leeming
cf536b5db7 Move a couple of private member functions into namespace anon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7952 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 11:12:31 +00:00
Angus Leeming
f5d9beafd3 display() { return true; } only for those insets that are is display mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7951 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 10:22:09 +00:00
André Pönitz
ce3710cdb5 use Row & instead of RowList::iterator in prepareToPrint()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7950 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 09:56:22 +00:00
André Pönitz
5bff888ecc just the next_rit check fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7948 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 08:31:49 +00:00
Martin Vermeer
c7c37bee5e This should fix the "oops" in the "is a bit silly" bug fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7947 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 06:02:55 +00:00
André Pönitz
cc108cd96a remove debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7945 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 17:21:23 +00:00
André Pönitz
0fbee62e35 fix row breaking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7944 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 17:16:01 +00:00
André Pönitz
ddb689a429 ChangeLog & re-add the {} for "long" blocks..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7943 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 16:19:05 +00:00
André Pönitz
5c3d9a2546 small stuff, whitespace & consistent naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7942 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 16:15:14 +00:00
Martin Vermeer
de039bb341 Final touch 'inset display()'; fix 'is a bit silly' bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7941 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 13:04:14 +00:00
Martin Vermeer
50bbb55cb0 Re-introduce display() for insets, fixing various bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7940 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-20 18:56:48 +00:00
Jean-Marc Lasgouttes
173be73b27 fix bug 1415; fix annoying typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7938 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-20 13:55:51 +00:00
André Pönitz
8edd244bb6 small stuff (whitspace, spelling...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7936 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-20 11:41:21 +00:00
Martin Vermeer
b0650a1e5f Crash fix (wrong cursor def)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7935 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-18 14:43:54 +00:00
Lars Gullik Bjønnes
d0c18f8c60 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7934 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 23:45:32 +00:00
Lars Gullik Bjønnes
a8966b650b fix parallel make
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7933 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 23:41:14 +00:00
Lars Gullik Bjønnes
05347e4101 make some more regexs static
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7932 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:23:41 +00:00
Lars Gullik Bjønnes
87ca6fbbeb the dispatch patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7931 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:01:15 +00:00
Jean-Marc Lasgouttes
dab52aa183 compile fixes for stlport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 14:30:33 +00:00
André Pönitz
7f3eb7cf70 RowList::iterator -> Row &, ParagraphList::iterator -> Paragraph &
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7929 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 10:31:47 +00:00
Lars Gullik Bjønnes
1684282f8a Get rid of the TextCache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7928 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 09:32:41 +00:00
André Pönitz
f88fb47bc7 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
using static variables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7927 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 16:41:32 +00:00
André Pönitz
9ed14b41fa make updateRowPositions() a bit faster.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7926 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 16:19:56 +00:00
Lars Gullik Bjønnes
506844eca2 Fix a crashing problem with unknown actions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7925 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 11:16:15 +00:00
José Matox
eac541985f add missing bits to gtk port
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7924 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-15 10:55:42 +00:00
André Pönitz
18ce60e3c6 undo per inset. still a few crashes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7923 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-15 08:49:44 +00:00
Angus Leeming
50257b8690 Turn LyX into a singleton class. Kill the BufferView cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 21:30:23 +00:00
Angus Leeming
6fc6d7e010 Only draw the preview when previews are activated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7921 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:54:16 +00:00
André Pönitz
7e2343e016 make it compile & disable debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7920 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:13:55 +00:00
André Pönitz
5c2f0c5c46 In insets:
2003-10-14  Andr� P�nitz  <poenitz@gmx.net>

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

In src:

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

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

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

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

	* tabular.C: small cleansing stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7919 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:01:49 +00:00
Alfredo Braunstein
5705714920 Fix bug 1323
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7918 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 12:49:15 +00:00
Angus Leeming
4e136e6f41 (Jo�o Assirati): add the ability to inverse-search a dvi file.
To use, you'll need either to run 'latex --src-specials' or, if your version
of latex isn't up to the task, to use the srcltx package. Further, your
vi viewer must be up to the task. xdvi 22.38 or the kde 3 version of kdvi.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7917 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 11:35:50 +00:00
Angus Leeming
09e56ecb68 Missing ChangeLog entry for the new socktools.[Ch] files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7916 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 09:40:16 +00:00
Angus Leeming
e9e4ffb1d1 displayTranslator is now a function. No need to invoke setDisplayTranslator
explicitly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 21:50:33 +00:00
Angus Leeming
9a01e253a1 (Kayvan): compile fix for non-Linux platforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7914 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 20:49:31 +00:00
José Matox
f91146d22b fixes to compile and link gtk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7913 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 15:23:45 +00:00
André Pönitz
0336ebd447 restore undo on parlist level.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7912 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 13:59:45 +00:00
André Pönitz
b79331e005 preparations to regain ability of per-inset undo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7911 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 13:27:45 +00:00
Angus Leeming
45a8d5a93a Jo�o Assirati's lyxsocket patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7910 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 12:25:11 +00:00
André Pönitz
a316a54e60 * BufferView_pimpl.C:
* lyxtext.h:
	* text.C:
	* text2.C:
	* text3.C:
	* undo_funcs.[Ch]: use paroffset_type instead of
	  ParagraphList::iterators to prevent multiple conversion
	  (and get a more robust interface)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7909 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:59:31 +00:00
Angus Leeming
57c37d2760 Use Andr�'s prefered idiom here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7908 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:25:44 +00:00
Angus Leeming
360b55ea0f Make it compile with g++-2.95.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7907 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:16:05 +00:00
Angus Leeming
efae689873 Remove a couple of #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:00:39 +00:00
Angus Leeming
18b220ac99 No trailing whitespace left in src...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7904 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:43:15 +00:00
Lars Gullik Bjønnes
16e1f90daa ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7903 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 02:10:45 +00:00
Lars Gullik Bjønnes
32d1460f26 missed this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7902 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:58:25 +00:00
Lars Gullik Bjønnes
da6d2de0ba do not call InsetOld::localDispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7901 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:53:45 +00:00
Lars Gullik Bjønnes
75b485d110 DISPATCH -> dispatch_result
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7900 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:35:47 +00:00
Lars Gullik Bjønnes
22c7835022 move some vars to smaller scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7899 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:01:33 +00:00
Lars Gullik Bjønnes
6cebb34085 Get rid of LyXFunc::dispatch that takes a string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7898 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 00:38:09 +00:00
Angus Leeming
122e7616d7 Minimise the use of the BufferView cache. The only things left using it
are InsetFormula, InsetExternal, InsetGraphic and InsetInclude that all
need to inform the BufferView of their changed status when the graphic
is loaded.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7897 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-12 18:54:12 +00:00
Lars Gullik Bjønnes
c57b67f24f Bug: 820
2003-10-11  Lars Gullik Bj�nnes  <larsbj@gullik.net>

* LaTeX.C (deplog): move found file handlig from here...
(handleFoundFile): .. to new function here.
(deplog): make sure to discover several files mentioned on the
same log line.


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7894 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 21:08:55 +00:00
Angus Leeming
cfdd1f4b61 Don't try and generate the previews from draw.
insetUnlock is already doing a fine job...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7892 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 14:20:59 +00:00
André Pönitz
c8829b0feb fix #1384
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7890 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 11:27:05 +00:00
André Pönitz
839576adbc fix a few of the tabular crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7889 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 09:01:23 +00:00
Angus Leeming
760829360d Towards saner generation of previews code. Yeah, I know. I wrote it in
the first place. I was younger then.


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7887 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 19:27:07 +00:00
Angus Leeming
8ddfa9d784 Don't use the cached BufferView to get the Buffer when we have direct access
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7886 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 14:36:16 +00:00
Lars Gullik Bjønnes
b5b225c657 remove some more debug noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7885 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 13:33:19 +00:00
Lars Gullik Bjønnes
bae961184e remove some debug noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7884 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 13:27:51 +00:00
André Pönitz
dcd8fb0428 replace ParagraphList::iterator by lyx::paroffset_type to prevent cursor
invalidation if the paragraphlist is changed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7883 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 10:52:12 +00:00
Lars Gullik Bjønnes
fc1437e74e Bug: 1025
2003-10-08  Lars Gullik Bj�nnes  <larsbj@gullik.net>

* text2.C (incrementItemDepth): new function, use a backtracking
algorithm to discover the correct item depth.
(resetEnumCounterIfNeeded): new function, use a backtracking
algorithm to discover if counter reset is needed.
(setCounter): use them. Simplify a bit. Add different labels for
different item depths for itemize.

* paragraph.C (Paragraph): remove initialization of enumdepth
(operator=): ditto

* paragraph.h: get rid of enumdepth, and use itemdepth both for
enumerate and itemize. Change the type of itemdepth to signed char.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7882 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 17:44:32 +00:00
Jean-Marc Lasgouttes
49d09f876f small osx-related bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7881 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 14:46:05 +00:00
André Pönitz
6810aa2ab8 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
thing assignable.
	* text.C:
	* text2.C: adjust

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

insets:

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

  * updatableinset.[Ch]: remove unneeded code


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7880 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 14:29:16 +00:00
Angus Leeming
627f2c70fa Fix a bunch of doxygen warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7879 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 11:31:51 +00:00
Angus Leeming
372a70b8fd A couple of using std::string declarations from Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7878 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 08:38:05 +00:00
Angus Leeming
8c96de553b Add transformations to InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7877 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 22:59:58 +00:00
Angus Leeming
fbd9df3dbb Forgotten ChangeLogs, whitespace and some unnecessary namespace stuff removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7875 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 21:44:59 +00:00
Angus Leeming
1e8ce61177 * Rename InsetExternal::Params as InsetExternalParams. Consistent with
other Params structs. Allows it to be forward delclared.
* Unclutter insetexternal.[Ch] by moving helper functions to new files
ExternalSupport.[Ch].
* Fix export to LaTeX and PDFLaTeX without breaking use of the temp dir.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7874 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 20:25:10 +00:00
Jürgen Spitzmüller
35c0c230d7 std::string fixes and small typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7871 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 13:32:17 +00:00
Angus Leeming
10cccff7c0 Remove unused member function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7870 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 11:03:37 +00:00
André Pönitz
8038cb8dae support for \dfrac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7868 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 08:51:14 +00:00
Angus Leeming
a5ead24854 Self-consistent header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7867 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 08:16:04 +00:00
Martin Vermeer
800c0dfc38 The Box patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7865 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 07:42:15 +00:00
Martin Vermeer
eb36b71ce3 add <string> and other small fixes to make
Lars' std::string patch compile with STLport.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7864 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 06:45:25 +00:00
Angus Leeming
7519dcc6ca Qt compilation fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7863 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 19:57:16 +00:00
Lars Gullik Bjønnes
44cd0fc9a1 The std::string mammoth path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
André Pönitz
3bb63924d5 * metricsinfo.C: initialize LyXFont before changiging attribute.
(fixes the 'math in \emph is upright' bug)

	* tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7860 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 14:10:59 +00:00
André Pönitz
20ae33cb2a make 'swap row' swap labels, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7859 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 09:57:03 +00:00
Martin Vermeer
f6b8ed1c32 Small fixes to allow building with STLport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7858 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 09:35:38 +00:00
André Pönitz
6e3be87101 fix #1145
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7854 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-02 15:46:33 +00:00
André Pönitz
b9a8b8f4b6 fix #1360
* lyxfunc.C:
	* text3.C: move handling of LFUN_DEPTH *;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7853 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-02 14:42:31 +00:00
André Pönitz
f23b0a7712 fix #1411
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7852 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-02 14:24:41 +00:00
André Pönitz
45d3b8c89c support for color in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7851 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-02 13:41:00 +00:00
André Pönitz
d839975cfc * insettext.C (read): make sure there is at least one par
in the text after reading.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7850 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-02 12:01:24 +00:00
André Pönitz
25d50ae7f9 assert on unknown insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7847 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 16:27:36 +00:00
José Matox
06be7f6c0b insetbranch.C (linuxdoc, docbook): minor fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7846 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 15:15:02 +00:00
Angus Leeming
df144f47b9 Enable the file dialog to open files with non-latin filenames.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7844 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 12:02:17 +00:00
Angus Leeming
27f298812d Introduce namespace lyx::external.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7843 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 10:16:00 +00:00
Angus Leeming
10289e0dbb Bah! Whitespace!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7842 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-30 13:58:49 +00:00
Angus Leeming
adbb65c87a Add InsetExternal::Params::read, write functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7841 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-30 13:51:00 +00:00
André Pönitz
e5d63b47d2 some mathit bit was missing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7840 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-30 10:56:22 +00:00
André Pönitz
4dbd6214a9 fix nasty crash when selecting with up/down close to super/subcripts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7839 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-30 07:58:03 +00:00
Angus Leeming
dbd3cb42c5 Make ReplaceEnvironmentPath work for both ${HOME}/foo and $HOME/foo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7838 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-29 21:44:34 +00:00
Angus Leeming
5927128c94 Operator<< for BoundingBox.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7837 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-29 21:42:13 +00:00
Angus Leeming
c90c9b7a2a Tiny clean up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7836 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-29 21:40:13 +00:00
Lars Gullik Bjønnes
0d4dfc9b48 Fix compilaton issues by including debug.h first.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7835 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-29 10:50:51 +00:00
Lars Gullik Bjønnes
8d098dcb56 New debugstream.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7832 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-26 14:27:20 +00:00
Angus Leeming
fbdee86f79 Rename function as globMatch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7831 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-26 09:06:52 +00:00
Angus Leeming
15d71955d9 Rewrite ReplaceEnvironmentPath in a sane manner.
Get rid of lstrings.[Ch]'s regexMatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7830 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 23:01:43 +00:00
Angus Leeming
8c094fa08c Forgot to remove declaration of long-gone member function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7824 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 11:02:37 +00:00
Angus Leeming
9a3737148b Re-add the RasterImage template.
Several small clean-ups of the InsetExternal code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7823 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 10:49:13 +00:00
Martin Vermeer
a6d13f91ee Generalize loop end/vector size
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7822 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-24 17:25:58 +00:00
Jean-Marc Lasgouttes
3c4e5c1c40 LyX/Mac metrics fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7817 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-24 10:26:02 +00:00
Angus Leeming
858e197b7c Enable multiple preamble snippets to be accessed by each format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7814 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-23 17:04:25 +00:00
Angus Leeming
d5f7b7dec2 Fix compile problems with Martin's antiquated compiler ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7811 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 20:02:32 +00:00
Martin Vermeer
100e323d04 Bug fix in branches (was earlier fixed wrongly)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7803 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 07:46:27 +00:00
Martin Vermeer
47428517e7 Small cleanup, removal of self-aggrandizing comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7802 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 07:39:46 +00:00
Lars Gullik Bjønnes
495cd0eea0 more action work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7801 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 23:00:47 +00:00
Angus Leeming
e827fb9cb0 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7800 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 22:26:55 +00:00
Lars Gullik Bjønnes
2994fe5511 Get rid of Pseudo Actions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7799 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 18:57:15 +00:00
Lars Gullik Bjønnes
08265598c5 some configure output changes, fix a new bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7798 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 16:02:54 +00:00
Angus Leeming
c319aee7c2 Fix InsetInclude properly. Data is now stored in an InsetCommandParams
var rather tahn that nasty kludge InsetInclude::Params. Functions
that need info about the Buffer are passed a 'Buffer const &' arg.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7797 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-19 10:16:33 +00:00
Jürgen Spitzmüller
e4eb667ea2 fix centering of float contents (bug 1290)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7796 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-19 07:25:36 +00:00
Angus Leeming
4348674beb Small clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7795 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 22:26:46 +00:00
Angus Leeming
62df753a2e Pass Buffer arg to Inset::getLabelList, Inset::fillWithBibKeys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7794 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 20:18:39 +00:00
Angus Leeming
9252f9886a I had some excessively long lines in there...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7793 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 20:11:31 +00:00
Angus Leeming
91d100b25f Get rid of the InsetInclude::Params::flag variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7792 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 17:22:36 +00:00
Angus Leeming
482c265462 Add a buffer() member function to LaTeXFeatures. Not used yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7791 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 14:13:23 +00:00
Angus Leeming
3f481c38fc Append a '_' to the names of all private member variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7790 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 14:01:02 +00:00
Angus Leeming
19dcaa4391 Enable previewing of Include insets within insets within insets...
(Don't use a BufferView cache to supply the Buffer when you can just pass
'Buffer const &' instead, Angus.'


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


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7786 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 10:52:29 +00:00
Angus Leeming
d8028397b2 Don't build a dialog prior to hiding it...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7785 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 10:39:09 +00:00
André Pönitz
57536be00f preliminary 'global cursor' stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7784 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-17 16:44:51 +00:00
André Pönitz
28ef78ed3e include src/frontends/gtk/lyx_gui.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7781 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-17 12:05:39 +00:00
Angus Leeming
e2143b91e4 Fix crash when cutting and pasting include insets with previewing turned on.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7780 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 21:46:44 +00:00
Angus Leeming
bae615fbf1 Make Martin's compiler happy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7779 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:45:13 +00:00
Angus Leeming
27a9cc2098 Small clean-up of the PreviewedInset interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7778 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:43:00 +00:00
Angus Leeming
35abda384d Make all of InsetCollapsable's member variables (save 'inset') private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7777 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:39:33 +00:00
Martin Vermeer
38deeee705 Remove more inset locking code that apparently we can well be without.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7776 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:36:08 +00:00
Angus Leeming
4f0019dfd7 Separate interface from implementation; make GraphicsImage's pure virtual
functions private.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7775 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:34:39 +00:00
André Pönitz
034f172087 un-pimpl Paragraph::(Pimpl::)text for performance reasons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7773 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 14:08:05 +00:00
Angus Leeming
f5a0bad734 Define a wrapper LyXFont_size for LyXFont::FONT_SIZE.
Use it in paragraph.[Ch], allowing the removal of #include "lyxfont.h"
from paragraph.h.


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


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7765 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:01:15 +00:00
Angus Leeming
b34f16995a Move functions out-of-line. The .C file should have the headers needed for
their successful compilation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7764 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 07:53:02 +00:00
Angus Leeming
4b3c377335 ChangeLog entry for copied_ptr re-jig.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7763 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 20:51:47 +00:00
Angus Leeming
de7312a122 Beef up copied_ptr; use it rather than cow_ptr to store the BufferParams pimpl.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7762 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 20:23:57 +00:00
André Pönitz
f1f8ce2d1f the toc fix plus layout stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7761 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 15:51:48 +00:00
Angus Leeming
a6ccea4f21 The EnumLColor patch, free of macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7759 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 15:20:22 +00:00
Angus Leeming
2c21e4eadc Compilation fixes (remove STRCONV).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7753 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 12:00:03 +00:00
Angus Leeming
d0ea6d523d Add lyx-gtk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7752 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 11:32:16 +00:00
Lars Gullik Bjønnes
cd03e2b7db Get rid of lyxstring, remove usage of STRCONV.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7751 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 11:00:00 +00:00
Angus Leeming
5c4bfd0354 Add #include <boost/assert.hpp>.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7750 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 10:53:02 +00:00
Angus Leeming
61f1f3ea87 Define explicitly the color passed to the painter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7748 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 10:08:01 +00:00
Angus Leeming
f0f7507197 Reorder member initializers to avoid compiler warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7747 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 10:03:17 +00:00
Alfredo Braunstein
ba14956f03 remove an unusual nop and an outdated warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7744 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 08:30:41 +00:00
Angus Leeming
14dcb1b93a POSIX-compliant sed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7743 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 08:12:13 +00:00
John Levon
74f08e13ea Correct Andr�'s name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7742 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 02:24:31 +00:00
Angus Leeming
9e4306d576 Consider all InProgressProcesses when ascertaining which ones to remove
from the list, not every other one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7741 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-14 19:59:52 +00:00
André Pönitz
92a24f6f99 the automatic label patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7739 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-12 17:13:22 +00:00
Martin Vermeer
757df94b07 Fix problem in lockInsetInInset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7738 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-12 14:32:53 +00:00
André Pönitz
22990dde1f poor man's support for \boldsymbol
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7736 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-12 10:14:31 +00:00
Jürgen Spitzmüller
8d82674b36 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7735 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-12 07:41:09 +00:00
Angus Leeming
d55d4b9c1c Add copied_ptr.h to the repository too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7732 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-10 23:06:18 +00:00
Angus Leeming
d273b0b94c Fix compilation properly this time...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7731 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-10 14:40:31 +00:00
Martin Vermeer
22aa494eba Simplify by using adjustCommand, and fix bug in the process
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7730 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-10 14:06:49 +00:00
Lars Gullik Bjønnes
1331aacf59 assert -> abort fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7729 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-10 13:39:38 +00:00
Angus Leeming
a8610b9f0f Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7727 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-10 10:09:41 +00:00
Angus Leeming
204f9ac42e Replace ParagraphList.h and RowList.h with their _fwd progeny.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7726 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 23:10:07 +00:00
Angus Leeming
57a24ea912 Replace 'using namespace abc;' with 'using abc::xyz;'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7725 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 22:13:45 +00:00
Angus Leeming
ffdb0baea3 Get rid of trailing whitespace 'noise' in future patches for the
forseeable future.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7724 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 18:27:24 +00:00
Angus Leeming
d4b333e698 BOOST_ASSERT compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7723 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 18:19:34 +00:00
Lars Gullik Bjønnes
fcdb71906b Change Assert to BOOST_ASSERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7722 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:25:35 +00:00
Angus Leeming
f9c1cafbe6 Pragmatic pimpl-ing of BufferParams.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7721 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:00:19 +00:00
Angus Leeming
e835c9477b Pimpl Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7719 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 11:24:33 +00:00
Angus Leeming
c5f116452f Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7718 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 10:06:42 +00:00
Angus Leeming
fd36f5ad76 Make buffer's member variables private; use accessor functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7717 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 09:47:59 +00:00
Martin Vermeer
5020a84fc1 Remove drawText[XY]Offset. No change in functionality
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7716 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 09:05:22 +00:00
Jean-Marc Lasgouttes
8adfccd369 some includes needed to build on gcc-2.96 + qt-2.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7712 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 16:23:31 +00:00
Angus Leeming
add8d29c5f Convert uid_t, gid_t to int before calling tostr.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7709 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 14:55:15 +00:00
Jean-Marc Lasgouttes
2fe5f35d48 small header tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7707 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 09:59:30 +00:00
Angus Leeming
f79df3dc11 Various trivial bits 'n' bats about config.h, header blurb etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7706 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 09:51:40 +00:00
Angus Leeming
4c6e0fe422 Removed all redundant using directives from the source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
0705dae8a3 Finish the task of removing all cruft from the header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7703 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-07 21:25:37 +00:00
Angus Leeming
00b15bed1f Remove unnecessary using std::endl directive that is breaking compilation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7702 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-07 16:49:41 +00:00
Angus Leeming
0f9678630c Remove all unnecessary #includes from header files.
Add them as appropriate to .C files.
Rename Voss as Vo�, Juergen as J�rgen and Spitzmueller as Spitzm�ller.
Happy compiling.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7701 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-07 01:45:40 +00:00
Angus Leeming
ecaf48dc26 Forward declare LatexRunParams in converter.h.
Remove #include "lyxrc.h" from encoding.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7700 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 23:36:02 +00:00
Angus Leeming
4fb18536e9 General tidy. Not very exciting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7699 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 23:01:26 +00:00
Angus Leeming
d727b8e95e Don't #include ParameterStruct.h in ParagraphParameters.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7698 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 20:32:37 +00:00
Angus Leeming
6e4ee366a9 lyxfunc.h #included frontends/LyXKeySym.h for a typedef only. No more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7697 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 20:08:10 +00:00
Angus Leeming
35b6b4c8d0 Move BufferView::ChangeInsets to the Pimpl. As a result, can remove
the #include "insets/inset.h" from BufferView.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7696 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 19:16:30 +00:00
Angus Leeming
462eca7d1a Remove a couple of #includes from buffer.h
Reorder #includes in lots of files into some semblence of a coherent order.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7695 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 18:38:02 +00:00
Angus Leeming
f3bff9d5d8 Move depth_type to support/types.h.
Remove paragraph.h from buffer.h, paragraph_funcs.h.
Add paragraph.h to a heap of .C files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7694 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 17:23:08 +00:00
Angus Leeming
2e1eeac0b9 Replace ParagraphList.h with ParagraphList_fwd.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7693 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 12:36:58 +00:00
Angus Leeming
b0a5773d95 Reduce 115 dependencies on RowList.h to just 10 dependencies on lyxrow.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7692 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 11:01:50 +00:00
Angus Leeming
b5f20ef5ce Press the 'Save' button before committing, Angus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7691 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 10:30:04 +00:00
Angus Leeming
36e03e8a48 A few more compilation fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7690 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 10:16:15 +00:00
Angus Leeming
7e320953ac (Kornel Benko): re-add <map> header file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7689 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 10:10:41 +00:00
Angus Leeming
cba1fa5848 Add missing headers. With thanks to Martin...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7688 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 22:17:02 +00:00
Martin Vermeer
7ca0c9d069 Small bformat fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7687 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 19:20:26 +00:00
Angus Leeming
f239801ae3 Changes due to the removal of using directives from support/std_sstream.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7686 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 18:02:24 +00:00
Angus Leeming
236ea81bc5 Replace LString.h with support/std_string.h,
Lsstream.h with support/std_sstream.h,
support/LIstream.h with support/std_istream.h,
support/LOstream.h with support/std_ostream.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7685 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 17:23:11 +00:00
Angus Leeming
91de22ef34 Strip 320 #includes from the files in src.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7684 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 16:31:30 +00:00
Angus Leeming
fda0fb66f3 All .C files should #include there own .h file I guess ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7683 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 16:18:57 +00:00
Angus Leeming
68a06b9c46 Consistent headers in support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7682 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 15:34:37 +00:00
Angus Leeming
97035ea00a Another 49 #includes bite the dust.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7681 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 15:31:19 +00:00
Angus Leeming
34724201a1 Ensure that the header file can be compiled stand-alone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7680 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 15:08:49 +00:00
Angus Leeming
661921bca3 Ensure that the header files can be compiled stand-alone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7679 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 15:06:13 +00:00
Angus Leeming
7070d9305c Strip out another 350 redundant #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7678 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 14:56:51 +00:00
Angus Leeming
2480466ba0 Ensure that the header file can be compiled stand-alone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7677 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 14:45:47 +00:00
Angus Leeming
09ec5ba3e7 Ensure header files can be compiled stand-alone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7676 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 14:09:58 +00:00
Angus Leeming
b538a4c8fe Strip out another 180 #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7675 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 13:15:43 +00:00
Angus Leeming
36439eab21 Add <algorithm>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7674 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 13:03:23 +00:00
Angus Leeming
4a0bc62a2a Add <algorithm>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7673 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 12:54:37 +00:00
Angus Leeming
d6cb58ab66 Remove WorkArea.C (empty).
Rearrange #includes in alphabetical and directory order.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7672 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 10:55:42 +00:00
Angus Leeming
fd579b22b1 Keep score of how many #includes have been removed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7671 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 09:25:42 +00:00
Angus Leeming
c5c7a9e568 Strip out redundant includes (193 of 'em).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7670 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 09:01:27 +00:00
Angus Leeming
c9403be3b0 Strip redundant #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7669 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 03:10:30 +00:00
Angus Leeming
3b3c072df0 Strip out redundant #includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7668 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 02:53:05 +00:00
Angus Leeming
e9c209c298 The remaining External Template clean-up patch ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7666 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 17:01:00 +00:00
Lars Gullik Bjønnes
bf053299a6 fix cursorEnd, remove lastPrintablePos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7664 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 15:21:34 +00:00
Lars Gullik Bjønnes
2faa06b829 have row information on state line + one more bformat variant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7663 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 14:33:16 +00:00
Martin Vermeer
781e0ef62e The mouse box patch for button-style insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7662 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 14:02:05 +00:00
Lars Gullik Bjønnes
4f8690cc21 output paragraph position in state text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7661 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 13:00:12 +00:00
Angus Leeming
1dffc5cfe4 Move #includes out of header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7659 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 03:54:04 +00:00
Angus Leeming
4da67cb792 Store LaTeXFeatures' externalPreambles as a list<string> rather than a string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7658 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 01:49:21 +00:00
Angus Leeming
f228e41203 Move #include "lyxlib.h" out of Path.h, move ctor, dtor out of line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7657 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 01:44:16 +00:00
Angus Leeming
2ea91e9359 Move some more #includes out of the header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7656 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 01:18:42 +00:00
Angus Leeming
a529232113 Move #include "funcrequest.h" out of the header file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7655 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 01:01:13 +00:00
Angus Leeming
9475f44966 Move a #include out of the header file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7654 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 00:35:07 +00:00
Angus Leeming
3f50312db5 Be more specific that 'using lyx::support'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7653 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 00:29:22 +00:00
Lars Gullik Bjønnes
3355993a43 update if fitCursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7652 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 21:14:45 +00:00
Angus Leeming
a52418b360 Revert, revert, revert. Sorry about that, y'all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7651 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:40:58 +00:00
Angus Leeming
9498f9758f src/support/ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7650 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:28:39 +00:00
Angus Leeming
a4fc784124 Fix export of graphics images when compiling latex file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7649 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:23:38 +00:00
Jürgen Spitzmüller
d80565c905 fix typo in tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7647 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 16:02:57 +00:00
Angus Leeming
2158ae655b Don't bring namespace lyx::support into the global namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7646 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 12:56:52 +00:00
Martin Vermeer
9dcbe2910b Point fix, earlier forgotten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7645 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 09:33:36 +00:00
Martin Vermeer
704bd69b6c Oops...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7644 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 09:30:59 +00:00
Martin Vermeer
bee2ff2d50 Add Branch: to label
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7643 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 09:29:07 +00:00
Angus Leeming
397d4807c5 Initial go at some .cvsignore files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7642 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 21:44:55 +00:00
Angus Leeming
50d4d2bd7e s/contained/contains/ and end (?) the expenditure of hot air ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7641 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 20:42:28 +00:00
John Levon
0769f8d599 remove cursor.i[xy]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7640 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 17:08:54 +00:00
Angus Leeming
e28225d79a Anal policing of header blurbs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7639 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 17:02:32 +00:00
John Levon
c96136c040 bug 1376 partial fix and simplification.
End will still place the cursor on the next row visually if there's another row after the
current one in the par. This is a general problem, dunno why it's doing it now.

.ix() breakage possibly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7638 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 15:44:36 +00:00
Lars Gullik Bjønnes
edb3ec204d add a space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7637 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 14:49:19 +00:00
John Levon
0d4d013a15 fix change log format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7636 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 14:15:03 +00:00
Alfredo Braunstein
621e1d43b4 make bformat happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7635 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 12:03:30 +00:00
Alfredo Braunstein
b02a5bf656 avoid screen jumps when images get loaded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7634 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 11:10:19 +00:00
Alfredo Braunstein
f6bd1b3014 add a missing initialization (preventing a crash with previews)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7633 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 11:05:07 +00:00
Lars Gullik Bjønnes
f268743f8c The Gtk patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7632 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 10:29:05 +00:00
Lars Gullik Bjønnes
9d3229d5d7 Fix some zlib issues, use a temp file for lyx2lyx conversion.
Simplify some parts of file loading and insertion.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7631 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 08:26:20 +00:00
John Levon
36d1797dad fix dist from Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7630 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-30 17:09:51 +00:00
Martin Vermeer
e86b42f524 fix crash on doc settings for non-branched doc (reported Kayvan)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7629 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-29 12:18:40 +00:00
Angus Leeming
24f8676130 Enable convertDefault.sh to run even if its executable bit is not set.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7627 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 12:45:51 +00:00
Angus Leeming
92c3fca0bb Add a couple of new functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7625 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 08:48:03 +00:00
Angus Leeming
82218a5424 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7624 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 08:45:32 +00:00
Lars Gullik Bjønnes
b881ed2d5a Use Buffer const reference in most placees possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7623 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 07:41:31 +00:00
André Pönitz
ab039d998b suppress debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7622 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 07:26:43 +00:00
John Levon
7bfa084387 bug 1341
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7621 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 20:12:08 +00:00
André Pönitz
59336f855b ownerPar for gerParentLanguage
fixed formatting


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7618 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 15:38:23 +00:00
John Levon
8f2e2d474b init POD members of FuncRequest
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7617 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 15:25:27 +00:00
Alfredo Braunstein
cf6549229d moves top_y from lyxtext to BufferView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7616 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 14:55:20 +00:00
Alfredo Braunstein
7338f3b980 Add In nsetOld * argument to updateInset to rebreak the correct par.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7615 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 13:51:18 +00:00
André Pönitz
a12509db90 'fix' outerPar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7614 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 13:32:26 +00:00
André Pönitz
90ed6feade re-enable redoParagraph in updateInset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7613 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 09:18:00 +00:00
Martin Vermeer
04296fea9a Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7612 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 18:39:22 +00:00
John Levon
744c402590 remove remaining needFullRow()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7611 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 17:52:35 +00:00
André Pönitz
407c8f08bc remove InsetOld::par_owner & handling
(const correct after Angus' comment)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7610 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 16:36:53 +00:00
Martin Vermeer
814e5398c5 Small fix to prevent crash on loading
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7609 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 15:27:31 +00:00
André Pönitz
eaad9ff595 outerPar
"fix" loading problem


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7608 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 14:50:16 +00:00
Alfredo Braunstein
bf070fc876 missed this one yesterday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7607 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 13:46:58 +00:00
André Pönitz
f23775f346 fix drawing of displayed formula
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7606 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 11:06:04 +00:00
André Pönitz
ef2290cf5e Martin's fullRow patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7605 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 10:33:59 +00:00
André Pönitz
f0e41dc28c partial fix for scrollbar problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7604 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-25 11:03:19 +00:00
Alfredo Braunstein
189b00a5c9 Rationalise the position of calls to updateRowPostitions, remove the returned (and computed) y position from getRow and getRowNearY (and solve a bug in this one).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7603 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-25 10:24:26 +00:00
Angus Leeming
b2652e0fe6 (Rob Lahaye) Remove redundant "LyX:" from title.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7600 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 09:55:37 +00:00
Angus Leeming
21d54c05ed At least give an uptodate changelog entry...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7599 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:25:50 +00:00
Angus Leeming
0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
André Pönitz
430ba66080 cursor cosmetics for \underset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7596 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 16:14:26 +00:00
André Pönitz
ffe9f5f430 pixel cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7595 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 16:01:59 +00:00
André Pönitz
cb5af90a1b support for \overset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7594 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 16:01:13 +00:00
André Pönitz
95e822007d next try to single Inset::metrics() computation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7592 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 12:38:21 +00:00
André Pönitz
371e05fd3e hm... too eager I suppose
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7591 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 12:00:58 +00:00
André Pönitz
359519bda4 remove the spurious metrics() (ex-update()) call from setRowHeight()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7590 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 11:54:02 +00:00
Angus Leeming
9e75a45c7e ...and a few more. That's all this licence nonsense in my tree at the moment.
tex2lyx is now 'clean'.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7584 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 09:44:59 +00:00
André Pönitz
0510f56da8 the lyxrow changes including accessors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7583 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 09:40:56 +00:00
Angus Leeming
772c463b59 Trivial fixes to spelling/grammar in a couple of comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7581 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 08:47:32 +00:00
André Pönitz
b7f49f9b42 * lyxrow.[Ch]: add end_ member
* lyxrow_funcs.C: use LyXRow::end_

	* lyxtext.h (singleWidth): add LyXFont parameter

	* rowpainter.C:
	* text2.C: adjust LyXText::singleWidth() calls

	* text.C (redoParagraph): simplify row breaking logic


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7580 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 07:49:57 +00:00
Martin Vermeer
cd7a9690d1 Cosmetic fix to FormNote.C. Left tooltip text alone :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7578 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-21 11:26:07 +00:00
Martin Vermeer
6ef3c44b64 make the layout file's "Other" class option appear on the document
panel as "Extra Options".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7577 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-20 07:23:06 +00:00
André Pönitz
08492c2703 shift rowpainter interface a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7575 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-19 16:46:47 +00:00
Angus Leeming
1f9e9cf517 Standardise the header blurb in mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7574 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-19 13:00:56 +00:00
Angus Leeming
90499e36a9 More 'standard conformant blurb' nonsense.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7573 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-19 10:04:35 +00:00
André Pönitz
5bcebe0a51 * funcrequest.C: initialize button_ member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7572 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-19 08:32:51 +00:00
André Pönitz
9190d81e76 initialize button_ member to sane state
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7571 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-19 08:30:32 +00:00
John Levon
8d28085833 requiire amsmath for eqref
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7570 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 17:41:30 +00:00
John Levon
36ea61a888 add eqref entry: patch from Bas Zoetekouw
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7569 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 13:28:08 +00:00
André Pönitz
9823626b59 Michaels patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7568 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 12:57:30 +00:00
André Pönitz
e4e4320bc7 chnagelog...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7567 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 12:28:39 +00:00
André Pönitz
5fc41035a4 remove spurious semicolons in BranchList.h
fix branchlist crash


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7566 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 12:27:49 +00:00
André Pönitz
dd25d9ffe5 drop one argument from paintRows, add pit argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7565 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 09:52:17 +00:00
André Pönitz
017649d4a5 Alfredo's getRowNearY patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7564 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 08:35:25 +00:00
André Pönitz
7000451e00 drop a few fitCursor() and draw() calls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7563 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 08:23:03 +00:00
Martin Vermeer
fd6cd728a3 The 'Branches' mega-patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7560 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-17 11:28:23 +00:00
Alfredo Braunstein
0bbad21ca0 Kayvan's compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7559 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 22:46:29 +00:00
André Pönitz
d28b89ba80 add an additional full rebreak for 'resizeCurrentBuffer'.
remove some #if 0  code from singleWidth rebreaking


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7558 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 15:20:50 +00:00
André Pönitz
040a03e4a4 rowpainter.C: remove extra metrics calls
lyxtext.h: merge the two constructors into a single one,
 pass reference to owner's par list

 BufferView_pimpl.C:
 text.C:
 text2.C: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7557 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 14:54:19 +00:00
André Pönitz
f48ccf9641 re-enable DEPM for setCursorFromCoordinate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7556 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 13:20:45 +00:00
André Pönitz
43637efd25 better fix for anchorrow problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7555 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 13:12:24 +00:00
André Pönitz
9a7cef54a6 partial fix for anchor_row problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7554 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 12:53:57 +00:00
André Pönitz
c83eaea4d2 draw a bit more than strictly necessary.....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7553 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 12:09:25 +00:00
André Pönitz
221f1be82d remove toggleSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7552 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 10:24:39 +00:00
André Pönitz
09e0187997 split LyXText::rowlist_ into individual Paragraph::rows_ chunks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7551 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 08:03:54 +00:00
John Levon
ee8d50c73d Michael's UI patch v2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7548 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 15:45:09 +00:00
André Pönitz
bb8ee4b950 and here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7547 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 14:22:27 +00:00
André Pönitz
976af41516 same here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7546 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 14:19:45 +00:00
André Pönitz
02ebfa452a wrap more accesses to LyXText::rowlist_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7545 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 14:16:05 +00:00
André Pönitz
55a3d84728 some infrastructure to prepare the rowlist split
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7544 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 14:10:13 +00:00
André Pönitz
ee9aed9a41 speedup scrolling. UserGuide should be back to normal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7543 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 13:16:05 +00:00
André Pönitz
62ec192105 two more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7542 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 12:06:11 +00:00
André Pönitz
29eb0e10ce more getPar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7541 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 11:56:04 +00:00
André Pönitz
0b491007e3 two more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7540 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 11:30:11 +00:00
André Pönitz
648523b389 some more getPar removals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7539 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 11:16:31 +00:00
André Pönitz
85296c7253 getPar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7538 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 10:10:19 +00:00
André Pönitz
b54607cb4f remove four getPar()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7537 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 09:59:05 +00:00
André Pönitz
003bb374a5 next try...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7536 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 08:34:13 +00:00
André Pönitz
a9d4d09715 grr.. revert. wrong patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7535 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 08:17:27 +00:00
André Pönitz
87cab819b4 remove Row::pit_ member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7534 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 07:43:57 +00:00
Angus Leeming
be00d1f18a remove unneeded '// -*- C++ -*-' comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7533 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-12 08:29:43 +00:00
André Pönitz
10ec34960e adjust after removing math_inferinset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7530 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-11 15:31:00 +00:00
André Pönitz
a7617b28a7 remove unused files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7529 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-11 15:28:52 +00:00
André Pönitz
848b72c13f *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7528 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-11 15:28:09 +00:00
André Pönitz
566e084f63 weekend stuff less the chunk John "*strongly* disagrees with"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7527 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-11 09:09:01 +00:00
André Pönitz
87d49485e9 more not-so-useful stuff removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7526 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-08 16:24:32 +00:00
André Pönitz
0a2ca7c7e0 remove unneeded LyXText::redoHeightOfParagraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7525 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-08 16:05:41 +00:00
André Pönitz
5dd43bfad1 * lyxtext.h:
* text.C (breakAgainOneRow): removed


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7524 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-08 15:54:23 +00:00
André Pönitz
aca0551def don't fiddle with rows when they will be recomputed soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7523 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-08 15:48:57 +00:00
André Pönitz
48514415e8 * text.C: replace rowlist fiddling with rebreak of full par
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7522 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-08 15:34:17 +00:00
Jean-Marc Lasgouttes
e5a368b921 After all those hours of frustrating coding on tex2lyx, I decided that I would do easy things for a change. As a result, many new insets are supported, among which minipage; see the files text-*.tex for an idea of things that work now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7521 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-07 22:59:53 +00:00
André Pönitz
2b2d71d8e2 merge parts of InsetText and LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7518 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-07 11:59:09 +00:00
André Pönitz
538d4bf0af add a 'fitCursor'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7517 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-07 10:12:49 +00:00
André Pönitz
2a87592286 fix "height grows when moving in tables" bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7516 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-07 10:00:33 +00:00
Jean-Marc Lasgouttes
3a4b075285 finish tex2lyx depth support (hopefully); more things in .cvsignore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7515 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-06 22:47:22 +00:00
Martin Vermeer
e82268dd92 Kayvan's std::setw micro-patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7514 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-06 21:54:45 +00:00
Martin Vermeer
f8568ce1db RGB-to-string and back methods into Color.[Ch].
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7513 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-06 18:42:58 +00:00
Angus Leeming
6820291d13 Add lyx_forms.h, lyx_xpm.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7512 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-06 16:56:52 +00:00
Alfredo Braunstein
f86ab4de32 Fix the critical part of Bug 1255 and Bug 1256.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7511 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 22:00:04 +00:00
Alfredo Braunstein
635895783d compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7510 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 21:55:41 +00:00
Jean-Marc Lasgouttes
1c601f2477 make nesting work in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7509 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 21:46:51 +00:00
Jean-Marc Lasgouttes
9a747c4130 implement basic drag-and-drop support in qt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7508 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 19:51:45 +00:00
André Pönitz
cd75cc4376 * insettabular.[Ch] (updateLocal): simplify logic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7507 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 12:35:25 +00:00
André Pönitz
2faeeb8b96 merge InsetText::setParagraphData and InsetText::init
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7506 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 11:54:44 +00:00
André Pönitz
82910986f7 * insettext.C (frame_x,y,w,h): replace member with automatic variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7505 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 11:29:58 +00:00
André Pönitz
19f83569df small stuff:
- fix yesterday's selection regression
- remove a few update() calls
- remove unused  Selection::last_sel_cursor member
- ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7504 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 10:54:19 +00:00
André Pönitz
f7407bda14 insettext.C (localDispatch): merge cases with default branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7502 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 08:12:26 +00:00
André Pönitz
340b7d232c remove "deep update"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7501 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 08:07:07 +00:00
André Pönitz
7fa13a8b8f forgotten part of yesterday's patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7500 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 06:30:42 +00:00
André Pönitz
7a7669fd88 simpler InsetText:: local updating
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7498 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 15:59:01 +00:00
André Pönitz
b68574ab86 waste cycles for simpler InsetText::localUpdate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7497 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 15:41:27 +00:00
André Pönitz
7f87533060 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
is 'FULL' all the time.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7496 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 15:14:11 +00:00
André Pönitz
ecee0239e7 remove unneeded BufferView::UpdateCodes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7495 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 14:36:51 +00:00
Jean-Marc Lasgouttes
c544107e32 architectural changes to tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7494 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 10:26:10 +00:00
André Pönitz
6a7180b771 revert accidental commit: not exactly whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7493 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 09:48:23 +00:00
André Pönitz
e94eb6bed6 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7492 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 09:42:03 +00:00
André Pönitz
07bfd64255 replace "complicate" BufferView::update(...) calls with simpler ones.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7491 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 09:06:35 +00:00
Jean-Marc Lasgouttes
d4bfdbfa18 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7490 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-03 22:34:08 +00:00
Jean-Marc Lasgouttes
49dead313f do not add ellipsis to closed inset label unless necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7489 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-03 21:42:44 +00:00
Jean-Marc Lasgouttes
557a50555c compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7488 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-03 18:07:51 +00:00
Jean-Marc Lasgouttes
20af81782b more makefiles tweaks: kayvan's patch (with small changes); avoid rebuilding the whole xforms frontend everytime configure is run (using the weird but classic autoconf stamp trick); do not install path_defines.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7486 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 21:29:24 +00:00
Jean-Marc Lasgouttes
02aa32e2eb allow to compile several frontends at once (and produce several binaries)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7485 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 20:01:52 +00:00
John Levon
2ad6599081 missing using std::endl
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7484 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 14:35:31 +00:00
Jean-Marc Lasgouttes
44bb33dac2 fix layout combox update bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7483 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 12:23:24 +00:00
Jean-Marc Lasgouttes
fea30d5137 fix running in place
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7482 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 12:21:13 +00:00
Lars Gullik Bjønnes
f1ff990de7 Always use std::endl with lyxerr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7481 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 11:30:30 +00:00
Lars Gullik Bjønnes
ffe20e2e9c Always use std::endl with lyxerr.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7480 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 21:18:49 +00:00
Martin Vermeer
a11a110fc5 update \author list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7478 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 15:36:47 +00:00
André Pönitz
f8070d27f2 merge BufferView::repaint() and BufferView::update()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7477 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 15:27:57 +00:00
André Pönitz
e275c5d811 remove need_update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7476 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 15:17:22 +00:00
André Pönitz
37ae3fda0d * screen.[Ch]: merge update() and repaint()
suppress excessive debug messages


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7475 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 14:51:09 +00:00
André Pönitz
a848fced97 duplicate rowbreaking code in redoParagraph as starting point for later
consolidation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7474 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 14:12:04 +00:00
André Pönitz
bf4fcda6cb adjust some comments
restrict code region covered by save/restoreLyXTextState


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7473 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 12:52:59 +00:00
André Pönitz
18d0f62744 reuse new redoParagraph in LyXText::init
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7472 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 12:33:42 +00:00
André Pönitz
1751000059 spend extra cycles for simpler redoParagraph logic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7471 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 12:20:27 +00:00
André Pönitz
5eb1059f50 make redoParagraph more independent of current cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7470 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 11:22:13 +00:00
José Matox
aa848b8ccf remove file_format from buffer.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7469 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 10:23:16 +00:00
André Pönitz
bd3f5d89f4 remove unneeded LyXText::workWidth(InsetOld const *)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7466 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 14:07:59 +00:00
André Pönitz
42e43ec73d remove broken operator==() for Paragraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7465 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 13:38:06 +00:00
André Pönitz
58fd3c844a put two functions in one, remove global variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7464 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 13:12:21 +00:00
André Pönitz
acc3e7135c remove unused Paragraph::copyIntoMinibuffer
remove unsed bool return values


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7463 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 12:25:36 +00:00
André Pönitz
f2ea978c45 remove InsetUpdatable::nodraw (premature...) optimization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7460 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 10:48:50 +00:00
André Pönitz
c0d7037aba remove toggleSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7459 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 10:24:22 +00:00
Martin Vermeer
900d9a7075 Oops, forgotten changelog entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7458 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 06:25:44 +00:00
Angus Leeming
29ebc1d4d6 'new InsetHFill();' should be 'new InsetHFill;'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7457 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 23:29:49 +00:00
Angus Leeming
1c155241d8 Martin's changes to the Note inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7456 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 21:47:18 +00:00
André Pönitz
202900df42 don't return a bool if void is sufficient...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7455 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 16:14:02 +00:00
André Pönitz
eead5ba43d prevent crash when inserting minipage in table cell,
small cosmetic stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7454 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 15:41:39 +00:00
Alfredo Braunstein
bee8db371f Fix to Bug 1232 (as discussed on bugzilla)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7453 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 15:34:47 +00:00
Martin Vermeer
c396168af0 factor out the detection of clicking on the inset button as 'hitButton'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7452 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 14:43:14 +00:00
Angus Leeming
271412de78 urg...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7451 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 14:41:59 +00:00
Angus Leeming
06683ddcdc Hide the fact that we re-generate those symbolic links brainlessly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7450 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 14:41:27 +00:00
Martin Vermeer
f67b9fda9e limited 'arg' scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7449 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 13:55:44 +00:00
Jürgen Spitzmüller
2884ad18c6 qnote dialog: consistent terminology (bug 1270)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7448 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 13:43:15 +00:00
Martin Vermeer
eaa3fd6ee0 fixed Note submenu issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7447 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 13:08:12 +00:00
Martin Vermeer
1771dbf348 submenu for Note/Comment/Greyedout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7446 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 11:39:36 +00:00
Jürgen Spitzmüller
469c5ed4c3 trivial fix for qcitation dialog (bug 1284)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7445 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 09:31:21 +00:00
Alfredo Braunstein
5fb7795b10 Fix to Bug 1287 and Bug 1297
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7443 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 16:40:26 +00:00
Martin Vermeer
93ea6f14a0 Implement a newenvironment in preamble for greyedout. Patch provided
by J�rgen Spitzm�ller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7442 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 12:20:04 +00:00
Angus Leeming
f558c98c76 Jean-Marc teaches me that MakeRelPath is quite sophisticated...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7441 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 10:56:55 +00:00
André Pönitz
184b5dadaf - y - (-y) is pretty close to 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7440 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 10:00:51 +00:00
Jean-Marc Lasgouttes
7ba25c6e3b compile fix for gcc 2.95.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7439 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 09:55:48 +00:00
Jean-Marc Lasgouttes
3261bad69e fix bug when reading bind files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7438 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 09:43:15 +00:00
Angus Leeming
23a3298aa5 Use pushpophelper.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7437 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 08:57:51 +00:00
André Pönitz
6e844a0aed small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7436 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 01:46:09 +00:00
Angus Leeming
7fa3f39b0d Kill ChangeCitationsIfUnique; various small bits 'n' bobs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7435 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 23:53:36 +00:00
Jean-Marc Lasgouttes
dd750828d5 * text.C (check_layout): \layout -> \begin_layout
(parse_text_in_inset): convenience function

	* tex2lyx.C (main): \the_end -> \end_document

	* preamble.C (end_preamble): update version number to 225

	* text.C (parse_text): replace test on "lyxcode" with test on
	LyXLayout::freespacing.
	(check_end_layout): new function, used to check whether we need to
	add an \end_layout


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7434 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 23:50:24 +00:00
Lars Gullik Bjønnes
5e73ad8fbd some more compression stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7433 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 23:05:58 +00:00
Angus Leeming
168f55ee33 latin1 in author names, not utf8.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7432 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 22:37:28 +00:00
André Pönitz
84518472df some cleanup (TEXT() gone, argumenst always == false etc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7431 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 22:34:48 +00:00
José Matox
29df5f4f83 \end_document replaces \the_end.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7430 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 22:30:50 +00:00
Jean-Marc Lasgouttes
05e7faf4df forgot to save a file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7429 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:58:39 +00:00
Jean-Marc Lasgouttes
214a32a77d output \layout tags lazily
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7428 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:58:09 +00:00
André Pönitz
efff440e70 remove toggleToggle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7427 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:22:42 +00:00
André Pönitz
b6c4462095 slimmer interface to paintrows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7425 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 20:04:43 +00:00
André Pönitz
b83d39ce33 move row loop for drawing from screen.C and insettext.C to rowpainter.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7423 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 18:40:05 +00:00
Jean-Marc Lasgouttes
8ea43a75e2 tex2lyx support for english quotes; revert the layout format change because we are not ready for that yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7422 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:45:41 +00:00
José Matox
131eabe56c \layout -> \begin_layout and missing \end_layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7420 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:17:11 +00:00
Lars Gullik Bjønnes
8721e76079 more compress support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7419 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 14:40:29 +00:00
Jean-Marc Lasgouttes
6f91069b50 fix writing of tabulars; output the real lyx version number at the top of generated files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7418 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 14:09:05 +00:00
Jean-Marc Lasgouttes
34215d69bc * text.C (parse_text): read environment from layout file too. Now,
all layout entries are supported (but many hacks remain); note
	that the nesting support is broken and will have to be completely
	redone

	* table.C (handle_tabular): make the output more similar to LyX
	and fix a little

	* text.C (output_layout): fix handling of optional argument
	(parse_text): small tweaks to make output format closer to lyx
	format; support \tableofcontents; fix/improve support for various
	special characters


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7417 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 14:06:04 +00:00
André Pönitz
cf9d1fb908 make the drawing loops in screen and InsetText more similar to each other
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7416 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 13:18:35 +00:00
Jean-Marc Lasgouttes
3ac99e899f cosmetic fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7414 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 13:04:40 +00:00
André Pönitz
a7dc233a17 speed up after some profiling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7413 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 12:51:24 +00:00
Lars Gullik Bjønnes
618ad87140 correct magic for gzip and compress
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7412 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 12:47:20 +00:00
André Pönitz
ebab2dbbfa use doubles again for x-coordinates. They are needed after all...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7411 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 12:20:42 +00:00
Lars Gullik Bjønnes
4a6041664e lyx_localedir fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7410 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 11:43:40 +00:00
André Pönitz
ac74abc03c cache and use the textclass default font in each LyXText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7409 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 10:41:47 +00:00
Martin Vermeer
75fc382f57 Hope I *now* get it right...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7407 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 09:02:58 +00:00
Martin Vermeer
7aecdcd585 The right fix to insetnote's greyedout: use \color and \normalcolor.
Thanks J�rgen S.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7406 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 07:50:24 +00:00
Lars Gullik Bjønnes
a16c8a8759 zlib stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7405 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 23:40:08 +00:00
André Pönitz
dd93e486d3 same here...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7404 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 22:55:00 +00:00
André Pönitz
92894cfe0c remove unused stuff after a clear three vs 'completely drunk' vote
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7403 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 22:53:31 +00:00
André Pönitz
4c64013208 remove unneeded BufferView * param from two functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7402 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 22:46:33 +00:00
Angus Leeming
d977917213 Remove long-dead InsetXYZ::Holder class and member var.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7401 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 22:38:08 +00:00
Angus Leeming
eab569812b Trivia.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7400 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 22:26:45 +00:00
Angus Leeming
cd16abc0fd Flying high and free...
The user_lyxdir is also now a function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7399 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 22:13:29 +00:00
André Pönitz
b6f6469040 remove Buffer * parameter from a bunch of get*Font functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7398 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 21:59:06 +00:00
José Matox
30964c75af Add \end_layout, increment file format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7397 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 21:39:54 +00:00
Angus Leeming
eee532a581 Learing to fly...
system_lyxdir is now a function too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7396 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 21:04:02 +00:00
Angus Leeming
d75728c527 I'm speeding up...
build_lyxdir is now a function, not a global variable.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7395 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 20:17:31 +00:00
Angus Leeming
8700a256d3 All day for not very much...
Well, Ok, tex2lyx now has reasonable values for the build_lyxdir,
system_lyxdir, user_lyxdir variables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7394 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 19:26:36 +00:00
André Pönitz
c625f0a370 small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7393 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 18:56:26 +00:00
Jean-Marc Lasgouttes
11edc2b194 tex2lyx improvments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7392 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 18:25:58 +00:00
André Pönitz
f8d90604b9 remove stuff from LyXText::checkParagraph() I don't understand
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7391 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 16:01:20 +00:00
Martin Vermeer
3fae1f4503 Added #include <memory> needed by gcc 2.95.2 at least.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7390 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:52:05 +00:00
André Pönitz
a4776de061 get rid of LyXText::need_break_row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7389 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:41:46 +00:00
Angus Leeming
a1a329fd24 Remove cruft spotted by Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7388 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:32:15 +00:00
John Levon
c78dd62448 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7387 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:09:45 +00:00
André Pönitz
810c0e95da i thought I committed that already...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7386 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:09:13 +00:00
André Pönitz
f1d08128dd removed (unused) compatibility code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7385 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 14:47:10 +00:00
Lars Gullik Bjønnes
20b42535af put namespace toc inside namespace lxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7384 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 13:18:55 +00:00
José Matox
b4a7936882 insetnote.h (linuxdoc,docbook): update support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7383 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 13:02:26 +00:00
Jean-Marc Lasgouttes
cf1307fcea cosmetic fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7382 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 12:36:52 +00:00
Lars Gullik Bjønnes
00e5c3f3a2 get rid of namesapce lyxfind and introduce namespace lyx::find
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7379 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 12:02:58 +00:00
Asger Ottar Alstrup
60896529f0 Optimise rowBreakPoint and setHeightOfRow as well.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7378 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 11:16:25 +00:00
André Pönitz
330fdeda26 restrict scope of temporary variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7377 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 10:44:39 +00:00
Asger Ottar Alstrup
9ea1c79aa0 When calculating fill, exploit data structure to avoid superfluous calls to getFont.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7376 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 10:42:11 +00:00
Angus Leeming
926b68c0aa Remove hard coding of command layouts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7374 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 00:39:35 +00:00
Asger Ottar Alstrup
672ab42137 Work to improve performance a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7373 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 00:37:17 +00:00
Jean-Marc Lasgouttes
80d7f70dc3 move reading of bind files from lyxrc.C to kbmap.C; do not read bindings or menus when not using gui; move paper related enums to a new paper.h; remove dependency on bufferparams.h from lyxrc.h; small bugfix to tex2lyx; fix bad menu shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 23:04:39 +00:00
José Matox
6a2f81278d add support for tables and figures (linuxdoc).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7371 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 21:53:54 +00:00
José Matox
00a58355dd Rename arguments of makeLaTeXFile to a sane scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7370 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 21:37:10 +00:00
Asger Ottar Alstrup
b52b324d64 Change a brain-dead algorithm to a smarter one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7369 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 20:51:52 +00:00
André Pönitz
fcb82ea793 remove spurious extra drawing from cursorNext() and cursorPrevious()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7368 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 20:38:19 +00:00
Alfredo Braunstein
78ba1836ad factorize some code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7367 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 20:09:56 +00:00
Asger Ottar Alstrup
1d371a287d *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7366 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 19:04:03 +00:00
Angus Leeming
8f90cc97a6 Replace occurances of system_tempdir with os::getTmpDir().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7365 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 18:25:29 +00:00
Angus Leeming
399e7da435 Forgotten files ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7363 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 00:17:21 +00:00
Angus Leeming
812b659d89 Enable tex2lyx to read the LyX textclass and to use this info a little.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 00:15:38 +00:00
Jean-Marc Lasgouttes
c7f1fcdc65 towards saner frontends (?). Part II: the menubar (now it is possible to switch frontend without recompiling GUII code)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7361 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 21:34:45 +00:00
Lars Gullik Bjønnes
2e57f2ff0a rename Inset to InsetOld
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7360 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 21:20:24 +00:00
André Pönitz
ec004b4318 fix getLabelList for mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7359 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 19:39:01 +00:00
Asger Ottar Alstrup
c3a34a64f1 Undo cleaned up. It seems to work pretty well now.
* undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
	Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
	which I think is a bit clearer. EDIT is gone, since it was
	premature optimisation, and broken for mathed anyway.
	* undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
	with cursor positioning in insets as well (math insets still do not
	work, but that's a different story anyway.) It mysteriously
	crashes sometimes with undo in the first paragraph, but I'm fairly
	confident that this is a compiler bug.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7358 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 19:18:43 +00:00
Jean-Marc Lasgouttes
3501eef8f8 towards saner frontends. Part I: the toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7357 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 18:10:34 +00:00
Lars Gullik Bjønnes
4ba8a4d6f6 the clone auto_ptr patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7356 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 17:11:25 +00:00
Asger Ottar Alstrup
8a2e3e4d73 Fixed undo crash in first paragraph by avoiding special case and doing a
full rebreak on every undo. Undo still is unpredictable in nested insets,
but hey, one less crash is worth a beer anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7355 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 11:58:47 +00:00
John Levon
192f2c94b2 fix bug 1285 (selecting font properly in the prefs combo)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7354 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 23:13:53 +00:00
Angus Leeming
6b67e6829a Prettify the screen label of the external inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7353 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 16:48:04 +00:00
Angus Leeming
e59f7a4ef5 A color picker for xforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7352 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 15:36:40 +00:00
Angus Leeming
7668244a77 The inset mailers' inset2string function now requires a Buffer const & arg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7351 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 09:54:21 +00:00
Angus Leeming
5a714d510d Use a FileName variable in the external inset too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7350 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 09:17:04 +00:00
Angus Leeming
c52a93b038 Add Kernel::bufferFilepath() as a wrapper for Buffer::filePath() and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7349 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 09:07:28 +00:00
Angus Leeming
7e0e2dbb82 A new FileName class + use by the graphics inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7348 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 20:42:40 +00:00
John Levon
6f2c9fd6b2 Aiksaurus 1.0 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7345 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 15:23:35 +00:00
André Pönitz
172c868068 small stuff
less debug output


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7344 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 15:12:04 +00:00
André Pönitz
a45815184b some more infrastructure...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7343 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 11:54:39 +00:00
André Pönitz
d16e9b926b LyXText::rebuild -> LyXText::metrics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7342 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 10:12:24 +00:00
André Pönitz
bd369211dc bugfix (width)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7339 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 09:20:23 +00:00
Jean-Marc Lasgouttes
c3e778fedb make menu warnings unconditional
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7337 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 09:15:55 +00:00
Angus Leeming
b249c0b0bb Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7335 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 21:51:17 +00:00
Angus Leeming
0d4d71dfe6 Finish the migration from namespace grfx to lyx::graphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7334 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 21:30:57 +00:00
André Pönitz
5076f1cdd1 forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7330 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 11:09:32 +00:00
André Pönitz
d6ed22a813 rowpainter.C: remove unused variables
tabular_funcs.C:
tabular_funcs.h: move to tabular.C
Makefile.am: adjust

tabular.[Ch]: basic optical cleaning

author.h: pass references, not values


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7329 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 11:01:29 +00:00
André Pönitz
e3fcc05ff6 remove two unused variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7328 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 09:30:50 +00:00
Jürgen Spitzmüller
ce044d86c4 QBibtex/QCitation ui fixes (bug 1146)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7327 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 09:08:14 +00:00
Angus Leeming
26f64808a2 (Martin Vermeer): fix greyout and layout foul-ups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7326 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 08:08:04 +00:00
John Levon
efd0b4b341 restrict tab create dialog to a reasonable size (bug 1152)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7323 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-19 18:53:11 +00:00
André Pönitz
15fdece6a3 simplify InsetTabular a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7322 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 16:23:17 +00:00
André Pönitz
934a082963 small general cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7321 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 16:13:33 +00:00
André Pönitz
a739b5e45d small stuff getLyXText() -> text_, parantheses
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7320 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 15:43:52 +00:00
André Pönitz
4127ff8a32 remove unneeded Inset::getMaxWidth(
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7319 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 15:30:20 +00:00
Angus Leeming
82b445649a Add a tooltip to the xforms note dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7318 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 14:51:13 +00:00
André Pönitz
b6eefddb85 fix for Angus' redraw problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7317 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 14:04:49 +00:00
Angus Leeming
359583859f Consistent header blurbs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7316 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 12:22:19 +00:00
André Pönitz
2eae49ac5a make textWidth access a bit simpler
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7315 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 12:05:50 +00:00
Lars Gullik Bjønnes
01b31c56c9 make lyx compile with gcc 3.4. remove some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7314 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 08:46:00 +00:00
Alfredo Braunstein
54b1bb8637 somewhat managed to misunderstand the logic. should be ok now, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7313 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:51:21 +00:00
André Pönitz
99b64f351e two-phase-drawing for InsetText & InsetTabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7312 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:47:07 +00:00
Alfredo Braunstein
8d2394b02c fix crash reported by Kayvan + ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7311 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:25:16 +00:00
Angus Leeming
389bc3fc89 Enable the math (sub-)dialogs to be opened when the cursor is in an math inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7310 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 16:55:03 +00:00
André Pönitz
6da2800573 prepare passing down max text widths...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7309 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 15:57:08 +00:00
Angus Leeming
2353291b37 Doxygen fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7308 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 15:35:42 +00:00
André Pönitz
3a3d06a4fd remove some commented out code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7307 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 15:04:09 +00:00
André Pönitz
389fc95d77 remove recently introduced additionla 'fullRebreak' when inserting LyX
files. Not needed anymore


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7306 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 11:48:41 +00:00
André Pönitz
341e897787 remove spurious call to repaint()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7305 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 11:42:03 +00:00
André Pönitz
7b0b1cdaae remove twice unused variable 'tmpheight'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7304 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 11:34:48 +00:00
André Pönitz
652a08b0a4 remove unneeded InsetText::old_max_width member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7303 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 09:32:06 +00:00
André Pönitz
bb0175e906 simplify InsetTabular::calculate_dimensions_of_cells a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7302 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 09:25:06 +00:00
André Pönitz
b853229344 reduce number of metrics calls in InsetTabular calculate_dimensions_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7301 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 09:10:16 +00:00
Alfredo Braunstein
dfbd44997a moved some converter/format functions to more appropriate places
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7300 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 08:23:33 +00:00
André Pönitz
52b22859af remove unneeded in_update_ members
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7299 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 07:43:55 +00:00
André Pönitz
e62ce55f8c remove Inset::update()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7298 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 07:32:01 +00:00
André Pönitz
cf31c9b219 Disable InsetText::update and InsetTabular::update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7297 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 06:45:39 +00:00
Angus Leeming
a8644bb74d Remove preprocessor warning.
(To answer Andre's question, yes it is but FormDialogBase is a straight
replacement of FormBase which will go the way of the dodo once I convert
the remaining controllers to derive from Dialog::Controller. 25 done, 9 to go.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7296 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 22:45:42 +00:00
Angus Leeming
3c1e87c1a1 Rewrite to use find_if rather than a big if block.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7295 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 22:34:31 +00:00
Angus Leeming
5db268b9e3 Fix compiler warning at expense of creating doxygen one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7293 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 20:43:57 +00:00
Angus Leeming
b1924a9bca Improved doxygen documentation. Could people please have a look at Lars'
autogenerated files tomorrow (Thursday) and throw their comments my way.
http://www.lyx.org/sourcedoc/classDialog.html
http://www.lyx.org/sourcedoc/classKernel.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7292 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 20:10:59 +00:00
André Pönitz
a105cf94a9 'fix' stupid compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7291 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 14:20:43 +00:00
André Pönitz
31b0364c2d replace the LyXCursor::irow_ member with on-demand computation of the value
(as quickly tested by John last week)

LyXCursor does not know about rows anymore...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7290 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 08:42:26 +00:00
André Pönitz
0c448197ec *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7289 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 07:15:10 +00:00
John Levon
f64d7de0bf showInsetDialog() for note
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 23:52:05 +00:00
Jürgen Spitzmüller
bd76214fd4 QTabularDialog: fix width input (bug 1156)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7286 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 18:44:49 +00:00
André Pönitz
cd12251e27 'full redraw' related stuff that's innocent for the upward-selection-in-tables bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7285 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 16:25:02 +00:00
John Levon
b3ed50a4d3 Fix for changed Qt behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7282 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 15:24:33 +00:00
Jürgen Spitzmüller
dc85736c7f The QNote dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7280 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 12:48:24 +00:00
André Pönitz
69572ae035 remove unneeded refresh_row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7279 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:47:27 +00:00
André Pönitz
9f24c7105a don't redraw excessivly (Bug spotted by Lars)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7278 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:13:06 +00:00
André Pönitz
09378fd7c1 changelogs...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7277 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:10:05 +00:00
André Pönitz
4ec8f6453d refresh_status_ trisate -> need_refresh_ bool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7276 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:08:02 +00:00
André Pönitz
e347e9e925 collapse REFRESH_AREA and REFRESH_ROW handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7275 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 09:44:54 +00:00
Alfredo Braunstein
4cd3bf1c07 remove reinit argument from LyXText::init (act as if always true)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7274 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 08:26:17 +00:00
Alfredo Braunstein
68e8fb6694 Juergen's clear-selection-before-insertion patch. See Bug: 441, Bug: 673, Bug: 702, Bug: 954, and Bug: 1226.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7273 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 06:51:47 +00:00
André Pönitz
8aff4a1530 slimmer row painter interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7272 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 17:50:00 +00:00
André Pönitz
e4c194b9c0 avoid a few more getLyXTexts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7271 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 16:34:23 +00:00
André Pönitz
135e7dc8a8 * insets/insettext.[Ch] (cy, ciy, setUpdateStatus):
remove unused BufferView * argument


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7270 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 15:17:40 +00:00