Lars Gullik Bjønnes
26efdc41b3
utilize the 3rd arg of the boost smart pointers, remove own adaptation of boost smart ptrs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5046 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 20:43:10 +00:00
Angus Leeming
8478e5dcfe
LaTeX can now find \input insets where the file has a relative path.
...
(Thanks to John for unwittingly informing me of the existance of input@path.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4920 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 11:16:54 +00:00
Angus Leeming
84bdbe2eac
Add a monitor to the previewed image of a \input-ed file, so that the
...
image is refreshed if the file changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4879 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 14:02:59 +00:00
Angus Leeming
7d1204efef
Add support for preview.sty 0.73, #ifdef-ed out.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4876 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 12:55:28 +00:00
Angus Leeming
61cf3f5884
Prepare for impending arrival of preview.sty 0.73 by adding "lyx" to the
...
list of options output to preview.sty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4862 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 13:31:48 +00:00
Angus Leeming
cc132995fa
Cache the BufferView as a weak_ptr; get rid of those horrible current_views.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:30:58 +00:00
Angus Leeming
984cbba504
* Mathed now caches the BufferView as a weak_ptr.
...
* PreviewedInset caches the LaTeX snippet.
* Further clean-up of mathed's preview code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4838 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 12:38:20 +00:00
Angus Leeming
d91ffd8d78
Previews for \input insets.
...
Refactor code common to InsetInclude and InsetFormula into a new
PreviewedInset class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4830 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 17:28:59 +00:00
Lars Gullik Bjønnes
043298544c
Rename strip to rtrim
...
Rename frontStrip to ltrim
Add new trim function.
modify source for this change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4801 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 22:50:13 +00:00
Lars Gullik Bjønnes
e39935204d
remove some unneeded version of functions from lstrings,
...
some gcc 3.2. minor compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
Lars Gullik Bjønnes
3c22b7dc3b
2002-07-22 Lars Gullik Bj�nnes <larsbj@birdstep.com>
...
* GraphicsConverter.C (build_script): take a ostream as a more
general argument than ostringstream.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4750 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 20:50:45 +00:00
Jean-Marc Lasgouttes
af9352a2e7
latest graphics jumbo patch from herbert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4741 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 12:36:41 +00:00
Jean-Marc Lasgouttes
1dc25c472f
time to recompile everything: I removed #include directives from headers here and there... Not sure what the net effect is, but it cannot be worse
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4736 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 21:21:06 +00:00
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