Jean-Marc Lasgouttes
1c52d8f898
toc support reorganization; changes to xform_helpers; aspect ratio patch from herbert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 15:51:07 +00:00
Jean-Marc Lasgouttes
3d5734b98f
do not define macro \LyX if we do not need it; small things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4724 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 16:42:15 +00:00
Jean-Marc Lasgouttes
7086f52fc8
small unimportant cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4723 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 15:25:41 +00:00
Jean-Marc Lasgouttes
f6fa515491
toggleInset improvement; make lyxpreview work out of the box (?); apply aspect ratio patch, with a part disabled (angus, help!)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4714 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-19 21:44:14 +00:00
Jean-Marc Lasgouttes
78c894f8ab
configure script fixes; compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4706 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 21:24:47 +00:00
Angus Leeming
6206e59009
File monitoring is Go!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4703 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 14:01:42 +00:00
Jean-Marc Lasgouttes
acb4e0a1d3
fix compilation; remove cruft in configure script (I may have removed too much, but we will readd them if needed)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4695 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 21:14:04 +00:00
Angus Leeming
ddb684f332
Disable direct loading of PostScript files by the xforms image loader.
...
Apply Herbert's patch removing special casing to deal with rogue PostScript
files.
Fix a few more comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4693 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:55:21 +00:00
Angus Leeming
f643df79a8
* Make the graphics files conform strictly to the Pimpl idiom by moving
...
the boost::signals into the relevant Impl classes and creating new,
publicly-accessible connect() methods.
* Const-ify all publicly-accessible methods, reflecting the fact that each
class contains only a const pimpl_ member variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4687 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 16:56:42 +00:00
Jean-Marc Lasgouttes
57e89ae2bf
compile fix in XPM image loader; fix opaque handling; remove warnings; fix turkish locale problems; add shortcuts to documents menu
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4661 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 21:17:10 +00:00
Angus Leeming
b676c4e77d
Small tidy up of preview code, part II.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4655 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 18:10:51 +00:00
John Levon
bc2f8994a2
remove getPixmap() from GraphicsImage
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4642 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 17:17:57 +00:00
Angus Leeming
16b928088f
Smart loading of image files for previews and for the graphics inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4638 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 11:08:46 +00:00
John Levon
d42a082c68
remove init_graphics()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4627 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 16:26:25 +00:00
Angus Leeming
a51e6d7cab
Fix ascent, descent info.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4585 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 10:32:31 +00:00
Angus Leeming
a0003fb2a8
New lyxrc variables for the preview stuff.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 09:09:37 +00:00
Angus Leeming
e3978fd3ee
Herbert's work-around to xforms image width for xforms <= 0.89.6.
...
Use boost::tie now that I've upgraded my compiler ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4568 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 13:39:46 +00:00
Angus Leeming
76cef13759
Spllng mistakes!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4562 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 09:31:39 +00:00
Angus Leeming
0746000cb7
Further clean ups.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4561 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 09:30:54 +00:00
Angus Leeming
a2d89110b9
Herbert's patch to extract font size info from the LaTeX class file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4558 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 18:25:30 +00:00
Angus Leeming
4eb4e9ba98
Internal clean-up.
...
Add "delayed" and "showlabels" options to invocation of preview.sty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4548 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 13:01:09 +00:00
Angus Leeming
156cb8ffdd
Store the temporary files in Buffer::tmppath.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4541 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-06 12:50:09 +00:00
Angus Leeming
627592dfc0
Remove all generated files that still exist (perhaps because the process was
...
curtailed before the images were loaded.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4540 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-06 12:38:44 +00:00
Angus Leeming
9e8b8fe2d8
Ensure that the metrics data is used by the correct image!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4539 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-06 11:36:11 +00:00
Angus Leeming
f68a2bfb91
Preview code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 21:24:15 +00:00
Angus Leeming
e5185674de
makeLaTeXFile has two variants that can be passed either a file name or an
...
ostream &.
Also passed an additional only_preamble parameter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4537 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 19:21:29 +00:00
Lars Gullik Bjønnes
de236c41d8
Changes to make RH-7.3 be able to run lyx.
...
Also changes to make gcc 3.1 compiled lyx exit cleanly after
above changes.
Move operator== out out InsetCommandParams.
Change some signals in GraphicsImage to function instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4535 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 17:45:35 +00:00
Jean-Marc Lasgouttes
4e2dae89d2
fix latex output for graphics file names containing "."; partly fix 381
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4508 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-01 14:31:57 +00:00
Angus Leeming
888532c465
Asymptotic approach to a well-designed graphics loader.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 11:22:56 +00:00
Angus Leeming
a31eb3b2df
std::auto_ptr -> boost::scoped_ptr and compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4490 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 16:57:59 +00:00
Angus Leeming
1bb197b5d4
Create a grfx::Loader class and so move large chunks of code out of
...
frontends/screen.C and insets/insetgraphics.C. Leave mathed/preview.C
untouched as an excercise for Andr� ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4489 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 14:15:08 +00:00
Angus Leeming
514156adbb
* Split the graphics loader into a frontend and a backend.
...
* Add frontend code to generate and display the pixmap to InsetGraphics.
* Add (much simpler) frontend code to the LyXScreen to show the splash screen
once more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4480 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 15:59:10 +00:00
Angus Leeming
fff706a248
Compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4430 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-19 10:39:57 +00:00
John Levon
481937ef95
Herbert's graphics diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4423 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 20:47:49 +00:00
Jean-Marc Lasgouttes
35de4638f7
fix flimage.h handling; xpm format patch from herbert; math delim drawing patch from martin
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4382 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 14:21:58 +00:00
John Levon
021ad027a9
refactor topCursorVisible() prototype a little. Compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4378 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 10:31:34 +00:00
John Levon
9699643848
New lyx_gui namespace. Some working out to be done still ..
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4377 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 09:47:10 +00:00
Angus Leeming
9548351ef8
Compaq cxx 6.5 will now compile lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4349 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 07:57:39 +00:00
Angus Leeming
fb29f01377
Rotate in the same sense as xdvi et al.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4343 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-06 08:56:21 +00:00
Lars Gullik Bjønnes
68e59b071f
2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>
...
* GraphicsImageXPM.C (newImage): fix () bug when using new.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4292 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 09:33:49 +00:00
Lars Gullik Bjønnes
78934e5ff4
2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>
...
* GraphicsImageXPM.C: SigC to boot::signals changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4291 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 09:31:05 +00:00
Lars Gullik Bjønnes
1e39473100
Switch from SigC signals to boost::signals
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
André Pönitz
53e01413db
missing entry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4266 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 13:05:46 +00:00
André Pönitz
551e3864c6
move inset related stuff from src/graphics to src/inset/
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4247 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-28 11:50:04 +00:00
John Levon
962a0c5585
font loader / color handler move
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4204 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 18:24:14 +00:00
Jürgen Vigna
20d61473cc
Enable compilation with lyxstring again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4198 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 10:39:34 +00:00
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
Angus Leeming
c83a7a13b8
Revert previous change as it's bollocks. Herbert, your infallibility is
...
no-more ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4103 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 11:12:02 +00:00
Angus Leeming
7d3e67edc5
(Herbert): use inBP rather than inPixels + further manipulation as this
...
prevents rounding errors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4102 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 10:38:31 +00:00
Angus Leeming
5632b2d03c
(John): Enable the libXPM-based loader to cope with "opaque" as a colour.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4083 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-29 09:12:26 +00:00