Commit Graph

57 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
45a8d5a93a Jo�o Assirati's lyxsocket patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7910 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 12:25:11 +00:00
Lars Gullik Bjønnes
6cebb34085 Get rid of LyXFunc::dispatch that takes a string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7898 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 00:38:09 +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
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
2e7ac7ca77 Rename EnumLColor as LColor_color.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7788 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 11:48:11 +00:00
Lars Gullik Bjønnes
83256c8f88 fix some namespace issues for gcc 3.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7770 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 11:03:20 +00:00
Angus Leeming
15dc5fa5d6 lyxfont.h no longer #includes LColor.h.
Change the LyXFont setXYZ member functions to return void, not LyXFont &.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7765 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:01:15 +00:00
Angus Leeming
a6ccea4f21 The EnumLColor patch, free of macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7759 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 15:20:22 +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
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
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
b538a4c8fe Strip out another 180 #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7675 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 13:15:43 +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
Alfredo Braunstein
5fb7795b10 Fix to Bug 1287 and Bug 1297
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7443 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 16:40:26 +00:00
Angus Leeming
cd16abc0fd Flying high and free...
The user_lyxdir is also now a function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7399 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 22:13:29 +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
43c6809ab4 Fix two loading-related bugs reported by Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7213 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-27 07:11:31 +00:00
Alfredo Braunstein
2d8eb4b9d4 take several functions out of BufferList, and split functionality
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7195 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-20 12:46:28 +00:00
John Levon
06c81c0ec4 fix the fix for bug 818. Hopefully. Damn I hate this stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7096 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-03 19:32:08 +00:00
Lars Gullik Bjønnes
4c16922aad shared-4.diff. Gui independant config.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6962 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-14 09:17:22 +00:00
John Levon
22451cf2a8 some reworking to allow Qt to successfully choose a serif default font
with fontconfig


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6655 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-31 02:59:34 +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
26d5907fbc Refactor xforms' colour handling code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6107 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 17:53:38 +00:00
Jean-Marc Lasgouttes
fec072f968 remove preamble and tooltips menu entries on qt2; small compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5855 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-18 14:24:32 +00:00
Angus Leeming
3e8298b9a4 Remove work-arounds for xforms < 0.89.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5817 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-16 11:38:21 +00:00
Jean-Marc Lasgouttes
866c57213a make error messages about unhandled X11 events GUI debug messages; use temp file when converting from a file to a file with same name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5751 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-29 15:51:17 +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
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
Angus Leeming
990007a012 Workaround for xforms bug, not hiding tooltip on dialog close.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5356 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-03 11:25:01 +00:00
Angus Leeming
02e9472374 doxygen fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5347 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-26 08:57:43 +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
John Levon
bab154eb92 fix dpi
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5036 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 16:42:41 +00:00
André Pönitz
c69f29dda7 move half of BufferView_pimpl::dispatch() to LyXText::dispatch()
which has its new home in text3.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5030 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 13:00:25 +00:00
Angus Leeming
c10dfd15cd * LyXView: the accessor methods now return a reference to the member
variables, not a pointer.
* WordLangTuple: you can forward-declare a return type you know ;-)
* Qt: get it to compile again, having broken it yesterday.
* Everything else? See above.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4957 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 14:40:38 +00:00
John Levon
2e218e3263 remove io callback on shutdown
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4811 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 22:35:43 +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
John Levon
d088ebfbae I hate ChangeLog conflicts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4790 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 18:15:33 +00:00
André Pönitz
6e1b894e38 add 'dec' to switch back to decimal output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4787 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 14:44:25 +00:00
John Levon
459dd32dc3 add lyx_gui::exit() so Qt doesn't have to busy loop, which was eating
CPU very badly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4748 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 18:56:04 +00:00
John Levon
e225bbd75e I fixed the two bugs (Very shallow in fact)
Please test the minibuffer, and report things that are broken. I
think things should still be working the same ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4713 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-19 20:56:31 +00:00
John Levon
98324cb046 dispatch changes ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4705 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 20:15:29 +00:00
Angus Leeming
c5e3aebca3 Compilation fix: give C_read_callback extern "C" linkage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4636 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 09:04:03 +00:00
John Levon
9f2722a944 xforms ? what xforms ?
ps WOO-HOO !!! Rock ON !


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4632 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-14 01:44:15 +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
John Levon
c17851a1d5 Move fontloader into lyx_gui stuff. Now Qt should compile out of the box
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4612 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 03:05:13 +00:00