Commit Graph

1041 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
482c04ecca use more specific smart_ptr headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4183 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 01:16:37 +00:00
Lars Gullik Bjønnes
5296e9e995 change call to shared_ptr::reset, move some using declarations around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4181 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-21 23:50:36 +00:00
Lars Gullik Bjønnes
f15d44ccf4 pastesel.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4171 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-15 23:49:08 +00:00
Lars Gullik Bjønnes
c3221a5d49 bug338patch.gz
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4163 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 14:22:11 +00:00
Jürgen Vigna
a565711d08 Added missing initialization of first_after_edit variable in constructor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4162 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 11:11:02 +00:00
Lars Gullik Bjønnes
a4f506e427 insetcite.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4160 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:47:12 +00:00
Lars Gullik Bjønnes
308b9789ca samefile.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4157 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:19:05 +00:00
Jürgen Vigna
9e534c8750 Don't call edit() on not higly editable insets if we're just called edit().
In Highly editable inset we have to to enter it with the cursor (fix #387).


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


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4148 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-09 13:43:40 +00:00
Lars Gullik Bjønnes
fbccc15f8f return correct value
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4147 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-09 13:36:45 +00:00
Jürgen Vigna
3935a1afee Revert this change as it sneaked in and wasn't discussed yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4146 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-09 12:53:09 +00:00
Jürgen Vigna
49156f7362 Angus fix for resizing tabfolders on xforms 0.88.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4145 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-09 12:45:02 +00:00
Angus Leeming
d1899a14fc (Herbert): small read graphics inset bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4133 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-07 10:02:02 +00:00
Dekel Tsur
fab4e282c5 fix the problem with endfloat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4131 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-05 15:15:51 +00:00
José Matox
a743bb8db8 Docbook related stuff:
* Fixed several typos.
  * Protected emphasis inside code.


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4123 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-03 10:17:56 +00:00
Lars Gullik Bjønnes
bded6fd063 remove return arg from fullRebreak, fix last "Standards", new operaotr>> for lyxstring (might need more work), some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4108 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 22:17:09 +00:00
Angus Leeming
c72a67965a Whitespace ONLY!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4101 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 10:23:51 +00:00
Angus Leeming
030311739b (Herbert): enable successful export to LaTeX if the graphics file is
stored without extension.


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


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


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


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


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


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


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


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


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


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


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


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


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3787 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:36:03 +00:00
Angus Leeming
9fd0b17bd4 John's msg3.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3775 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 09:47:34 +00:00
Angus Leeming
13978291c4 Small clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3769 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 17:37:08 +00:00
Jürgen Vigna
0fd56e0359 Remove some showInsetCursor calls we don't really need (fix #106).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3764 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 14:53:21 +00:00
Lars Gullik Bjønnes
69013332e2 unification of all Makefiles.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3748 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 18:24:44 +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
a79ac1b5eb nothing really
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3721 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 23:03:17 +00:00
Jürgen Vigna
4be2b9b40f Force redraw of row if we changed (John's patch fix for #268)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3708 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 14:04:41 +00:00
Jürgen Vigna
c7fc42d88c A hack fix for #268.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3707 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 13:52:19 +00:00
Jürgen Vigna
471fe41fde Now hopefully fixed for updates in insets inside this inset text
(don't know why I missed this earlier fix #263).


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


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


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


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


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


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3582 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 13:25:03 +00:00
Lars Gullik Bjønnes
e6fe0de052 cleaner ld -r
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 22:57:44 +00:00
Angus Leeming
fae3fd8ab1 Herbert's graphics14.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3578 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 16:34:53 +00:00
Jürgen Vigna
a53810d986 Forgotten ChangeLog entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3577 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 15:36:15 +00:00
Jürgen Vigna
9443f625d8 Fix for #143. Changed handling of Font stuff for ERTInsets so that the
latex fonts are not really set but only displayed on screen. So we fixed
the problem of cut&paste in and out of ERT insets retaining the latex color
and font.


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

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

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

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

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

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

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

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

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

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

Angus


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3531 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 14:34:23 +00:00
Jean-Marc Lasgouttes
919b745fa6 fix insetert drupdate problems (bug #176); fix row breaking after protected chars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3529 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 10:37:28 +00:00
Jean-Marc Lasgouttes
f7d7339688 two small patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3527 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-12 10:01:52 +00:00
Angus Leeming
af7a06dd86 Finally! Herbert's fix to insetgraphics.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3520 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 13:04:38 +00:00
Angus Leeming
c68ee64ef9 You'll need this as well.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3519 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 13:03:28 +00:00
Angus Leeming
2a0dfc6137 Backout my fuck up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3518 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 12:41:42 +00:00
Angus Leeming
f4c86428a3 FormExternal patch from Rob,
graphics9 patch from Herbert.


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


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

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

Angus


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


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


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


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3319 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 16:07:07 +00:00
Jürgen Vigna
dde058d322 Update the toolbar if we unlock an inset (or change paragraph).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3317 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 15:32:11 +00:00
Jürgen Vigna
9a5f7d1fe4 Fixed rowbreaking for "character"-insets and ignore all paragraph attributes
when the cell is not fixed lenght in a tabular on LaTeX output!


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


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3297 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-06 19:34:30 +00:00
Jürgen Vigna
de78a7b2d6 Another fix to Undo/Redo code I hope we get nearer to perfection ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3296 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-04 16:03:53 +00:00
Jean-Marc Lasgouttes
1f2b361067 table selection fix from John; Here & wide figures fix from Michael K.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3284 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 13:31:12 +00:00
Lars Gullik Bjønnes
b922cdd796 2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* Makefile.am: added the new files to sources, removed layout.C

* layout.C: removed file

* layout.h: remove LYX_DUMMY_LAYOUT

* lyxtextclasslist.C (NumberOfLayout): do not special case dummy
layout.

* lyxlayout.[Ch]:
* lyxtextclass.[Ch]:
* lyxtextclasslist.[Ch]: new files

* include order changes to a lot of files, also changes because of
the six new files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3269 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 13:26:54 +00:00
Jürgen Vigna
9987ffaee8 More ascii-export fixes and when making copy of single tabular cells now the
data is copied as tab separated values to the clipboard (not when copiing the
whole paragraph!).


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


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


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


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


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


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


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


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


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

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

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


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


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


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


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3112 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 13:43:12 +00:00
Jürgen Vigna
08b1fdacad Fixed various bugs + John's form paragraph bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3111 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 12:58:59 +00:00
André Pönitz
d917d5b57b someone selling brown paperbags?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3107 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 17:00:55 +00:00
Jürgen Vigna
ba180d4089 Reduce Michael's buglist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3106 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 16:09:25 +00:00
Jean-Marc Lasgouttes
aa41b3033b cleanups by john and andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:56:14 +00:00
André Pönitz
10f096880f whitespace changes;
change *::pos_type into lyx::pos_type


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3087 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:34:16 +00:00
André Pönitz
3f1021344b more header disentangling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3082 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 18:03:23 +00:00
André Pönitz
cd6e293ed7 start reducing header file dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3080 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 16:42:04 +00:00
Jean-Marc Lasgouttes
85e30074c2 new alert code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +00:00
Jean-Marc Lasgouttes
02e190002b isInset patch from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3065 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-23 10:16:02 +00:00
Allan Rae
2cdf2dfc38 checkInsertChar() return values changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3058 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-22 07:29:54 +00:00
Jean-Marc Lasgouttes
fcc833018c latexfeatures path from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3041 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-19 15:34:11 +00:00
José Matox
ee7037edbb Fix several warnings regarding unused variable/arguments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3026 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-14 09:46:05 +00:00
Jean-Marc Lasgouttes
0b25c68c4b popup fixes from Juergen ; insetgraphics fix from Herbert ; menus fix from Andre ; allow ligature breaks in spellchecker and fix smart quote after protected space (from me)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3019 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 14:47:35 +00:00
Jean-Marc Lasgouttes
9d0ba3ddf2 cleanups from John and Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2995 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 13:44:48 +00:00
José Matox
83e7c2cff7 Improved support for docbook export in inset text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2975 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 13:22:43 +00:00
José Matox
c78d07c746 Fix the insetindex.C problem with gcc3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2967 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-06 15:32:43 +00:00
José Matox
45a5dda367 Added "using" statement that I missed yesterday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2961 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-03 11:43:23 +00:00
Dekel Tsur
743bb40061 insetexternal: Do not run update command if result file exists and is up to
date.


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


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


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


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


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


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

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

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

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

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

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

A.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2777 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 13:16:17 +00:00
Jean-Marc Lasgouttes
eec568d870 fix free memory read when pasting + some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2776 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 10:16:24 +00:00
Lars Gullik Bjønnes
271f8d7eec some mods I had in my local tree, mostly small stuff, perhaps minus the the Makefile changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2713 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-09 22:02:19 +00:00
Jean-Marc Lasgouttes
9359baacf8 bug fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2707 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 15:41:36 +00:00
José Matox
2470d9297d rename docBook method to docbook
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2681 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 11:02:09 +00:00
Dekel Tsur
0233b6753d Paragraph iterators
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2649 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-01 21:26:34 +00:00
Angus Leeming
613c9ec5ba Herbert's patch, part 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2558 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-20 13:42:29 +00:00
Lars Gullik Bjønnes
2652ad62f4 outstanding changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2551 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-19 13:13:47 +00:00
Dekel Tsur
ea37831cfb Few fixes for inserERT/insetNote
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2548 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-18 15:01:09 +00:00
Angus Leeming
10231c3538 John's patch resulting in grammatically correct but clumsy names for
the various lists of floats. Awaiting Dekel's fix to add a multilingual
plural to the float name ;-)


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


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2425 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 14:55:02 +00:00
Lars Gullik Bjønnes
7c984f40f2 some debug stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2421 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-05 22:12:27 +00:00
Lars Gullik Bjønnes
54e7ddb5d9 get rid of NO_LATEX, split some methods, small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2417 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 18:28:11 +00:00
Jürgen Vigna
0e9af0297f Some more small fixes. Hopefully we'll get there soon!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2412 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 13:09:59 +00:00
Lars Gullik Bjønnes
8254b16fd1 more latex conversion cases fixed, patch from Andre, more more funcs to lowercase, some debug output to look at...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2406 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 18:46:53 +00:00
Jürgen Vigna
aae301e9cd Update/cursor and drawing fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2405 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 14:55:06 +00:00
Jürgen Vigna
cc3955aa12 Fixes to various bug-reports.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2402 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 15:42:53 +00:00
Angus Leeming
25433c309d Paranoia check: make sure that there is no whitespace between the
citation keys.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2401 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 15:26:04 +00:00
Jürgen Vigna
a622bb6efa Added inline functionallity to InsetERT. Fixed cache.clear() problem in
InsetText. Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2393 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-31 09:53:40 +00:00
Lars Gullik Bjønnes
28f47d9c7e *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2392 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 22:14:45 +00:00
Angus Leeming
2e5de574e1 * John's maths patch,
* Baruch's second graphics patch,
* A few things to get stuff to compile on my machine --- Lars see the ChangeLog
in controllers; how do you get things to compile without a != operator?
Surely compilation dies in ControlInset, included in ControlFloat,
ControlMinipage.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2389 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 13:35:08 +00:00
Lars Gullik Bjønnes
e952d33e0b insetfloat work + stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2388 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 11:56:00 +00:00
Jean-Marc Lasgouttes
fd836612cb various fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2387 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 10:50:37 +00:00
Asger Ottar Alstrup
b8cad4ca9d More header file include dependency work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2386 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 17:39:01 +00:00
Asger Ottar Alstrup
da76673568 Reduced header file includes somewhat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2385 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 15:34:18 +00:00