Commit Graph

635 Commits

Author SHA1 Message Date
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
Baruch Even
88821570ee Assume unknown formats are EPS, hacky solution before implementing a real one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2379 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 06:50:27 +00:00
Baruch Even
b82a6bd2ad Changed pdflatex conversion rules to use pdf images too.
Added epsi to be an alias of eps.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2378 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 06:04:20 +00:00
Angus Leeming
5f2e3c4c43 Baruch's graphics patch + some small tweaks to the buttoncontroller stuff
Kayvan's footnote patch
Added a "Buffer const *" parameter to InsetButton::getScreenLabel and all
daughter classes. Labels can now be tuned to suit, although non are yet.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2375 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-28 12:24:16 +00:00
Lars Gullik Bjønnes
bf6257967e small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2374 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 20:27:56 +00:00
Jean-Marc Lasgouttes
bdba99dcf9 selection improvement + inset quote fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2373 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 16:07:33 +00:00
Jürgen Vigna
8aa0eee33a Remove checkInsertChar in UpdatableInset as it should not be needed there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2370 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 13:10:03 +00:00
Jürgen Vigna
8c645df02b Remove unused font variable which caused a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2369 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 13:07:41 +00:00
Jürgen Vigna
d32d0cbb95 This should clean up the language stuff a bit and a small new check for
inserting characters in insets (forced font change) which does not work
as the method seems not to be called.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2366 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 12:03:36 +00:00
Angus Leeming
8e0e11f8ae Small clean-up of natbib code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2356 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 09:47:36 +00:00
Lars Gullik Bjønnes
c544988f28 handle missing parameters more gracefully
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2349 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 22:05:53 +00:00
Lars Gullik Bjønnes
e574fa4a0d merge po files, improve float reading
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2347 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 20:41:22 +00:00
Lars Gullik Bjønnes
57a2087d37 some ert fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2346 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 19:45:21 +00:00
Lars Gullik Bjønnes
74d58b9bd0 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2335 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 23:49:51 +00:00
Lars Gullik Bjønnes
b3df216d65 add files to extra dist
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2334 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 23:42:46 +00:00
Lars Gullik Bjønnes
3ce727041d simplificatons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2329 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 22:08:49 +00:00
Jürgen Vigna
fd054e60b1 Added copy constructor to inset.h and used it in most insets which permit
it. Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2323 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 15:07:09 +00:00
Jean-Marc Lasgouttes
cb8bb668e7 playing around with insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2315 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 10:13:19 +00:00
Lars Gullik Bjønnes
94c00c08a8 simplify rectText and buttonText add separate metric methods for these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2314 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 09:12:20 +00:00
Jürgen Vigna
37274eb840 Removed widthCollapsed variable, and LyXFont param from x_collapsed functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2306 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 13:44:23 +00:00
Jürgen Vigna
3ea708f4b6 Added support for changing label on collapsed InsetERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2305 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 12:47:25 +00:00
Jean-Marc Lasgouttes
f83fcb9382 small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2301 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 10:04:17 +00:00
Jean-Marc Lasgouttes
55bf6460f3 fix insertion of raw double quote, reading of Info inset, initial width of collapsed insets, insertion of index; better support for insetAllowed, for french quotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2300 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 09:11:14 +00:00
Jean-Marc Lasgouttes
e08f44aa7e fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2298 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 16:29:54 +00:00
Jürgen Vigna
7c0dad35b3 Implemented Search/Replace functionality for Insets. Cleaned up a bit.
Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2296 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 14:18:48 +00:00
Jean-Marc Lasgouttes
0adacb84ba rename hyphenation-break to ligature-break
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2294 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 13:04:36 +00:00
Angus Leeming
ce00d69629 Small things.
Make Jean-Marc happy by allowing the InsetNote to contain anything.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2293 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 12:40:38 +00:00
Angus Leeming
b60c06df7e Finally get round to replacing InsetInfo with the new collabsable InsetNote.
Functionality should be identical.

Yes, I know that it'd be nice to have a yellow button with black text, like
a PostIt note. Ma�ana!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2290 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 09:57:23 +00:00
Jean-Marc Lasgouttes
76a135cf07 a few small new features
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2289 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 09:38:19 +00:00
Angus Leeming
50b65ca806 Merge natbib branch into head
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2286 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-19 14:12:37 +00:00
Dekel Tsur
068a1dde5b Fix crash when running lyx -dbg insets -e ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2280 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-19 10:00:33 +00:00
Jean-Marc Lasgouttes
b15e539c68 partial inset toggling ; insetAllowed stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2277 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-19 08:52:59 +00:00
Jean-Marc Lasgouttes
7d4d2f9a1a latin9 update ; do not warn against xforms 0.89.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2273 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-18 16:33:26 +00:00
Jean-Marc Lasgouttes
9001135694 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2267 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-18 12:45:23 +00:00
Jürgen Vigna
6189f7ef55 Small fix for spellchecking in tabulars. Removed a check and put an assert
in LyXTabular::GetCellNumber.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2266 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-18 08:38:14 +00:00
Jürgen Vigna
2c5ab94d01 Implemented spellchecking inside insets. Small fixes. Baruchs fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2265 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 15:39:12 +00:00
Lars Gullik Bjønnes
efe0b0b8eb Dispatch->dispatch, some trans work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2254 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 15:42:57 +00:00
Baruch Even
1111df8541 Removed some unneeded casts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2249 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 14:42:40 +00:00
Jürgen Vigna
c4f841c1b2 Added lyxrc-flag to be able to select if I want use pspell or ispell if
pspell support is compiled in. Set shortcut of About-Dialog to ESC-key.
Small fix in InsetText.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2244 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 10:03:38 +00:00
Baruch Even
85570cb7d6 Added a copy c-tor by request from Lars and handled the same_id case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2243 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-14 20:11:35 +00:00
Angus Leeming
cec0dd19d0 Edwin's "about" patch + consistent use of Lsstream.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00
Jürgen Vigna
67de3b29bc Added const_casts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2233 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 10:26:31 +00:00
Jürgen Vigna
487f6eb3b4 Added various inset functions for Jean-Marc (see Changelog). Small fix in
cua bind-file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2228 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 14:35:38 +00:00
Jean-Marc Lasgouttes
491f68131a fix ert-insert icon
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2227 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 13:41:12 +00:00
Jürgen Vigna
8dc8a36370 This fixes a real bug in InsetText where it was possible to delete the
cached LyXText while we where working inside it (accessing of freed
memory!), small changes in the insetInsertAllowed functions to have
a better check where is what allowed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2225 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 12:26:06 +00:00
Lars Gullik Bjønnes
6396f9a204 small changes read changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2221 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 11:11:10 +00:00
Jean-Marc Lasgouttes
b33a63e177 implement open-stuff + small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2219 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-11 12:10:46 +00:00
Lars Gullik Bjønnes
bade84c1f8 better ert handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2213 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 23:12:04 +00:00
Jürgen Vigna
9d1ec63f05 Fixed crash when inserting mathed inset inside InsetERT + new devel banner.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2210 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 14:19:41 +00:00
Lars Gullik Bjønnes
f6c9132899 move getParFromID to Buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2207 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 09:16:00 +00:00
Lars Gullik Bjønnes
3aa411d883 make NO_LATEX default, set ut compability stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2205 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-08 12:52:16 +00:00
Jürgen Vigna
7521b5d20f The BIG UNDO patch. Recodes undo handling for better use inside InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2195 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 15:57:54 +00:00
Lars Gullik Bjønnes
f82d1cd90b use shared_ptr for chache and cached_text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2189 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-05 14:52:08 +00:00
Jürgen Vigna
d937d3459d Fixed releasing of TextCache in InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2185 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-05 08:29:36 +00:00
Lars Gullik Bjønnes
6627b6edde better placement handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2180 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-04 07:44:27 +00:00
Lars Gullik Bjønnes
7cb3b05491 change LyXScreen names to begin with lower case
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2179 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-04 07:19:09 +00:00
Lars Gullik Bjønnes
2292b739a2 use CutAndPaste static methods directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2176 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 15:39:17 +00:00
Lars Gullik Bjønnes
b9d61343fc text2 chane, XFormsView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2175 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 15:19:04 +00:00
Jean-Marc Lasgouttes
da7c04db11 do not include forms.h when not necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2172 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 13:04:32 +00:00
Angus Leeming
edfb92efa2 Added using directive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2171 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 11:02:12 +00:00
Lars Gullik Bjønnes
f52893a07d avoid multiple lookups and simplify slightly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2168 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 07:46:50 +00:00
Jürgen Vigna
6687595f9c Introduce a local cache to the getLyXText method for repetitive calls.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2167 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-02 15:29:23 +00:00
Jean-Marc Lasgouttes
41981acdb5 fix in formcharacter ; remove extra tabular duplication
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2163 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-02 14:12:18 +00:00
Lars Gullik Bjønnes
8eada76ac0 remove TEXT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2162 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 15:17:05 +00:00
Jean-Marc Lasgouttes
6bb4ea8c10 fix [foot|margin]note spacing in LaTeX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2161 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 14:01:29 +00:00
Jean-Marc Lasgouttes
ab254289c8 lyxstring compile fixes ; small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2159 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 11:54:39 +00:00
Lars Gullik Bjønnes
94c15c0ed7 lowercase.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2155 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 06:30:53 +00:00
Lars Gullik Bjønnes
85a5ea7bfc change a lot of methods to begin with small char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 10:25:20 +00:00
Lars Gullik Bjønnes
b1c4f8070f gcc 3.0 fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2146 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 15:33:55 +00:00
Lars Gullik Bjønnes
76ef051b1c LyX Drinkers United: patch 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Dekel Tsur
c789eecdba Fix validation of insets inside a float
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2140 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-22 10:55:15 +00:00
Jürgen Vigna
3eaf3246be Small fix and remove some warinings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2125 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 14:10:25 +00:00
Jürgen Vigna
0ba8b80b15 Fixed a bug when tabular was not redrawed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2124 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 10:44:21 +00:00
Angus Leeming
31b56dac80 In for a penny, in for a pound. Consistent use of // -*- C++ -*-
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2123 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 08:20:41 +00:00
Jean-Marc Lasgouttes
3f11b9242b shut off a warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2111 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-13 12:01:46 +00:00
Jürgen Vigna
389fa29ba5 Fixed one more "missing feature" for InsetText/Tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2098 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-07 14:51:20 +00:00
Jean-Marc Lasgouttes
795225e72d Qt2 compilation + LColor cleanup from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2092 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-05 17:05:51 +00:00
Lars Gullik Bjønnes
313252eb8b various changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-04 23:57:32 +00:00
Lars Gullik Bjønnes
ac114c3d50 fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2086 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 15:27:04 +00:00
Jürgen Vigna
e06bc73c22 InsetText/Tabular fixes (buglist from SF.NET)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2085 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 15:10:26 +00:00
Jean-Marc Lasgouttes
07ea5f51f0 compilation fixes for compaq cxx + small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2079 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 10:53:24 +00:00
Lars Gullik Bjønnes
a82f6b71b9 add support for wide floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2077 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 16:48:26 +00:00
Lars Gullik Bjønnes
f1d829a185 adjust to be able to complile with gcc 3.0, put selection vars into own struct, remove some C string funcs in favour of lstrings ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 02:23:46 +00:00
Lars Gullik Bjønnes
83acbbd523 update copyright year
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Jean-Marc Lasgouttes
4f594edad6 small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2053 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-29 12:40:26 +00:00
Lars Gullik Bjønnes
ee7a1321a7 better key handling, move some methods closer to caller, fix in lyxstring, change lyxsum to use istream_iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2032 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-29 09:50:02 +00:00
Jürgen Vigna
4bcf99c809 Various fixes to Tabular, InsetTabular and InsetText. Fixed left border for
multicolumn cells, fixed repaint and recalc issues of insets, fixed scrolling
of large tabulars, ADDED settings of fonts on selections, more minor stuff
I cannot remember right now, more to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2027 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-28 15:11:24 +00:00
Dekel Tsur
6b971d39b2 Add Ascii method to InsetCitation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2026 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-27 17:51:16 +00:00
Jean-Marc Lasgouttes
cdcb9b2cc0 os:: patch from Ruurd + bindings display fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2005 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-17 15:11:01 +00:00
Lars Gullik Bjønnes
15271fce07 small fix with footnote, use stringstream some more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1995 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-10 15:53:10 +00:00
Lars Gullik Bjønnes
8ac09fc110 use stringstream, remove some old footnote handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1990 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-08 17:08:44 +00:00
Lars Gullik Bjønnes
76ca534828 some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagraph::Clone
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1989 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-08 13:28:44 +00:00
Lars Gullik Bjønnes
352479f603 remove LyXParagraph Clone use newly added copy constructor instead, some whitespace changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1988 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-08 10:50:09 +00:00
Jean-Marc Lasgouttes
0124d8d292 compilation fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1986 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-04 13:17:01 +00:00
Lars Gullik Bjønnes
52153a589b floatlist work + handle lyxfuncs with args.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1984 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-04 10:36:36 +00:00
Jean-Marc Lasgouttes
407dc56e97 Kayvan --export fix ; Angus toolbar fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1983 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-03 15:38:24 +00:00
Lars Gullik Bjønnes
4c6091b63f remove !NEW_INSETS cruft
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1980 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-03 14:31:33 +00:00
Jürgen Vigna
ceeb10f1b0 Reinsert the changes Lars reverted!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1969 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-27 14:03:25 +00:00
Lars Gullik Bjønnes
fdc6082cfc hack for listof algorithm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1966 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-27 07:58:56 +00:00
Lars Gullik Bjønnes
a464b9b97d reversed jug-bug, will apply pieces later
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1958 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-26 17:47:40 +00:00
Lars Gullik Bjønnes
ec57ed1e96 call message more directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1951 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 17:33:01 +00:00
Lars Gullik Bjønnes
47910a7a67 move more support functions into namespace lyx, small other changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +00:00
Jürgen Vigna
c6e14e1536 Fixed setting cursor positions with mouse for TextInsets and CollapsableInsets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1947 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-20 14:54:25 +00:00
Jean-Marc Lasgouttes
1545079a48 insetquote fix ; basque splash update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1940 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-18 13:37:27 +00:00
Lars Gullik Bjønnes
df199d6d56 c++ casts, remvoe dead code, use LFUN_MESSAGE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1931 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 14:17:11 +00:00
Allan Rae
4e61c013f4 fix doxygen operation ; stop #warning causing errors on Sun CC 6.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1919 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 00:19:49 +00:00