Commit Graph

65 Commits

Author SHA1 Message Date
Angus Leeming
e835c9477b Pimpl Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7719 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 11:24:33 +00:00
Angus Leeming
fd36f5ad76 Make buffer's member variables private; use accessor functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7717 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 09:47:59 +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
ecaf48dc26 Forward declare LatexRunParams in converter.h.
Remove #include "lyxrc.h" from encoding.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7700 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 23:36:02 +00:00
Angus Leeming
f239801ae3 Changes due to the removal of using directives from support/std_sstream.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7686 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 18:02:24 +00:00
Angus Leeming
236ea81bc5 Replace LString.h with support/std_string.h,
Lsstream.h with support/std_sstream.h,
support/LIstream.h with support/std_istream.h,
support/LOstream.h with support/std_ostream.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7685 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 17:23:11 +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
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
Lars Gullik Bjønnes
b881ed2d5a Use Buffer const reference in most placees possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7623 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 07:41:31 +00:00
Angus Leeming
0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +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
Lars Gullik Bjønnes
2e57f2ff0a rename Inset to InsetOld
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7360 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 21:20:24 +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
Alfredo Braunstein
468df2b583 some header insanity fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7028 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 13:54:09 +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
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
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
51ad0ec92f Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6242 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 12:33:33 +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
Lars Gullik Bjønnes
99d1627a47 dont use pragma impementation and interface anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +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
Lars Gullik Bjønnes
53274e31ec the string -> char patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5725 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 10:30:28 +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
Angus Leeming
eb5b07f615 Zombie-killer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5563 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-31 12:42:26 +00:00
Angus Leeming
160b147186 Nicer previews.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5434 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-17 15:56:42 +00:00
Angus Leeming
1eb8155fa0 This file is part of LyX, the document processor.
Licence details can be found in the file COPYING.

and thank God for sed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5211 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 15:14:23 +00:00
Angus Leeming
6fac1dc980 Really dull and boring header shit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 14:10:50 +00:00
Angus Leeming
3aa7e91a82 Modify the headers of files in src/graphics as discussed on the list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5206 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 11:31:30 +00:00
Angus Leeming
e742268ef9 Rename lyxpreview2ppm.sh as lyxpreview2bitmap.sh because the script now
takes an extra argument specifying the desired output format, ppm or png.
Qt users may want to change their preferences file to suit ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5205 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-04 11:56:45 +00:00
Angus Leeming
63dca538e9 Simplify code by telling gs to output bitmap files as %d, not %Nd where
N is some painfully specified integer.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5204 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-04 10:15:56 +00:00
Angus Leeming
a586cdcade Different compiler, new warning. Sorry for the noise.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5198 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 16:22:31 +00:00
Angus Leeming
fff79cf645 Fix crash reported by Norbert Koksch, using a hard-coded 5 digits (boo! hiss!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5197 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 16:15:03 +00:00
Angus Leeming
1ccc528e28 Activate the code using preview.sty 0.73. Ditch support for older versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5194 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 13:52:37 +00:00
André Pönitz
53cc89eed6 - parts of Lars' diff-6.diff
- move inline functions from buffer.h to buffer.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5038 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:18:21 +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
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
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
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