André Pönitz
6c300f72a2
move everything into namespace lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 00:16:43 +00:00
Lars Gullik Bjønnes
43b77ba2d7
Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14952 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-09 15:27:44 +00:00
Martin Vermeer
1a77233c5f
Add support for framed.sty
...
* src/LaTeXFeatures.C: add framed.sty
(const * simplefeatures[]: add framed.sty
(const LaTeXFeatures::getPackages): define shadecolor
* src/insets/insetnote.h
* src/insets/insetnote.C
(const init_notetranslator):
(InsetNote::setButtonLabel): add Framed and Shaded
(InsetNote::latex): add output
(InsetNote::validate): require framed.sty
* src/buffer.C
(BufferList bufferlist): new LyX version 246
* src/frontends/qt3/ui/QNoteDialogBase.ui: add
* src/frontends/qt3/QNoteDialog.C: add
* src/frontends/qt3/QNote.C
(QNote::update_contents): add framed, shaded
(QNote::apply): add framed, shaded
* src/LColor.[Ch]: add background colour for shaded
* lib/lyx2lyx/LyX.py: New version support
* lib/lyx2lyx/lyx_1_5.py: convert/revert
* lib/chkconfig.ltx: add framed.sty
* src/frontends/xforms/FormNote.C
(FormNote::build):
(FormNote::update): add FIXME
* src/frontends/gtk/GNote.C
(GNote::doBuild):
(GNote::update):
(GNote::apply): add FIXME
* development/FORMAT: document format increase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13993 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-03 16:46:27 +00:00
Lars Gullik Bjønnes
3b9338a3a8
Whitespace cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Georg Baum
02ab1bf675
fix math color inset UI and parsing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10083 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-17 14:35:19 +00:00
Angus Leeming
c9f9ba315c
Asger's exchanging of the class and struct keywords.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9502 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-19 15:03:31 +00:00
Lars Gullik Bjønnes
59413be9a0
clone NVI, other small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9295 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-23 23:04:52 +00:00
Lars Gullik Bjønnes
68b7ef25fb
simple ws changes only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8594 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-03 08:37:12 +00:00
Martin Vermeer
31c24b4002
New LColor::setColor
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8529 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 15:51:21 +00:00
Jean-Marc Lasgouttes
bed4cb9684
fix color nastiness
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8501 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 15:49:44 +00:00
Angus Leeming
1cad117882
Overhaul the branches code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8247 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-14 16:33:56 +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
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
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
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
Martin Vermeer
fd6cd728a3
The 'Branches' mega-patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7560 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-17 11:28:23 +00:00
Lars Gullik Bjønnes
f1ff990de7
Always use std::endl with lyxerr
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7481 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 11:30:30 +00:00
Angus Leeming
1c155241d8
Martin's changes to the Note inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7456 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 21:47:18 +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
André Pönitz
69cb723040
LColor::Pimpl
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6952 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-09 09:43:39 +00:00
John Levon
7b255e3760
s/tabular/table in lcolor
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6892 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 02:04:00 +00:00
Angus Leeming
47003fdee1
Scrap LColor mathcursor. Use only logical colours in mathed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6801 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-14 16:00:42 +00:00
John Levon
2431a4732a
the appendix patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6491 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 19:55:39 +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
John Levon
ae87b94515
The big change tracking patch. Changes from posted version :
...
1) abstract time_t into lyx::time_type
2) abstrace struct passwd into support/userinfo
3) make authorlist a per-buffer property instead of global
I will look at the paragraph breaking soon, in the meantime I opened a bug on bugzilla.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 19:18:01 +00:00
Angus Leeming
691568ea39
Minor bits 'n' bobs from Michael, J�rgen and Jean-Marc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-06 14:02:24 +00:00
Jean-Marc Lasgouttes
57e89ae2bf
compile fix in XPM image loader; fix opaque handling; remove warnings; fix turkish locale problems; add shortcuts to documents menu
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4661 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 21:17:10 +00:00
Angus Leeming
f68a2bfb91
Preview code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 21:24:15 +00:00
John Levon
2dabaa33de
font_metrics part 1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4203 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 14:34:32 +00:00
Lars Gullik Bjønnes
8283e978f8
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +00:00
Jean-Marc Lasgouttes
aa41b3033b
cleanups by john and andre
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:56:14 +00:00
Angus Leeming
47b06816be
Add LColor::graphicsbg and use it in the graphics and figure insets.
...
Ensures that a figure with a transparent colour can be viewed
easily if the LyX screen's background colour is dark.
Prevent deletion of the image file if no conversion is required.
This patch works like a charm with the (old) figinset. When testing
the graphics inset, however, I find that colour "None" in an XPM file
is displayed as black. I have no idea why. This appears to be true of
some other graphics viewers also. E.g., KDE 2's pixie displays "None"
as black but the venerable xv works fine.
Maybe it's my version of the xpm library, but v3.4.11 appears to be
right up to date.
Can people test on their machines and/or offer suggestions here?
Angus
p.s. You can test with the XPM files in lib/images. They will no longer
be deleted if you load them into LyX!
A.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2777 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 13:16:17 +00:00
Angus Leeming
b60c06df7e
Finally get round to replacing InsetInfo with the new collabsable InsetNote.
...
Functionality should be identical.
Yes, I know that it'd be nice to have a yellow button with black text, like
a PostIt note. Ma�ana!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2290 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 09:57:23 +00:00
Lars Gullik Bjønnes
6396f9a204
small changes read changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2221 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 11:11:10 +00:00
Lars Gullik Bjønnes
ec5d8718c5
mathed95.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2193 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 12:09:32 +00:00
Lars Gullik Bjønnes
76ef051b1c
LyX Drinkers United: patch 2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Angus Leeming
31b56dac80
In for a penny, in for a pound. Consistent use of // -*- C++ -*-
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2123 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 08:20:41 +00:00
Jean-Marc Lasgouttes
795225e72d
Qt2 compilation + LColor cleanup from John
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2092 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-05 17:05:51 +00:00
Lars Gullik Bjønnes
83acbbd523
update copyright year
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Jean-Marc Lasgouttes
c1d014c261
LColor cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2021 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-23 13:12:58 +00:00
Lars Gullik Bjønnes
47910a7a67
move more support functions into namespace lyx, small other changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +00:00
Jean-Marc Lasgouttes
87e0dfe896
Patches from Angus and John
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1260 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-06 09:49:54 +00:00
Lars Gullik Bjønnes
4e0d9a6048
patch from Angus and from Levon
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1247 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-29 19:18:28 +00:00
Lars Gullik Bjønnes
5ecd210835
patch from Levon
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1246 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-29 15:34:56 +00:00
Lars Gullik Bjønnes
977cf6160f
apply the patch from Angus
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1229 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-21 21:51:25 +00:00
Lars Gullik Bjønnes
360cdc0b9f
Angus patch, + allow to set cursor color + constify more local variables
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1226 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-21 15:46:13 +00:00
Lars Gullik Bjønnes
d1e95f33c4
compiling not tested. two patches from angus with some small fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1220 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-15 18:02:45 +00:00
Lars Gullik Bjønnes
e7401bd8f2
use more std::functors add some of my own, some change to fl_display etc. read the change log...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1102 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-11 21:06:43 +00:00
Lars Gullik Bjønnes
45a03f4f67
use the new sstream return non-pods as const, use string instead of char * in a lot of places
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1019 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-14 17:53:12 +00:00
Lars Gullik Bjønnes
f4b8943ebb
some nicer code...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@952 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-03 21:17:52 +00:00