Angus Leeming
fd8e0d71b8
Add a warning message if the file to contain the conversion script
...
cannot be opened.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7957 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 20:39:30 +00:00
Angus Leeming
78046794cc
Add a Buffer::fully_loaded member function, returning true only when
...
the file has been loaded fully. Used to prevent the premature generation
of previews and by the citation inset to prevent computation of
the natbib-style label.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 13:15:18 +00:00
Angus Leeming
e9e4ffb1d1
displayTranslator is now a function. No need to invoke setDisplayTranslator
...
explicitly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 21:50:33 +00:00
Angus Leeming
18b220ac99
No trailing whitespace left in src...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7904 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:43:15 +00:00
Angus Leeming
dff822442a
RenderButton, RenderGraphic and RenderPreview now have a common lineage.
...
Almost sane code ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7894 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 21:08:55 +00:00
Angus Leeming
760829360d
Towards saner generation of previews code. Yeah, I know. I wrote it in
...
the first place. I was younger then.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7888 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 23:14:30 +00:00
Angus Leeming
97a1af408e
Remove the inset and view member functions from PreviewedInset.
...
Ensuing changes elsewhere.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7887 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 19:27:07 +00:00
Angus Leeming
8ddfa9d784
Don't use the cached BufferView to get the Buffer when we have direct access
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7886 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 14:36:16 +00:00
Martin Vermeer
eb36b71ce3
add <string> and other small fixes to make
...
Lars' std::string patch compile with STLport.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7864 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 06:45:25 +00:00
Angus Leeming
5927128c94
Operator<< for BoundingBox.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7837 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-29 21:42:13 +00:00
Angus Leeming
9a3737148b
Re-add the RasterImage template.
...
Several small clean-ups of the InsetExternal code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7823 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 10:49:13 +00:00
Lars Gullik Bjønnes
08265598c5
some configure output changes, fix a new bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7798 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 16:02:54 +00:00
Angus Leeming
c319aee7c2
Fix InsetInclude properly. Data is now stored in an InsetCommandParams
...
var rather tahn that nasty kludge InsetInclude::Params. Functions
that need info about the Buffer are passed a 'Buffer const &' arg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7797 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-19 10:16:33 +00:00
Angus Leeming
19dcaa4391
Enable previewing of Include insets within insets within insets...
...
(Don't use a BufferView cache to supply the Buffer when you can just pass
'Buffer const &' instead, Angus.'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7789 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 13:13:49 +00:00
Angus Leeming
27a9cc2098
Small clean-up of the PreviewedInset interface.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7778 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:43:00 +00:00
Angus Leeming
4f0019dfd7
Separate interface from implementation; make GraphicsImage's pure virtual
...
functions private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7775 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:34:39 +00:00
Angus Leeming
0d54d6b74d
Remove #include "LColor.h" from inset.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7766 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:44:34 +00:00
Lars Gullik Bjønnes
cd03e2b7db
Get rid of lyxstring, remove usage of STRCONV.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7751 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 11:00:00 +00:00
Angus Leeming
9e4306d576
Consider all InProgressProcesses when ascertaining which ones to remove
...
from the list, not every other one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7741 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-14 19:59:52 +00:00
Lars Gullik Bjønnes
fcdb71906b
Change Assert to BOOST_ASSERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7722 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:25:35 +00:00
Angus Leeming
add8d29c5f
Convert uid_t, gid_t to int before calling tostr.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7709 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 14:55:15 +00:00
Angus Leeming
4c6e0fe422
Removed all redundant using directives from the source.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
0705dae8a3
Finish the task of removing all cruft from the header files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7703 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-07 21:25:37 +00:00
Angus Leeming
35b6b4c8d0
Move BufferView::ChangeInsets to the Pimpl. As a result, can remove
...
the #include "insets/inset.h" from BufferView.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7696 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 19:16:30 +00:00
Angus Leeming
fd579b22b1
Keep score of how many #includes have been removed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7671 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 09:25:42 +00:00
Angus Leeming
c9403be3b0
Strip redundant #includes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7669 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 03:10:30 +00:00
Angus Leeming
9475f44966
Move a #include out of the header file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7654 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 00:35:07 +00:00
Angus Leeming
3f50312db5
Be more specific that 'using lyx::support'.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7653 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 00:29:22 +00:00
Jean-Marc Lasgouttes
80d7f70dc3
move reading of bind files from lyxrc.C to kbmap.C; do not read bindings or menus when not using gui; move paper related enums to a new paper.h; remove dependency on bufferparams.h from lyxrc.h; small bugfix to tex2lyx; fix bad menu shortcut
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 23:04:39 +00:00
José Matox
00a58355dd
Rename arguments of makeLaTeXFile to a sane scheme.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7370 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 21:37:10 +00:00
Angus Leeming
0d4d71dfe6
Finish the migration from namespace grfx to lyx::graphics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7334 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 21:30:57 +00:00
Lars Gullik Bjønnes
fe390e9da1
namespace grfx -> lyx::graphics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7239 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-04 08:23:23 +00:00
Lars Gullik Bjønnes
92d522b7f1
introduce namespace lyx::support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
Angus Leeming
71f798da6e
If the graphics loader has a copy c-tor it should have copy assignment that does the same thing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7112 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-05 22:45:51 +00:00
Angus Leeming
c2933d528f
Make the new grfx::Loader copy c-tor work "in expected fashion". Sheesh that took some tracking down.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7106 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 15:14:42 +00:00
Angus Leeming
5b4e90488c
Add copy constructor.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7090 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-03 10:13:26 +00:00
Angus Leeming
8f89b71dba
Rename LatexRunParams::fragile as moving_arg.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 09:23:03 +00:00
Angus Leeming
453f294074
The free_spacing patch and fix to the mess that Rob discovered.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7019 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 08:59:47 +00:00
Angus Leeming
e1940902fe
Purely mechanical: move fragile into LatexRunParams.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7016 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 22:44:30 +00:00
Angus Leeming
e9d6c8c04c
The 'nice' changes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7013 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 21:10:22 +00:00
Angus Leeming
ccce6b9662
Pass struct LatexRunParams around a bit...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7008 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 18:59:10 +00:00
André Pönitz
dbef37d522
non-templated tostr in separate files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6955 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 14:36:24 +00:00
André Pönitz
d31244b5e2
The 'bformat' introduction
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 09:48:57 +00:00
Angus Leeming
e5b431516a
The file uses tostr, subst so #include lstrings.h explicitly.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6816 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-15 11:52:30 +00:00
André Pönitz
f566e7c604
Alfredo's patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6305 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-28 09:49:49 +00:00
Angus Leeming
0ee3291622
*** empty log message ***
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6284 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 15:44:01 +00:00
Angus Leeming
9790d38b16
Prevent a crash if the user is not using a tmp directory.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6283 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 15:42:18 +00:00
Angus Leeming
a5d37d9a44
Strip out the caching of the BufferView by PreviewedInset. Use the cache
...
of the parent inset instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6279 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 13:10:16 +00:00
Angus Leeming
a67816b728
Alfredo's patch to get rid of insets in the graphics code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6277 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 11:41:23 +00:00
Angus Leeming
5a6c9536f6
(Alfredo) strip BufferView out of the graphics code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6268 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 19:09:00 +00:00