Commit Graph

1335 Commits

Author SHA1 Message Date
Angus Leeming
50257b8690 Turn LyX into a singleton class. Kill the BufferView cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 21:30:23 +00:00
Angus Leeming
627f2c70fa Fix a bunch of doxygen warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7879 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 11:31:51 +00:00
Lars Gullik Bjønnes
44cd0fc9a1 The std::string mammoth path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Lars Gullik Bjønnes
8d098dcb56 New debugstream.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7832 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-26 14:27:20 +00:00
Angus Leeming
57a24ea912 Replace 'using namespace abc;' with 'using abc::xyz;'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7725 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 22:13:45 +00:00
Angus Leeming
ffdb0baea3 Get rid of trailing whitespace 'noise' in future patches for the
forseeable future.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7724 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 18:27:24 +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
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
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
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
Angus Leeming
90499e36a9 More 'standard conformant blurb' nonsense.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7573 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-19 10:04:35 +00:00
Jean-Marc Lasgouttes
e5a368b921 After all those hours of frustrating coding on tex2lyx, I decided that I would do easy things for a change. As a result, many new insets are supported, among which minipage; see the files text-*.tex for an idea of things that work now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7521 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-07 22:59:53 +00:00
Jean-Marc Lasgouttes
3a4b075285 finish tex2lyx depth support (hopefully); more things in .cvsignore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7515 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-06 22:47:22 +00:00
Alfredo Braunstein
635895783d compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7510 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 21:55:41 +00:00
Jean-Marc Lasgouttes
1c601f2477 make nesting work in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7509 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 21:46:51 +00:00
Jean-Marc Lasgouttes
c544107e32 architectural changes to tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7494 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 10:26:10 +00:00
Angus Leeming
271412de78 urg...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7451 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 14:41:59 +00:00
Angus Leeming
06683ddcdc Hide the fact that we re-generate those symbolic links brainlessly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7450 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 14:41:27 +00:00
Jean-Marc Lasgouttes
dd750828d5 * text.C (check_layout): \layout -> \begin_layout
(parse_text_in_inset): convenience function

	* tex2lyx.C (main): \the_end -> \end_document

	* preamble.C (end_preamble): update version number to 225

	* text.C (parse_text): replace test on "lyxcode" with test on
	LyXLayout::freespacing.
	(check_end_layout): new function, used to check whether we need to
	add an \end_layout


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7434 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 23:50:24 +00:00
Jean-Marc Lasgouttes
05e7faf4df forgot to save a file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7429 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:58:39 +00:00
Jean-Marc Lasgouttes
214a32a77d output \layout tags lazily
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7428 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:58:09 +00:00
Jean-Marc Lasgouttes
8ea43a75e2 tex2lyx support for english quotes; revert the layout format change because we are not ready for that yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7422 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:45:41 +00:00
José Matox
131eabe56c \layout -> \begin_layout and missing \end_layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7420 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:17:11 +00:00
Jean-Marc Lasgouttes
34215d69bc * text.C (parse_text): read environment from layout file too. Now,
all layout entries are supported (but many hacks remain); note
	that the nesting support is broken and will have to be completely
	redone

	* table.C (handle_tabular): make the output more similar to LyX
	and fix a little

	* text.C (output_layout): fix handling of optional argument
	(parse_text): small tweaks to make output format closer to lyx
	format; support \tableofcontents; fix/improve support for various
	special characters


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7417 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 14:06:04 +00:00
Lars Gullik Bjønnes
a16c8a8759 zlib stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7405 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 23:40:08 +00:00
Angus Leeming
8700a256d3 All day for not very much...
Well, Ok, tex2lyx now has reasonable values for the build_lyxdir,
system_lyxdir, user_lyxdir variables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7394 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 19:26:36 +00:00
Jean-Marc Lasgouttes
11edc2b194 tex2lyx improvments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7392 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 18:25:58 +00:00
Angus Leeming
a1a329fd24 Remove cruft spotted by Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7388 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:32:15 +00:00
Angus Leeming
926b68c0aa Remove hard coding of command layouts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7374 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 00:39:35 +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
Angus Leeming
399e7da435 Forgotten files ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7363 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 00:17:21 +00:00
Angus Leeming
812b659d89 Enable tex2lyx to read the LyX textclass and to use this info a little.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 00:15:38 +00:00
Lars Gullik Bjønnes
01b31c56c9 make lyx compile with gcc 3.4. remove some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7314 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 08:46:00 +00:00
André Pönitz
94da156183 handle 'well known' 'D' columntype
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7235 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-03 13:01:51 +00:00
André Pönitz
87dcf41b23 output special...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7234 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-03 12:33:47 +00:00
André Pönitz
6a970ad5d8 handle special columns
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7232 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-03 11:47:44 +00:00
André Pönitz
5552f4045f make tex2lyx lyxstring agnostic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7222 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 11:36:08 +00:00
André Pönitz
c9095d82d5 Joao's patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6976 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 07:22:16 +00:00
André Pönitz
0e9bd2e87d STRCONV() all over the place
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 16:24:49 +00:00
André Pönitz
4d1bbfdd26 whitespace + Inset::haveParagraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6876 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 08:46:17 +00:00
André Pönitz
00e9ff93fb some common structures in extra file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6857 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-25 15:54:29 +00:00
André Pönitz
2dc2d989a9 what's the difference between \\ and \tabularnewline ?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6846 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-24 16:59:39 +00:00
André Pönitz
c7a6b81cea lots of small improvements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6838 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-23 15:14:43 +00:00
Angus Leeming
56f831570c Kayvan's compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6833 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-20 18:38:29 +00:00
André Pönitz
c8d7cbd790 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6830 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-17 15:05:17 +00:00
André Pönitz
b580294d0b re-structure the beast
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6829 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-17 09:47:21 +00:00
André Pönitz
31ccf710a5 make Kayvan's compiler happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6827 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-17 06:22:07 +00:00
André Pönitz
4864347591 lots of small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6826 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-16 17:34:43 +00:00
André Pönitz
18b2115471 improved table handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6825 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-16 12:52:49 +00:00
André Pönitz
23c4aa98cd read \mbox, read $$
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6793 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-14 11:57:09 +00:00
Lars Gullik Bjønnes
064714a102 Remove the BufferView* arg from almost all LyXText class functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6519 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 16:25:00 +00:00
André Pönitz
7941e6e7c4 lots of small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6364 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 10:39:54 +00:00
André Pönitz
21448b2bf8 small changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6334 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 10:07:48 +00:00
André Pönitz
b366633564 small parser fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6326 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-03 17:49:26 +00:00
André Pönitz
9887588cfb some small improvements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6306 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-28 13:37:43 +00:00
Angus Leeming
76294ec07e Fix a minor irritation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6234 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 11:15:14 +00:00
André Pönitz
b99a5acc7f multicol; small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6211 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-20 17:05:54 +00:00
Angus Leeming
d02cff2442 Swap <sstream> for "Lsstream.h".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6208 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-20 14:57:32 +00:00
André Pönitz
d06a2364ef paragraph*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6185 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 14:30:26 +00:00
André Pönitz
cba2f737f1 fix crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6184 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 13:46:29 +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
Dekel Tsur
0a64d3427b Compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6134 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 21:07:47 +00:00
André Pönitz
920aae526a ignore \noun definition
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6132 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 18:28:55 +00:00
André Pönitz
b28c0da9ea add missing std::
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6131 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 18:17:27 +00:00
André Pönitz
4387747ba1 basic table handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6130 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 18:16:21 +00:00
André Pönitz
bfa935070c *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6127 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 14:57:27 +00:00
André Pönitz
789041753c *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6126 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 14:32:17 +00:00
André Pönitz
2ac6b01e8a *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6122 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 13:33:30 +00:00
André Pönitz
c4b38fc30e ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6121 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 13:21:32 +00:00
Jean-Marc Lasgouttes
8a5d04fd84 reverse last change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6120 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 13:19:41 +00:00
Jean-Marc Lasgouttes
b31e2bd782 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6119 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 13:07:00 +00:00
André Pönitz
a73f082689 167
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6118 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 12:05:31 +00:00
André Pönitz
64caeb1f50 745
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6117 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 11:34:23 +00:00
André Pönitz
59d1d704eb 751 to go
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6116 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 11:29:33 +00:00
André Pönitz
64dc940755 down to 822 errors on my thesis
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6115 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 11:20:38 +00:00
André Pönitz
220b42b63d more work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6114 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 11:09:22 +00:00
André Pönitz
84f1457439 finish reader/writer split
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6112 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 08:36:49 +00:00
André Pönitz
d8e147d2b8 split reading .tex from writing .lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6111 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 07:53:03 +00:00
André Pönitz
d33935be24 Angus' second patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6105 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 15:57:08 +00:00
John Levon
f3600e9f67 back out again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6103 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 13:56:50 +00:00
John Levon
1c64f01ea1 fix compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6102 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 13:48:48 +00:00
André Pönitz
141cd434ef Angus' changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6094 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 13:14:48 +00:00
André Pönitz
34e1b432e3 First shot at real code..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6091 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 12:37:27 +00:00
Angus Leeming
90c39dc7ad stop cvs complaining
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6090 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 12:05:15 +00:00
Angus Leeming
88a865b988 add a tex2lyx dir and empty Makefile.am to enable this thing to be happy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6086 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-10 19:22:29 +00:00