Commit Graph

181 Commits

Author SHA1 Message Date
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
Angus Leeming
282037a2bc Move warning message inside the !success block.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6262 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 16:58:57 +00:00
Angus Leeming
9a33e5e4d2 Alfredo's patches to the forkedcall controller and to the graphics loader.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6256 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 15:17:53 +00:00
Angus Leeming
1e9a109c85 Use == not < with std::find.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6236 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 11:32:40 +00:00
Angus Leeming
ace7b30fb1 Alfredo's setPriority patch to the graphics LoaderQueue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6235 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 11:20:59 +00:00
Angus Leeming
546e14eb16 Alfredo's Loader Queue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6221 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 10:04:08 +00:00
Angus Leeming
534c2aa641 'Fix' preview generation when the inset is locked (read: hack).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5977 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-21 17:54:03 +00:00
Angus Leeming
1106989d36 Re-define the catch-all conversion format from XPM to PPM, although
personally I'm still of the opinion that people too lazy to define
their own get what they deserve ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5947 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-13 23:03:48 +00:00
Lars Gullik Bjønnes
9faba1beed dont dist non-existing files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5834 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-16 23:17:43 +00:00
Angus Leeming
61b80e2821 Forgot to commit these last time; no longer need the basic image loader.
Hurrah!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5818 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-16 12:46:45 +00:00
Lars Gullik Bjønnes
13349032cb ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 22:59:25 +00:00
Angus Leeming
e27f7329c9 Don't use "if [ $? -ne 0 ]"; personally, I blame JMarc ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5693 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-21 17:09:22 +00:00
Lars Gullik Bjønnes
6a1167adab STRCONV
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 02:12:42 +00:00
Lars Gullik Bjønnes
dd9b8de435 small changes
prepare for the STRINGCONV patch


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5572 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 00:15:56 +00:00