Commit Graph

783 Commits

Author SHA1 Message Date
Jürgen Vigna
19ba6786a9 Fix recalculating of row dimensions on a zoom (fix #333).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4034 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 13:23:39 +00:00
Jürgen Vigna
3e12056da2 Don't enter the inset if we came from a row above and are one row over
the inset (#262).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4032 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 11:06:09 +00:00
Jürgen Vigna
0b0238d904 Fix not updating of paragaph dialog in some cases (fix #229).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4031 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 10:51:06 +00:00
Jürgen Vigna
a5e70bd5ef Change the layout also for the last selected paragraph and also if one of
the selected paragraphs does have a different layout.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4025 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 14:14:06 +00:00
Jürgen Vigna
78fd880838 Fixed compatibility read after Lars substitution from \\end_float with
\\end_inset.


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4021 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 09:47:08 +00:00
Lars Gullik Bjønnes
44cf1d0e18 fix a bitfield bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4020 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 21:05:37 +00:00
Jürgen Vigna
1eba5295d8 Losts of fixes to cursor handling with insets. Cursor up/down now can
transverse also inset if they are on it's way, Page up/down for InsetText
fixed (cleanly now as I finally understood the algorithm ;) This fixes some
non reported bugs, some in Michaels list, some reported on the mailing
list and #314 on our buglist.


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3990 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:59:03 +00:00
Jürgen Vigna
5a4fe1be41 Do BreakParagraph on an empty paragraph if it's flagged keepempty (fix #313).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3983 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 10:29:12 +00:00
Jürgen Vigna
0dd2eb7edd Update paragraph dialog on an insetUnlock.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3981 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 09:22:18 +00:00
Jürgen Vigna
9b6fc7b6c9 Clear the selection if we didn't find the searchstring (fix #310).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3980 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 09:02:21 +00:00
Jürgen Vigna
2588a92167 Simplified code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3979 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 08:31:06 +00:00
Jürgen Vigna
1dc3f4deb3 Give fullRow insets a full row width, small bugfix, force rebreak of row when
inserting an inset (fix #292 hopefully).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3978 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 08:22:16 +00:00
Angus Leeming
09f334338a (Herbert): add a new method, inBP, to LyXLength.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3974 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 18:36:18 +00:00
Jürgen Vigna
961c3ee574 Set iy() to the right value if we have an inset on pos which needs a full
row display (fix #262).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3971 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 14:22:39 +00:00
Jürgen Vigna
fe27c7bca9 reset font after read of an old float_type as this was the case in the old
code! (fix #324).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3970 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 13:51:47 +00:00
Jürgen Vigna
c55ff9a13d Fixed \foreignlanguage outputs and small fix to x return on ERTInsets Button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3969 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 13:35:03 +00:00
Jürgen Vigna
8f1a6ffaed Fix the cursor position to be on the end of the row before an inset which
needs a full row (#44).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3966 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 09:53:23 +00:00
Lars Gullik Bjønnes
a81d9e53d9 make distcheck work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3922 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-06 13:15:10 +00:00
Lars Gullik Bjønnes
fb46c0a1b5 try to always return true and see what happens...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3919 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-06 13:00:21 +00:00
Jean-Marc Lasgouttes
22ae5c8873 proper support for "List of XXX" insets; fix error when there is a list of algorithms but no algorithm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3903 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 14:39:55 +00:00
Lars Gullik Bjønnes
3c21de4132 add some missing typenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3886 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 07:04:28 +00:00
Angus Leeming
30180184cd Most translations should now work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3884 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 17:04:23 +00:00
Jean-Marc Lasgouttes
ce96d71421 minipage width compatibility fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3882 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 13:23:35 +00:00
Jean-Marc Lasgouttes
6d33dcd660 use env variables LYX_DIR_12x and LYX_USERDIR_12x; update man page
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3880 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 11:55:36 +00:00
Jürgen Vigna
5e3b849ce7 Some more fixes to selection, fitCursor calls for InsetText/Tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3864 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-29 15:49:45 +00:00
Jürgen Vigna
b45d1b31f5 Fixes to mouse handling in and outside a InsetText (fix #308, #309).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3863 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-29 12:24:50 +00:00
Jürgen Vigna
0cdd30b8f8 Fixed bug on toggling selection inside InsetText. (fix #???)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3862 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-28 16:09:58 +00:00
Jean-Marc Lasgouttes
0afa5607b7 fix some non-localizable strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3861 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-28 13:27:25 +00:00
Jürgen Vigna
be1bd533f3 Fix old tabularcode/ert compatibility read (fix #305).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3860 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-28 13:21:37 +00:00
Jean-Marc Lasgouttes
51d6846ecb small fixes to menu backend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3857 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 23:27:12 +00:00
Jean-Marc Lasgouttes
78f2a7a19e new classes from herbert, units patch from herbert, grace file export fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3853 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 12:27:17 +00:00
Jean-Marc Lasgouttes
bb704aeff6 fix stupid oversight in LibFileScript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3849 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 10:27:59 +00:00
Jean-Marc Lasgouttes
f28f62b420 parselog fixes, i18n fix, menu separator fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 00:05:28 +00:00
Angus Leeming
93fb0890fa Register file with CVS if it's in a CVS directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3834 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 12:11:43 +00:00
Lars Gullik Bjønnes
28a9daa060 reorder includes and some ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3828 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 22:07:48 +00:00
Jean-Marc Lasgouttes
34046e3c4d fix to #241 and #300 from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3827 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 17:00:04 +00:00
Angus Leeming
e4b8d67f26 Remove bloody irritating #error check.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3813 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 15:13:36 +00:00
Lars Gullik Bjønnes
5baf856e00 remove Pending debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3807 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 21:51:34 +00:00
Lars Gullik Bjønnes
8283e978f8 ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +00:00
Lars Gullik Bjønnes
48ba1f8323 ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:55:34 +00:00
Lars Gullik Bjønnes
7514c31edf drop the ld -r stuff, we gained nothing with it, other build optimizations gave us what we wanted; some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:49:07 +00:00
Jürgen Vigna
b15efeb111 Collapse the contents of multicolumn cells into one (fix #121).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3796 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 15:58:54 +00:00
Lars Gullik Bjønnes
35e1157317 Fix for bug: #260 special rules if partially linking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 19:06:32 +00:00
Jürgen Vigna
92904c615a Fix polling of selection request to not call the asString function every time.
Fixed a redraw problem for InsetGraphics (fix #271).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3787 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:36:03 +00:00
Jean-Marc Lasgouttes
f10227802b tentative fix for #190; other small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3782 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 21:42:50 +00:00
Jean-Marc Lasgouttes
a16b2c3ba9 a tiny changelog entry for a tiny patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3779 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 15:27:34 +00:00
Jean-Marc Lasgouttes
ff86a01601 remove LFUN_DEPTH; some small work on icons and menu reorganization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3776 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 11:17:46 +00:00
Allan Rae
dcebc194f4 fix #194
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3772 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 03:56:23 +00:00
Lars Gullik Bjønnes
55bb299483 dont delere recursively, return a value from event_cb
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3771 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 22:38:25 +00:00
Lars Gullik Bjønnes
c18a87393d dont abort on BadWindow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3770 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 22:10:58 +00:00
Jürgen Vigna
53e8fb6000 Fixed rules for setting left/right borders for multicolumns (fix #173).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3765 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 15:27:41 +00:00
Jürgen Vigna
961b1a47ed Find selection inside InsetText and always leave pasted text selected.
(fix #100, #35)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3763 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 13:47:37 +00:00
Jean-Marc Lasgouttes
d4bf4d0179 link fix for cygwin from Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3759 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-15 16:14:15 +00:00
Jürgen Vigna
e81a703cdc Fixed/Disabled code inserting InsetError in the wrong way (fix #129)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-15 15:28:25 +00:00
Jürgen Vigna
4b64a5f485 Fixed redraw problems after undo/redo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3754 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-14 15:28:44 +00:00
Jürgen Vigna
870b665955 Fix deleting of paragraphs after undo (fix #236).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3752 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-14 13:40:19 +00:00
Lars Gullik Bjønnes
2ff6a61669 use += operator for char append to string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3751 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-14 09:59:02 +00:00
Lars Gullik Bjønnes
ebd9146ddc use correct comparison
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3749 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 23:13:35 +00:00
Lars Gullik Bjønnes
8407bdc22f optimization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3747 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 18:23:38 +00:00
André Pönitz
9b3a4dc5fd remove unneeded LFUN_MATH_MACROARG
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3745 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 13:36:36 +00:00
Jean-Marc Lasgouttes
08bd49a344 lfun_core.diff, make insetgraphics inline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3743 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 13:24:51 +00:00
Lars Gullik Bjønnes
dd0277f83d ws changes and some cruft removal, slight cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3742 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 13:22:54 +00:00
Angus Leeming
ad6d9e444b Remove figinset_canvas cruft.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3741 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 12:25:35 +00:00
Lars Gullik Bjønnes
97ffd5e934 optimization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3736 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 18:11:49 +00:00
Lars Gullik Bjønnes
bae36d14f7 2002-03-12 Lars Gullik Bj�nnes <larsbj@birdstep.com>
bufferlist.h: doxy changes

bufferlist.C: ws changes

DepTable.[Ch] (ext_exist): place const in the right spot.

BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
resizeInsets.
call resizeInsets when the with BufferView changes.
adjust for protectedBlank removal
call updateInset if the insert went ok.

BufferView_pimpl.[Ch] (protectedBlank): remove func, use
instead.

BufferView2.C (ChangeInsets): remove warning add FIXME comment

BufferView.h: doxy change

Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@

lyxtextclass.C (operator[]): remove non-const version
out): remove non-const version


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3733 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 17:15:44 +00:00
Jürgen Vigna
6bb95ff114 Set layout informations on newly created paragraphs and don't resize InsetTexts
LyXText if we didn't create a new LyXText as it is not needed then.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3726 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 13:27:51 +00:00
José Matox
2ef98fba5b One line fix, to consider empty definitions (descriptions) for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3722 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 08:44:04 +00:00
Jürgen Vigna
45ca3f0c3c More wrong update fixes when we work inside an InsetTexts LyXText (fix #182).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3712 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 15:25:36 +00:00
Jürgen Vigna
a222bf08fa I reactivate the code to resize the InsetText on a resize event of the main
LyxText (this should fix #234 and #179).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3711 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 15:12:23 +00:00
Jürgen Vigna
1045951369 Fixed cursorPrevious for insettext (fix #60).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3709 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 14:33:52 +00:00
Angus Leeming
4fff141501 Give people a rational basis to describe what they dislike about tooltips!!!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3703 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 09:54:42 +00:00
Jürgen Vigna
2b24ca217f Fix updating inset inside insets (typically graphics after loading).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3701 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-08 11:42:30 +00:00
Lars Gullik Bjønnes
f3f601b0cf ascii export of paragraphs, fix small compile problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3699 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 18:59:07 +00:00
Jean-Marc Lasgouttes
61e89e29e1 fix uninitialized variable in insetexternal; espace ~ in \input@path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3694 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 16:03:36 +00:00
Angus Leeming
3b8b29831f remove redundant declarations of WorkAreai and other small things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3692 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 15:45:52 +00:00
Jürgen Vigna
06e5b9c0fb Fixed another undo buf (fix #256).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3687 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 11:58:19 +00:00
Lars Gullik Bjønnes
d02c34f1af handle unknown layouts better
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3686 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 11:08:25 +00:00
Lars Gullik Bjønnes
e72261c3db clear params
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3685 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 10:51:45 +00:00
Jürgen Vigna
9069560786 * CutAndPaste.C (cutSelection): another layout settings forgotten.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3684 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 10:22:42 +00:00
Lars Gullik Bjønnes
3173a2ee45 use layout default not layout from prev para
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3683 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 10:12:59 +00:00
Jürgen Vigna
ff8f704031 Fix bugs in minipage compatibility read (fix #240).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3681 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 16:02:51 +00:00
Lars Gullik Bjønnes
660732d74a handle missing layout gracefully when reading and writing lyx files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3678 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 14:24:34 +00:00
Jürgen Vigna
5c84aa9357 set layout for new paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3677 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 13:19:07 +00:00
Jürgen Vigna
dfcfccfc36 More fixes to InsetERT (hopefully the last ones for now).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3673 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 10:17:29 +00:00
Lars Gullik Bjønnes
26f07a39bc get rid of Paragraph::clear
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3672 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 23:02:37 +00:00
Jean-Marc Lasgouttes
1846e91782 fix crash when doing nothing (from John) and upgrade Martin in CREDITS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3669 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 16:18:02 +00:00
Lars Gullik Bjønnes
c49a1f8c07 fix set layout 0 problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3668 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 16:13:59 +00:00
José Matox
d228f08abd For linuxdoc and docbook:
* add empty methods to insetnote (as latex)
   * fix use of uninitialized varible in insetquote
   * fix standard style in layout files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3664 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 13:38:40 +00:00
Jürgen Vigna
a7a622e888 Fix the paste bug with different depths.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3661 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 10:53:46 +00:00
Jürgen Vigna
1ec8e312f4 Fixed Inset->File as inside insets (InsetTabular/InsetText) (fix #257).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3658 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 15:42:54 +00:00
Jürgen Vigna
f1b78fbf9f Fixed recalculate of multicolumns on screen (fix #150).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3656 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 11:26:17 +00:00
José Matox
427f6a68ff Fix to deal with the pernicious mixed content model in tables,
the exported docbook and linuxdoc output now is ugly but correct.
Included files final fix, now they work in all cases, with or
without temp directory.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3651 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 10:04:29 +00:00
Lars Gullik Bjønnes
8964835ac6 comment out some debugging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3650 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 01:06:37 +00:00
Lars Gullik Bjønnes
5bf11fc429 forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3649 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:26:22 +00:00
Lars Gullik Bjønnes
4b348558bb remove some debug stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3643 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 20:32:35 +00:00
Lars Gullik Bjønnes
b86565cfe5 fix calling of LaTeXFeatures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3641 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 19:09:56 +00:00
Lars Gullik Bjønnes
dbd7a961fc layout as string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Lars Gullik Bjønnes
2c3af1475e use exclicit temp var
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3639 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 13:21:31 +00:00
Lars Gullik Bjønnes
9c2fef3e5b qt2.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3635 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 23:09:05 +00:00
Jürgen Vigna
57bb1b916c Starting fixing multicolumns draw on screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3629 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 16:04:10 +00:00
Jean-Marc Lasgouttes
31538bd39e change the way kbd sequences are shown in minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3625 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 14:13:01 +00:00
Jean-Marc Lasgouttes
d5c4ecc548 tentative fix for #177; small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3624 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 12:39:22 +00:00
Angus Leeming
46c0f20d2a Fix Kayvan's make dist problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3619 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 09:25:42 +00:00
Angus Leeming
23a28bf25b Add a missing #include <cstdio> for sscanf.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3617 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 19:44:31 +00:00
Angus Leeming
eb6a0ad551 Upgrading of my xforms libs showed that lots of files thought they depended
on xforms. Further inspection showed that they didn't!
I've done nothing more than remove #include "lyx_gui_misc.h" here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 17:50:20 +00:00
Jean-Marc Lasgouttes
cfffe11571 new code for max depth; time to recompile your tree :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3611 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 15:07:11 +00:00
Jean-Marc Lasgouttes
4b07057b7e "ding-dong, the witch is dead!", says John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3609 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 14:06:24 +00:00
Jean-Marc Lasgouttes
0957efa540 shut off warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3608 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 13:17:37 +00:00
Jean-Marc Lasgouttes
b5fcf8a4b8 next try at fixing 214; dist bugfix from Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3602 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 10:43:24 +00:00
Jean-Marc Lasgouttes
6635cee7ce remove redundant code (from Martin)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3597 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 14:02:10 +00:00
Jean-Marc Lasgouttes
bf954a7bc3 patch against infinite depth from Martin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3593 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 11:36:20 +00:00
Angus Leeming
607ad8d3a7 The graphics inset now has:
* lazy loading (don't try and load the image until a request to draw it
  is received).
* asynchronous conversion to a loadable format.
* asynchronous loading if the image loader supports it (it doesn't).
* "simple" cropping, rotating and scaling (in that order) of the image
  on the LyX screen.
* display in color, grayscale or monochrome.

We also have a forked calls dialog, although it isn't very exciting
yet because only the graphics cache makes use of the forked call controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3591 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 09:59:52 +00:00
Jean-Marc Lasgouttes
1120aa806c cleanups from John and Juergen, bib files parsing fix from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3586 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 10:50:48 +00:00
Jürgen Vigna
635fea0855 Addressing #212 bloat of fileformat for tabulars. More than this I'm not
willing to do on this for 1.2.0. Anyway this reduces TableExamples.lyx from
107kb to 66kb.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3585 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 08:24:48 +00:00
Jürgen Vigna
96c10746aa Fixed by calling edit() before InsetButtonPress on locking the inset for
HIGHLY editable insets (fix #250).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3584 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 14:51:53 +00:00
Jürgen Vigna
82d23e8538 don't add an indent for paragraphs inside tabular cells (fix #208)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3583 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 14:11:32 +00:00
José Matox
5539328a35 Long tables fixed in docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3581 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-21 15:55:49 +00:00
Jürgen Vigna
a53810d986 Forgotten ChangeLog entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3577 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 15:36:15 +00:00
Jürgen Vigna
6f673aed8b Try to comment out the seemingly unneeded (and wrong) code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3572 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 11:00:00 +00:00
Allan Rae
028020876f variable name changes and comments to clarify what is happening. It really is quite simple.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3568 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-19 03:57:22 +00:00
Allan Rae
51b32d4984 the right fix for the invalid iterators (plural)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3567 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-19 03:16:10 +00:00
Angus Leeming
d0a3af12d9 Synching my tree with cvs.
I'm committing all the little, but uncontroversial, changes that have
built up in my tree. This will result in an almost total recompilation for
you all but will mean that things are less painfull when the other changes
go in!

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

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

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

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

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

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

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

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

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

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 19:13:48 +00:00
José Matox
834cd64152 Small fixes for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3565 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 17:33:14 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Angus Leeming
59e18b17ae We don't currently use fork anywhere (or if we do it's by mistake!), so
this patch strips down syscall.[Ch] so it now contains only the system
call interface. This interface is very, very simple! At the same time
I've taken the opportunity to remove syscontr.[Ch] and syssingleton.C,
again because they aren't used.

The rest of the changes are due to the change of name in the
Systemcall::Starttype enum. System is now Wait, and SystemDontWait is DontWait

Paves the way for resurrecting a proper forked calls controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3553 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 12:39:47 +00:00
Angus Leeming
d208f37600 Add a GRAPHICS type to the enum.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3552 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 12:33:19 +00:00
Jean-Marc Lasgouttes
919b745fa6 fix insetert drupdate problems (bug #176); fix row breaking after protected chars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3529 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 10:37:28 +00:00
Jean-Marc Lasgouttes
d1e32bd66c make inset-toggle work when cursor is inside inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3528 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-12 12:56:46 +00:00
Jean-Marc Lasgouttes
e369d83035 add a checkbox to current document in document list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3521 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 15:51:03 +00:00
Jean-Marc Lasgouttes
6b5a92d3d6 % is bullshit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3501 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 16:50:28 +00:00
Jean-Marc Lasgouttes
0dd7fe4e06 fix loss of selection from John; some small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3500 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 16:43:54 +00:00
Jean-Marc Lasgouttes
8e3456ec01 fix weird error message when a command is disabled ; fix switching buffer in xref dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3494 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-06 15:12:40 +00:00
Jean-Marc Lasgouttes
342932ad32 two patches from john
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3479 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 11:30:25 +00:00
Angus Leeming
f09619a7e8 Herbert's big graphics patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3446 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 09:26:24 +00:00
Dekel Tsur
7bc61e2195 Change the latex font names in order to match the names of type1inst.
Anyone who used these fonts, should recreate the fonts.dir
(you can use the lib/create_fonts_dir script)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3439 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-26 18:32:03 +00:00
Lars Gullik Bjønnes
bd82f1d334 fix for something similar to bug132, pluss some small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3429 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-21 12:16:56 +00:00
Jean-Marc Lasgouttes
804493f2c4 grey-out comboxes when they are disabled; disable toolbar layout combox when forceDefaultParagraph is true; enlarge a bit the toolbar tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3427 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-20 23:17:17 +00:00
Jean-Marc Lasgouttes
bd31d0cb5c fixes to biblio and insetgraphics from herbert; disable LAYOUT_PARAGRAPH when needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3423 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-20 16:07:42 +00:00
Jean-Marc Lasgouttes
34e27f8c26 fix bugs 200, 201, 196
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3421 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 20:24:04 +00:00
Jean-Marc Lasgouttes
f0a372d294 fix bug 175 (minipage in minipage); fix some warnings; apply external.diff from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3420 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 17:05:24 +00:00
Jean-Marc Lasgouttes
6e1817f7b6 fix compile problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3415 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-18 10:31:30 +00:00
Allan Rae
37cfca3ed6 need_break_row was wrong in my earlier patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3413 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-18 03:50:19 +00:00
Jean-Marc Lasgouttes
d8037e4bfd use real LyXLength for minipages; new method LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3412 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 23:09:31 +00:00
Jürgen Vigna
1e775a68c6 Fixed insetlocking-mechanism and PARAGRAPH_GOTO func.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3407 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 14:27:01 +00:00
Jean-Marc Lasgouttes
637e368f1c slovak support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3406 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 10:54:30 +00:00
Allan Rae
605797c1b4 John's scalable font message and preferences inner_tab rename patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3405 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 10:53:14 +00:00
Allan Rae
c686dbe87f John's pref.diff minus the bold inner tabfolder in Preferences; ShowMessage() to console if minibuffer unavailable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3401 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 06:43:34 +00:00