Commit Graph

2318 Commits

Author SHA1 Message Date
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
Jean-Marc Lasgouttes
af558da34b fix qt2 compilation + lyx.spec update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2781 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 12:11:24 +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
Jean-Marc Lasgouttes
846ea78a7b Juergen class-change patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2779 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 10:41:09 +00:00
Angus Leeming
f05b2c68e5 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2778 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 13:18:47 +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
Jean-Marc Lasgouttes
ca3fd99573 fix typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2775 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 10:06:03 +00:00
Jean-Marc Lasgouttes
c4bac08bbb fix the po files debacle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2774 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 09:28:51 +00:00
Jean-Marc Lasgouttes
a80d5b2345 lyx.spec overhaul
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2773 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 09:27:22 +00:00
Dekel Tsur
bc5e92cb03 More symbols (mainly arrows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2772 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-19 17:22:34 +00:00
Dekel Tsur
aa32bf2dcb Check if font is available without loading the font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2771 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-19 16:36:39 +00:00
John Levon
72867958de compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2770 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-18 12:59:06 +00:00
Angus Leeming
6bbcb978c5 Set the bounds to the slider, so it updates during a spellchecking session.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2769 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-18 12:22:08 +00:00
Angus Leeming
59df20fcc6 The redesigned graphics dialog, some tweeks to the preferences and ref
dialogs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2768 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-18 10:58:35 +00:00
Jean-Marc Lasgouttes
870564775b one more helper method in Bufferparams
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2767 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-17 15:39:58 +00:00
Jean-Marc Lasgouttes
947ab6eaea remove trailing ... to Insert>Note
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2766 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-17 10:56:02 +00:00
Jean-Marc Lasgouttes
cf20528fd6 small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2764 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-17 10:35:32 +00:00
Jürgen Vigna
a2fcf4ed3e Darker background on new banner!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2763 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-17 10:18:31 +00:00
Angus Leeming
82d18e917b set minimum size to the main window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2762 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-17 09:16:09 +00:00
André Pönitz
02ec9422d0 use 'size_type' at least for container-like stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2761 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-14 14:05:57 +00:00
Angus Leeming
72cc3e1f65 Add "jpg" to list of recognized file extensions (from J�rgen Spitzm�ller).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2760 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-14 13:46:55 +00:00
André Pönitz
5ca510e4c5 Jean-Marc's patch, BUGS update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2759 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-14 11:03:41 +00:00
André Pönitz
520deae094 buglist update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2758 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 16:41:05 +00:00
André Pönitz
a4dab932ac Return UNDISPATCHED instead of FINISHED in the default branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2757 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 16:14:43 +00:00
Angus Leeming
0fa2f8db17 Graphics dialog fixes following Michael's suggestions.
Probably doesn't fix memory access problem.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2756 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 12:37:40 +00:00
Jean-Marc Lasgouttes
233aebda9a small fix to heb-article layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2754 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 12:26:36 +00:00
Angus Leeming
82ed71bfcb Ok, so I'm a donkey! Easy, easy fix to that ol' memory leak. (And it was
suggested days ago by Lars too :-()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2753 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 11:44:07 +00:00
Dekel Tsur
1bfe247634 Choose labels from other documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2752 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 09:57:06 +00:00
Angus Leeming
5fa24cd3b7 J�rgen Spitzm�ller's form_graphics patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2751 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 09:34:39 +00:00
André Pönitz
fac52d4746 small deco drawing stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2749 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 16:24:36 +00:00
Angus Leeming
a5f0a9f693 Fix uninitialised memory error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2748 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 16:18:22 +00:00
André Pönitz
26db643696 brush off the decoration drawing code a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2747 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 16:13:31 +00:00
André Pönitz
42c8e7bff9 don't draw \vec, \hat etc much wider than LaTeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2746 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 15:56:09 +00:00
André Pönitz
6c32034cce allow editing macro names using backspace while typing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2745 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 14:39:55 +00:00
André Pönitz
c740d233cc interpret a typed \#1 as math-macro-arg 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2744 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 14:31:18 +00:00
André Pönitz
e7209bd562 fix drawing glitch in MathMacroArg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2743 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 13:43:59 +00:00
André Pönitz
d9738adfd7 \hat & subscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2742 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 13:23:39 +00:00
Jean-Marc Lasgouttes
3367b31201 tentative fix to docclass combox problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2741 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 13:12:22 +00:00
André Pönitz
c50bd2b573 fix delimiter handling for \, |, and /
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2740 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 12:51:55 +00:00
Jean-Marc Lasgouttes
4a926f9785 update hollywood
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2739 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 12:22:56 +00:00
Jean-Marc Lasgouttes
43cb604df7 fix indexing first word in a list layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2738 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 10:41:25 +00:00
André Pönitz
0e0913d030 another parser fix (nested {} and \left..\right and \atop)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2737 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:58:25 +00:00
Angus Leeming
228b7a21b8 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2736 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:36:11 +00:00
Angus Leeming
798f00a0a8 Inset dialogs: remain connected to the inset on "Apply" by default, except
for the citation dialog which disconnects. Should be much more intuitive
behaviour again.

Non-inset dialogs (eg preamble): connect() on show, enabling the dialog to
act on an updateBufferDependent signal. Change buffer and the preamble
will update! (rather embarrassed that this bug crept in!)

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2735 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:35:25 +00:00
Angus Leeming
f093fd9b68 Fix spurious warning about a shortcut when the dialog is built.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2734 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:30:47 +00:00
Angus Leeming
10e81341c1 return SMI_VALID on input.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2733 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:29:46 +00:00
Jean-Marc Lasgouttes
bc188c5dab fixes to -version stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2732 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:19:35 +00:00
André Pönitz
e410a7e2a4 fix parser bug if \atop etc appear inside \left ... \right
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2731 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:17:46 +00:00
André Pönitz
445f2a9851 try to fix free memory leak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2730 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 07:51:53 +00:00