]>
git.lyx.org Git - lyx.git/log
Martin Vermeer [Sat, 25 Oct 2003 09:20:51 +0000 (09:20 +0000)]
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
Martin Vermeer [Fri, 24 Oct 2003 15:32:32 +0000 (15:32 +0000)]
Fixed borkage of delimiters panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7978
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Fri, 24 Oct 2003 15:04:17 +0000 (15:04 +0000)]
make endpos behave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7977
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Fri, 24 Oct 2003 09:45:07 +0000 (09:45 +0000)]
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
André Pönitz [Fri, 24 Oct 2003 08:33:52 +0000 (08:33 +0000)]
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
André Pönitz [Fri, 24 Oct 2003 07:59:04 +0000 (07:59 +0000)]
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
Alfredo Braunstein [Thu, 23 Oct 2003 15:55:30 +0000 (15:55 +0000)]
remove spurious rit = cursorRow()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7973
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 23 Oct 2003 15:44:48 +0000 (15:44 +0000)]
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
Alfredo Braunstein [Thu, 23 Oct 2003 15:42:37 +0000 (15:42 +0000)]
fix 2 dontlikes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7971
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 23 Oct 2003 15:38:48 +0000 (15:38 +0000)]
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
José Matox [Thu, 23 Oct 2003 15:30:40 +0000 (15:30 +0000)]
add counters for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7969
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 23 Oct 2003 15:09:04 +0000 (15:09 +0000)]
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
André Pönitz [Thu, 23 Oct 2003 15:06:52 +0000 (15:06 +0000)]
* 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
Alfredo Braunstein [Thu, 23 Oct 2003 13:28:49 +0000 (13:28 +0000)]
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
Jürgen Spitzmüller [Thu, 23 Oct 2003 11:58:01 +0000 (11:58 +0000)]
qt branch support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7964
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 23 Oct 2003 11:46:33 +0000 (11:46 +0000)]
Georg Baum's monster patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7963
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 23 Oct 2003 10:53:41 +0000 (10:53 +0000)]
dispatch -> priv_dispatch where necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7962
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 23 Oct 2003 09:06:18 +0000 (09:06 +0000)]
move width computation to helper function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7961
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 23 Oct 2003 08:15:57 +0000 (08:15 +0000)]
* 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
Angus Leeming [Wed, 22 Oct 2003 22:26:47 +0000 (22:26 +0000)]
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
Lars Gullik Bjønnes [Wed, 22 Oct 2003 22:22:55 +0000 (22:22 +0000)]
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
Angus Leeming [Wed, 22 Oct 2003 20:39:30 +0000 (20:39 +0000)]
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
André Pönitz [Wed, 22 Oct 2003 16:30:57 +0000 (16:30 +0000)]
rename row.end into row.endpos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7956
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Wed, 22 Oct 2003 14:40:24 +0000 (14:40 +0000)]
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
Angus Leeming [Wed, 22 Oct 2003 13:15:18 +0000 (13:15 +0000)]
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
Angus Leeming [Wed, 22 Oct 2003 11:12:31 +0000 (11:12 +0000)]
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
Angus Leeming [Wed, 22 Oct 2003 10:22:09 +0000 (10:22 +0000)]
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
André Pönitz [Wed, 22 Oct 2003 09:56:22 +0000 (09:56 +0000)]
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
José Matox [Wed, 22 Oct 2003 09:03:51 +0000 (09:03 +0000)]
* lyxconvert_223.py (convert_minipage): Assures the paramaters order and defaut values
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7949
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Wed, 22 Oct 2003 08:31:49 +0000 (08:31 +0000)]
just the next_rit check fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7948
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Wed, 22 Oct 2003 06:02:55 +0000 (06:02 +0000)]
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
José Matox [Tue, 21 Oct 2003 17:21:45 +0000 (17:21 +0000)]
convert minipage to insetbox. (223 -> 225)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7946
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 21 Oct 2003 17:21:23 +0000 (17:21 +0000)]
remove debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7945
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 21 Oct 2003 17:16:01 +0000 (17:16 +0000)]
fix row breaking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7944
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 21 Oct 2003 16:19:05 +0000 (16:19 +0000)]
ChangeLog & re-add the {} for "long" blocks..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7943
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 21 Oct 2003 16:15:14 +0000 (16:15 +0000)]
small stuff, whitespace & consistent naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7942
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Tue, 21 Oct 2003 13:04:14 +0000 (13:04 +0000)]
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
Martin Vermeer [Mon, 20 Oct 2003 18:56:48 +0000 (18:56 +0000)]
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
Jean-Marc Lasgouttes [Mon, 20 Oct 2003 13:55:51 +0000 (13:55 +0000)]
fix bug 1415; fix annoying typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7938
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 20 Oct 2003 11:41:21 +0000 (11:41 +0000)]
small stuff (whitspace, spelling...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7936
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sat, 18 Oct 2003 14:43:54 +0000 (14:43 +0000)]
Crash fix (wrong cursor def)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7935
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 17 Oct 2003 23:45:32 +0000 (23:45 +0000)]
forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7934
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 17 Oct 2003 23:41:14 +0000 (23:41 +0000)]
fix parallel make
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7933
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 17 Oct 2003 18:23:41 +0000 (18:23 +0000)]
make some more regexs static
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7932
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 17 Oct 2003 18:01:15 +0000 (18:01 +0000)]
the dispatch patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7931
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 17 Oct 2003 14:30:33 +0000 (14:30 +0000)]
compile fixes for stlport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7930
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Fri, 17 Oct 2003 10:31:47 +0000 (10:31 +0000)]
RowList::iterator -> Row &, ParagraphList::iterator -> Paragraph &
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7929
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 17 Oct 2003 09:32:41 +0000 (09:32 +0000)]
Get rid of the TextCache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7928
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 16 Oct 2003 16:41:32 +0000 (16:41 +0000)]
* 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
André Pönitz [Thu, 16 Oct 2003 16:19:56 +0000 (16:19 +0000)]
make updateRowPositions() a bit faster.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7926
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Thu, 16 Oct 2003 11:16:15 +0000 (11:16 +0000)]
Fix a crashing problem with unknown actions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7925
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Wed, 15 Oct 2003 10:55:42 +0000 (10:55 +0000)]
add missing bits to gtk port
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7924
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Wed, 15 Oct 2003 08:49:44 +0000 (08:49 +0000)]
undo per inset. still a few crashes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7923
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Tue, 14 Oct 2003 21:30:23 +0000 (21:30 +0000)]
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
Angus Leeming [Tue, 14 Oct 2003 13:54:16 +0000 (13:54 +0000)]
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
André Pönitz [Tue, 14 Oct 2003 13:13:55 +0000 (13:13 +0000)]
make it compile & disable debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7920
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 14 Oct 2003 13:01:49 +0000 (13:01 +0000)]
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
Alfredo Braunstein [Tue, 14 Oct 2003 12:49:15 +0000 (12:49 +0000)]
Fix bug 1323
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7918
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Tue, 14 Oct 2003 11:35:50 +0000 (11:35 +0000)]
(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
Angus Leeming [Tue, 14 Oct 2003 09:40:16 +0000 (09:40 +0000)]
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
Angus Leeming [Mon, 13 Oct 2003 21:50:33 +0000 (21:50 +0000)]
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
Angus Leeming [Mon, 13 Oct 2003 20:49:31 +0000 (20:49 +0000)]
(Kayvan): compile fix for non-Linux platforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7914
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Mon, 13 Oct 2003 15:23:45 +0000 (15:23 +0000)]
fixes to compile and link gtk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7913
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 13 Oct 2003 13:59:45 +0000 (13:59 +0000)]
restore undo on parlist level.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7912
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 13 Oct 2003 13:27:45 +0000 (13:27 +0000)]
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
Angus Leeming [Mon, 13 Oct 2003 12:25:11 +0000 (12:25 +0000)]
Jo�o Assirati's lyxsocket patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7910
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 13 Oct 2003 10:59:31 +0000 (10:59 +0000)]
* 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
Angus Leeming [Mon, 13 Oct 2003 10:25:44 +0000 (10:25 +0000)]
Use Andr�'s prefered idiom here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7908
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Mon, 13 Oct 2003 10:16:05 +0000 (10:16 +0000)]
Make it compile with g++-2.95.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7907
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Mon, 13 Oct 2003 10:00:39 +0000 (10:00 +0000)]
Remove a couple of #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7906
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Mon, 13 Oct 2003 09:50:10 +0000 (09:50 +0000)]
Whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7905
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Mon, 13 Oct 2003 09:43:15 +0000 (09:43 +0000)]
No trailing whitespace left in src...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7904
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Mon, 13 Oct 2003 02:10:45 +0000 (02:10 +0000)]
ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7903
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Mon, 13 Oct 2003 01:58:25 +0000 (01:58 +0000)]
missed this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7902
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Mon, 13 Oct 2003 01:53:45 +0000 (01:53 +0000)]
do not call InsetOld::localDispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7901
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Mon, 13 Oct 2003 01:35:47 +0000 (01:35 +0000)]
DISPATCH -> dispatch_result
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7900
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Mon, 13 Oct 2003 01:01:33 +0000 (01:01 +0000)]
move some vars to smaller scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7899
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Mon, 13 Oct 2003 00:38:09 +0000 (00:38 +0000)]
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
Angus Leeming [Sun, 12 Oct 2003 18:54:12 +0000 (18:54 +0000)]
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
Lars Gullik Bjønnes [Sat, 11 Oct 2003 01:21:26 +0000 (01:21 +0000)]
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
Angus Leeming [Fri, 10 Oct 2003 21:24:06 +0000 (21:24 +0000)]
A little further clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7895
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Fri, 10 Oct 2003 21:08:55 +0000 (21:08 +0000)]
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
Angus Leeming [Fri, 10 Oct 2003 20:56:25 +0000 (20:56 +0000)]
A bunch of prettier buttons for the math toolbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7893
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Fri, 10 Oct 2003 14:20:59 +0000 (14:20 +0000)]
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
Angus Leeming [Fri, 10 Oct 2003 14:04:28 +0000 (14:04 +0000)]
The \sqrt and \root icons on the math toolbar were transposed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7891
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Fri, 10 Oct 2003 11:27:05 +0000 (11:27 +0000)]
fix #1384
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7890
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Fri, 10 Oct 2003 09:01:23 +0000 (09:01 +0000)]
fix a few of the tabular crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7889
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Thu, 9 Oct 2003 23:14:30 +0000 (23:14 +0000)]
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
Angus Leeming [Thu, 9 Oct 2003 19:27:07 +0000 (19:27 +0000)]
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
Angus Leeming [Thu, 9 Oct 2003 14:36:16 +0000 (14:36 +0000)]
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
Lars Gullik Bjønnes [Thu, 9 Oct 2003 13:33:19 +0000 (13:33 +0000)]
remove some more debug noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7885
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Thu, 9 Oct 2003 13:27:51 +0000 (13:27 +0000)]
remove some debug noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7884
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 9 Oct 2003 10:52:12 +0000 (10:52 +0000)]
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
Lars Gullik Bjønnes [Wed, 8 Oct 2003 17:44:32 +0000 (17:44 +0000)]
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
Jean-Marc Lasgouttes [Wed, 8 Oct 2003 14:46:05 +0000 (14:46 +0000)]
small osx-related bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7881
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Wed, 8 Oct 2003 14:29:16 +0000 (14:29 +0000)]
* 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
Angus Leeming [Wed, 8 Oct 2003 11:31:51 +0000 (11:31 +0000)]
Fix a bunch of doxygen warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7879
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Wed, 8 Oct 2003 08:38:05 +0000 (08:38 +0000)]
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
Angus Leeming [Tue, 7 Oct 2003 22:59:58 +0000 (22:59 +0000)]
Add transformations to InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7877
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Tue, 7 Oct 2003 22:15:10 +0000 (22:15 +0000)]
Replace throw with throw_exception (which doesn't ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7876
a592a061 -630c-0410-9148-
cb99ea01b6c8