Commit Graph

87 Commits

Author SHA1 Message Date
Georg Baum
a956cc56e6 unicode: ditch another utf8 roundtrip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15865 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-11 20:59:04 +00:00
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
Jean-Marc Lasgouttes
0f51d7cabf better (and localizable) display of vertical spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9968 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-24 10:23:30 +00:00
Lars Gullik Bjønnes
342cdf4322 the convert patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9538 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-27 21:05:44 +00:00
Jürgen Spitzmüller
77384eb8f6 John Spray\'s off-by-one-fix for vspace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9235 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-14 10:20:11 +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
Jürgen Spitzmüller
b06de5044f The VSpace fixes (removal of VSPACE::NONE) from Michael and myself
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8168 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 14:16:27 +00:00
André Pönitz
e506fc5915 fix some compiler warnings
stick to LyX naming convention


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8120 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 17:31:46 +00:00
André Pönitz
3159d1a52e no need for three calls to update() in a row...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8080 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 13:43:44 +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
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
0f9678630c Remove all unnecessary #includes from header files.
Add them as appropriate to .C files.
Rename Voss as Vo�, Juergen as J�rgen and Spitzmueller as Spitzm�ller.
Happy compiling.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7701 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-07 01:45:40 +00:00
Angus Leeming
cba1fa5848 Add missing headers. With thanks to Martin...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7688 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 22:17:02 +00:00
Angus Leeming
91de22ef34 Strip 320 #includes from the files in src.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7684 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 16:31:30 +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
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
John Levon
4d440a1473 The row-painter patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 17:04:10 +00:00
John Levon
609f0b3321 2003-02-13 John Levon <levon@movementarian.org>
* text.h:
        * text.C:
        * text2.C: move hfillExpansion(), numberOfSeparators(),
          rowLast(), rowLastPrintable(), numberofHfills(),
          numberOfLabelHfills() ...

        * lyxrow.h:
        * lyxrow.C: ... to member functions here.

        * paragraph.h:
        * paragraph.C:
        * lyxtext.h:
        * text.C: remove LyXText::beginningOfMainBody(), and call
          p->beginningOfMainBody() directly. Move the check for
          LABEL_MANUAL into the latter.

        * text.h:
        * text.C:
        * text2.C:
        * vspace.C:
        * BufferView.h:
        * BufferView.C: make defaultHeight() be a free defaultRowHeight()

        * text.h:
        * text.C:
        * text2.C:
        * text3.C:
        * frontends/screen.C: move bv_owner private, introduce isTopLevel()
          to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6143 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 00:41:44 +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
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
Dekel Tsur
293767645f Fix LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5507 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 18:31:47 +00:00
André Pönitz
edc55ba120 Makefile.am:
BufferView2.C: remove file, move contents to...
BufferView.C: ... here

BufferView_pimpl.C:
factory.C: move more inset creation to factory

vspace.C: avoid direct usage of LyXText, ws changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5172 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 13:05:55 +00:00
André Pönitz
95d1d96798 whitespace changes to sync my tree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5082 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-23 11:47:03 +00:00
John Levon
ba29fec6bf some small cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4895 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 23:43:38 +00:00
John Levon
7072a496e2 build fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4869 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 00:54:20 +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
Angus Leeming
ac26e0c1cc Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4391 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-13 12:32:37 +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
Lars Gullik Bjønnes
2c3af1475e use exclicit temp var
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3639 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 13:21:31 +00:00
Jean-Marc Lasgouttes
d5c4ecc548 tentative fix for #177; small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3624 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 12:39:22 +00:00
Jean-Marc Lasgouttes
0957efa540 shut off warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3608 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 13:17:37 +00:00
Jean-Marc Lasgouttes
1120aa806c cleanups from John and Juergen, bib files parsing fix from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3586 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 10:50:48 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Jean-Marc Lasgouttes
0dd7fe4e06 fix loss of selection from John; some small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3500 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 16:43:54 +00:00
Jean-Marc Lasgouttes
f0a372d294 fix bug 175 (minipage in minipage); fix some warnings; apply external.diff from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3420 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 17:05:24 +00:00
Jean-Marc Lasgouttes
d8037e4bfd use real LyXLength for minipages; new method LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3412 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 23:09:31 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Lars Gullik Bjønnes
ff9b02aaba split vspace into smaller files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3136 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 23:47:06 +00:00
Lars Gullik Bjønnes
8d16724ee4 add operator for LyXGlueLength
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3133 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:39:57 +00:00
André Pönitz
2028cf6589 the cosmetical changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3125 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 14:57:15 +00:00
Jean-Marc Lasgouttes
cb52251ccf form para crash fix from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3102 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 11:04:31 +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
Jean-Marc Lasgouttes
c897a93ed7 cleanups from Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3075 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 11:08:43 +00:00
Jean-Marc Lasgouttes
873de089f0 add missing break statement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2889 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-15 16:05:08 +00:00
Angus Leeming
07db8683b6 Andr�'s patch to math.bind and Herbert's fix to vspace.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2882 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-15 10:30:32 +00:00
Jean-Marc Lasgouttes
e266fd847f more warnings go to /dev/null
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2831 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 15:31:59 +00:00
Angus Leeming
cec0dd19d0 Edwin's "about" patch + consistent use of Lsstream.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00