Whitespace, nothing but whitespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9131 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2004-10-26 21:16:44 +00:00
parent e5706b107d
commit eb00187fea
30 changed files with 1116 additions and 1116 deletions

View File

@ -319,7 +319,7 @@ translation percentage of at least 50%.
+----------------------------------------------------+ +----------------------------------------------------+
af am ar az be bg bs ca cs da de el en en_GB eo es af am ar az be bg bs ca cs da de el en en_GB eo es
4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68 4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68
et eu fa fi fr ga gl he hr hu id is it ja ko lg et eu fa fi fr ga gl he hr hu id is it ja ko lg
+-------------------------------------------------+ +-------------------------------------------------+
a2ps | [] [] [] () () | a2ps | [] [] [] () () |
@ -456,7 +456,7 @@ translation percentage of at least 50%.
+-------------------------------------------------+ +-------------------------------------------------+
et eu fa fi fr ga gl he hr hu id is it ja ko lg et eu fa fi fr ga gl he hr hu id is it ja ko lg
22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0 22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0
lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru
+-----------------------------------------------------+ +-----------------------------------------------------+
a2ps | [] [] () () [] [] [] | a2ps | [] [] () () [] [] [] |
@ -593,7 +593,7 @@ translation percentage of at least 50%.
+-----------------------------------------------------+ +-----------------------------------------------------+
lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru
1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63 1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63
sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu
+-----------------------------------------------------+ +-----------------------------------------------------+
a2ps | [] [] [] [] | 16 a2ps | [] [] [] [] | 16

View File

@ -6,7 +6,7 @@ We are glad to announce the release of LyX 1.3.0.
As with the previous major version 1.2.0, many things make this new As with the previous major version 1.2.0, many things make this new
release an exciting one. One of the major projects that has been going release an exciting one. One of the major projects that has been going
on behind the scenes is the so-called GUI-independence project. We are on behind the scenes is the so-called GUI-independence project. We are
glad to announce that version 1.3.0 shows the first results of this. glad to announce that version 1.3.0 shows the first results of this.
LyX now comes in two flavours: Qt-LyX and xforms-LyX! LyX now comes in two flavours: Qt-LyX and xforms-LyX!
Although this is the most visible change in version 1.3, this should not Although this is the most visible change in version 1.3, this should not
@ -18,12 +18,12 @@ http://www.lyx.org/ has to say on the subject:
LyX is an advanced open source document processor that encourages an LyX is an advanced open source document processor that encourages an
approach to writing based on the structure of your documents, not their approach to writing based on the structure of your documents, not their
appearance. LyX lets you concentrate on writing, leaving details of appearance. LyX lets you concentrate on writing, leaving details of
visual layout to the software. visual layout to the software.
LyX runs on many Unix platforms (including MacOS X), OS/2, and under LyX runs on many Unix platforms (including MacOS X), OS/2, and under
Windows/Cygwin. Note that all these ports use the same xforms interface Windows/Cygwin. Note that all these ports use the same xforms interface
and therefore need an X server. and therefore need an X server.
You can download LyX 1.3.0 here : You can download LyX 1.3.0 here :
@ -39,17 +39,17 @@ and it should shortly propagate to the following mirrors :
ftp://ftp.icm.edu.pl/vol/rzm0/lyx/stable/lyx-1.3.0.tar.gz ftp://ftp.icm.edu.pl/vol/rzm0/lyx/stable/lyx-1.3.0.tar.gz
Prebuild binaries (mainly rpms for linux distributions) should soon be Prebuild binaries (mainly rpms for linux distributions) should soon be
available at available at
ftp://ftp.lyx.org/pub/lyx/bin/1.3.0 ftp://ftp.lyx.org/pub/lyx/bin/1.3.0
If you find what you think is a bug in LyX 1.3.0, you may either If you find what you think is a bug in LyX 1.3.0, you may either
e-mail the LyX developers' mailing list (lyx-devel@lists.lyx.org), or open e-mail the LyX developers' mailing list (lyx-devel@lists.lyx.org), or open
a bug report at http://bugzilla.lyx.org a bug report at http://bugzilla.lyx.org
If you're having trouble using the new version of LyX, or have a question, If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/, and e-mail the LyX users' list first check out http://www.lyx.org/help/, and e-mail the LyX users' list
(lyx-users@lists.lyx.org) if you can't find an answer there. (lyx-users@lists.lyx.org) if you can't find an answer there.
Enjoy! Enjoy!
@ -77,15 +77,15 @@ Note also that the xforms library has been very recently updated to
version 1.0. This version has been released under the LGPL (Lesser version 1.0. This version has been released under the LGPL (Lesser
General Public License), and the availability of the source means that General Public License), and the availability of the source means that
many bugs that have been plaguing LyX have been fixed in xforms. You many bugs that have been plaguing LyX have been fixed in xforms. You
are advised to upgrade to xforms 1.0 to enjoy all these new fixes. are advised to upgrade to xforms 1.0 to enjoy all these new fixes.
In fact, LyX 1.3.0 no longer supports versions of xforms older than 0.89.5. In fact, LyX 1.3.0 no longer supports versions of xforms older than 0.89.5.
Moreover, support for xforms older than 1.0 will be removed in the next Moreover, support for xforms older than 1.0 will be removed in the next
release. You have been warned ;-) release. You have been warned ;-)
In most cases the dialogs have been designed to make it impossible to input In most cases the dialogs have been designed to make it impossible to input
invalid parameters. The exception to this rule is the input of length data. invalid parameters. The exception to this rule is the input of length data.
Power LaTeX users can still input obtuse "glue lengths", but the widgets are Power LaTeX users can still input obtuse "glue lengths", but the widgets are
highlighted in red if this input is invalid or incomplete. This visual highlighted in red if this input is invalid or incomplete. This visual
feedback makes it easy to see why LyX won't allow you to Apply your changes. feedback makes it easy to see why LyX won't allow you to Apply your changes.
** Gnome frontend ** Gnome frontend
@ -98,8 +98,8 @@ developer's list.
** Instant preview ** Instant preview
preview-latex is an emacs package for LaTeX that allows "instant previews" preview-latex is an emacs package for LaTeX that allows "instant previews"
of LaTeX code, so you can immediately see the visual rendering of the of LaTeX code, so you can immediately see the visual rendering of the
LaTeX in the document. Its project home page can be found at LaTeX in the document. Its project home page can be found at
http://sourceforge.net/projects/preview-latex. With the help of David http://sourceforge.net/projects/preview-latex. With the help of David
Kastrup, the author, LyX 1.3.0 can harness this functionality to Kastrup, the author, LyX 1.3.0 can harness this functionality to
allow instant previews in the LyX window of math equations and allow instant previews in the LyX window of math equations and
@ -116,7 +116,7 @@ a formula, showing the nesting by small purple decorations in the
formula itself and revealing the names of the nesting levels in the formula itself and revealing the names of the nesting levels in the
minibuffer. There is now native support for symbols from the wasy minibuffer. There is now native support for symbols from the wasy
package containing e.g. the zodiac symbols. New also is the internal package containing e.g. the zodiac symbols. New also is the internal
structure of font changes which are now proper "insets", just like structure of font changes which are now proper "insets", just like
anything else from a square root to an array. This not only simplifies anything else from a square root to an array. This not only simplifies
the code greatly but also allows the same editing tricks as for the the code greatly but also allows the same editing tricks as for the
"regular" math. However, it was not possible to tweak the visible "regular" math. However, it was not possible to tweak the visible
@ -138,8 +138,8 @@ trickery is not needed anymore. The most visible changes are the following:
** Reading old files ** Reading old files
LyX now has a new script lyx2lyx which enables the reading of any file LyX now has a new script lyx2lyx which enables the reading of any file
produced by LyX versions as old as 0.12. Work is in progress on files produced by LyX versions as old as 0.12. Work is in progress on files
created with LyX 0.10 (LyX 1.4 time-line) and still older files are created with LyX 0.10 (LyX 1.4 time-line) and still older files are
in the forge. Basically if lyx wrote it LyX will read it. :-) in the forge. Basically if lyx wrote it LyX will read it. :-)
There is also a strong demand to be able to read files produced by There is also a strong demand to be able to read files produced by
@ -153,11 +153,11 @@ to do such things, the filters to `downgrade' LyX files (from 1.3.0 to
equations if they are available (it is not necessary anymore to equations if they are available (it is not necessary anymore to
configure your font server). configure your font server).
- The Insert>Short Title allows the addition of an optional text - The Insert>Short Title allows the addition of an optional text
for section headings and captions that is designed to be used in for section headings and captions that is designed to be used in
tables of contents. tables of contents.
- The Insert>Float>Floatflt Figure menu item restores the ability - The Insert>Float>Floatflt Figure menu item restores the ability
to wrap text around an image which was present in 1.1.6 and to wrap text around an image which was present in 1.1.6 and
removed in 1.2.0 removed in 1.2.0

File diff suppressed because it is too large Load Diff

View File

@ -7,12 +7,12 @@ Quick compilation guide
These four steps will compile, test and install LyX: These four steps will compile, test and install LyX:
0) Linux users beware: if compiling the Qt frontend, you need 0) Linux users beware: if compiling the Qt frontend, you need
qt and qt-devel packages of the same version to compile LyX. qt and qt-devel packages of the same version to compile LyX.
1) ./configure 1) ./configure
configures LyX to your system. By default, LyX configures configures LyX to your system. By default, LyX configures
the xforms frontend, use --with-frontend=qt to build a Qt the xforms frontend, use --with-frontend=qt to build a Qt
version. You may have to set version. You may have to set
--with-qt-dir=<path-to-your-qt-installation> to succeed. --with-qt-dir=<path-to-your-qt-installation> to succeed.
2) make 2) make
@ -169,7 +169,7 @@ flags:
You can use this feature to install more than one version of LyX You can use this feature to install more than one version of LyX
on the same system. You can optionally specify a "version" of your on the same system. You can optionally specify a "version" of your
own, by doing something like : own, by doing something like :
./configure --with-version-suffix=-latestcvs ./configure --with-version-suffix=-latestcvs
Note that the standard configure options --program-prefix, Note that the standard configure options --program-prefix,

File diff suppressed because it is too large Load Diff

View File

@ -7,17 +7,17 @@ Qt/Mac library, and a custom application bundle.
You will need the MacOSX development tools. The procedure described You will need the MacOSX development tools. The procedure described
here builds LyX linked with a static Qt library. If you are using the here builds LyX linked with a static Qt library. If you are using the
tcsh shell, change the "export VAR=value" statements to tcsh shell, change the "export VAR=value" statements to
"setenv VAR value". "setenv VAR value".
1. Download the GPL-licensed Qt/Mac Free Edition library source code 1. Download the GPL-licensed Qt/Mac Free Edition library source code
from <http://www.trolltech.com/download/qt/mac.html>, untar in a from <http://www.trolltech.com/download/qt/mac.html>, untar in a
convenient directory, cd to the top of the Qt source hierarcy, and: convenient directory, cd to the top of the Qt source hierarcy, and:
export QTDIR=`pwd` export QTDIR=`pwd`
sudo gcc_select 3.3 sudo gcc_select 3.3
./configure -static -no-exceptions [for Panther, use "./configure -static -no-exceptions -lresolv"] ./configure -static -no-exceptions [for Panther, use "./configure -static -no-exceptions -lresolv"]
make make
rm lib/libqt.la rm lib/libqt.la
2. Download the LyX/Mac skeleton from 2. Download the LyX/Mac skeleton from
@ -25,7 +25,7 @@ convenient directory, cd to the top of the Qt source hierarcy, and:
unpack it in /Applications. Change the references to "1.4.0" in unpack it in /Applications. Change the references to "1.4.0" in
/Applications/LyX.app/Contents/Info.plist to reflect the current /Applications/LyX.app/Contents/Info.plist to reflect the current
version number. version number.
3. Using the same terminal session you used to build the Qt library, 3. Using the same terminal session you used to build the Qt library,
cd to the top of the LyX source hierarchy, and: cd to the top of the LyX source hierarchy, and:

View File

@ -191,7 +191,7 @@ SET LANGUAGE=de_DE rem german menus and messages
of Warp, I recommend: of Warp, I recommend:
1) In filenames use only A-Z, a-z, 1-9. 1) In filenames use only A-Z, a-z, 1-9.
2) Use a recent LaTeX package inputenc.sty. Select 2) Use a recent LaTeX package inputenc.sty. Select
Layout->Document->Encoding:latin1, so that LyX adds Layout->Document->Encoding:latin1, so that LyX adds
the LaTeX command '\usepackage[latin1]{inputenc}'. the LaTeX command '\usepackage[latin1]{inputenc}'.

View File

@ -19,7 +19,7 @@
* delim.xbm: * delim.xbm:
* delim1.xpm: Redesign of Delimiters dialogue in mathed. * delim1.xpm: Redesign of Delimiters dialogue in mathed.
Cleaner, smaller. Cleaner, smaller.
2002-06-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr> 2002-06-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* delim1.xpm: new file * delim1.xpm: new file
@ -54,7 +54,7 @@
2002-03-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr> 2002-03-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* style.xbm: * style.xbm:
* font.xbm: * font.xbm:
* deco.xbm: remove first, empty line (again!) * deco.xbm: remove first, empty line (again!)
2002-03-07 Martin Vermeer <martin.vermeer@hut.fi> 2002-03-07 Martin Vermeer <martin.vermeer@hut.fi>

View File

@ -88,7 +88,7 @@ IE-mail: ron@18james.com
@bHartmut Haase (HHa) @bHartmut Haase (HHa)
@iE-mail: hha4491@atomstromfrei.de @iE-mail: hha4491@atomstromfrei.de
German translation of the documentation German translation of the documentation
@bHelge Hafting @bHelge Hafting
@iE-mail: helgehaf@aitel.hist.no @iE-mail: helgehaf@aitel.hist.no
Norwegian documentation and localization Norwegian documentation and localization
@bClaus Hentschel @bClaus Hentschel
@ -162,7 +162,7 @@ IE-mail: ron@18james.com
Qt2 frontend, GUII work, bugfixes Qt2 frontend, GUII work, bugfixes
@bLing Li @bLing Li
@iE-mail: ling@caltech.edu @iE-mail: ling@caltech.edu
added native support for \makebox to mathed. Several bug fixes, added native support for \makebox to mathed. Several bug fixes,
both to the source code and to the llncs layout file. both to the source code and to the llncs layout file.
@bJosé Matos @bJosé Matos
@iE-mail: jamatos@novalis.fc.up.pt @iE-mail: jamatos@novalis.fc.up.pt

View File

@ -2,18 +2,18 @@
# ================================================================== # ==================================================================
# #
# LyX, the High Level Word Processor # LyX, the High Level Word Processor
# #
# Copyright (C) 1995-1997 Asger Alstrup & The LyX Team # Copyright (C) 1995-1997 Asger Alstrup & The LyX Team
# #
# ================================================================== # ==================================================================
# #
# This is the Mac flavour bind file for LyX/Mac 1.4.x, based on # This is the Mac flavour bind file for LyX/Mac 1.4.x, based on
# bindings found in the Mac world. # bindings found in the Mac world.
# #
# DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced # DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
# with every new install of LyX and your changes will be lost. # with every new install of LyX and your changes will be lost.
# Instead, customize a copy of this file placed in # Instead, customize a copy of this file placed in
# ~/.lyx/bind/. # ~/.lyx/bind/.
# #
# Happy tuning! # Happy tuning!
@ -113,7 +113,7 @@
\bind "S-M-Up" "paragraph-up-select" \bind "S-M-Up" "paragraph-up-select"
\bind "S-M-Down" "paragraph-down-select" \bind "S-M-Down" "paragraph-down-select"
\bind "S-C-Left" "line-begin-select" \bind "S-C-Left" "line-begin-select"
\bind "S-C-Right" "line-end-select" \bind "S-C-Right" "line-end-select"
\bind "S-Prior" "screen-up-select" \bind "S-Prior" "screen-up-select"
\bind "S-Next" "screen-down-select" \bind "S-Next" "screen-down-select"
\bind "S-C-Up" "buffer-begin-select" \bind "S-C-Up" "buffer-begin-select"
@ -132,7 +132,7 @@
\bind "S-M-KP_Up" "paragraph-up-select" \bind "S-M-KP_Up" "paragraph-up-select"
\bind "S-M-KP_Down" "paragraph-down-select" \bind "S-M-KP_Down" "paragraph-down-select"
\bind "S-KP_Home" "line-begin-select" \bind "S-KP_Home" "line-begin-select"
\bind "S-KP_End" "line-end-select" \bind "S-KP_End" "line-end-select"
\bind "S-KP_Prior" "screen-up-select" \bind "S-KP_Prior" "screen-up-select"
\bind "S-KP_Next" "screen-down-select" \bind "S-KP_Next" "screen-down-select"
\bind "S-C-KP_Home" "buffer-begin-select" \bind "S-C-KP_Home" "buffer-begin-select"

View File

@ -2,7 +2,7 @@
* lyx2lyx: moved code to LyX module making effectively lyx2lyx and * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
interface to the LyX module. interface to the LyX module.
* LyX.py: white space changes. New class that serves as the basis * LyX.py: white space changes. New class that serves as the basis
to two derived classes. One for reading and another for new files. to two derived classes. One for reading and another for new files.
New function get_toc, to be used in Doc_toc.py in the New function get_toc, to be used in Doc_toc.py in the
@ -165,7 +165,7 @@
2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de> 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* lyx2lyx: up the format to 232. * lyx2lyx: up the format to 232.
* lyx2lyx: up the format to 231. * lyx2lyx: up the format to 231.
2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de> 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
@ -208,7 +208,7 @@
2003-12-19 Angus Leeming <leeming@lyx.org> 2003-12-19 Angus Leeming <leeming@lyx.org>
* lyxconvert_227.py (convert_collapsable): * lyxconvert_227.py (convert_collapsable):
* lyxrevert_228.py (convert_collapsable): a more robust method of * lyxrevert_228.py (convert_collapsable): a more robust method of
finding the collapsed status. finding the collapsed status.
@ -290,4 +290,4 @@
* lyxconvert_223.py: * lyxconvert_223.py:
* lyxconvert_224.py (convert_minipage): move funtion to its right place. * lyxconvert_224.py (convert_minipage): move funtion to its right place.
(convert_breaks): convert line and page break, at bottom and top. (convert_breaks): convert line and page break, at bottom and top.

View File

@ -457,7 +457,7 @@ def revert_end_document(file):
# New: # New:
#\begin layout Standard #\begin layout Standard
# #
#\newpage #\newpage
# #
#\lyxline #\lyxline
#\begin_inset VSpace xxx #\begin_inset VSpace xxx
@ -472,12 +472,12 @@ def revert_end_document(file):
# #
#\begin_inset VSpace xxx #\begin_inset VSpace xxx
#\end_inset #\end_inset
#\lyxline #\lyxline
# #
#\newpage #\newpage
# #
#\end_layout #\end_layout
def convert_breaks(file): def convert_breaks(file):
i = 0 i = 0
while 1: while 1:
i = find_token(file.body, "\\begin_layout", i) i = find_token(file.body, "\\begin_layout", i)
@ -519,7 +519,7 @@ def convert_breaks(file):
# Create an empty paragraph for line and page break that belong # Create an empty paragraph for line and page break that belong
# above the paragraph # above the paragraph
if pb_top !=-1 or line_top != -1 or vspace_bot != -1: if pb_top !=-1 or line_top != -1 or vspace_bot != -1:
paragraph_above = ['','\\begin_layout Standard','',''] paragraph_above = ['','\\begin_layout Standard','','']
if pb_top != -1: if pb_top != -1:
@ -544,7 +544,7 @@ def convert_breaks(file):
return return
if pb_top !=-1 or line_top != -1 or vspace_bot != -1: if pb_top !=-1 or line_top != -1 or vspace_bot != -1:
paragraph_bellow = ['','\\begin_layout Standard','',''] paragraph_bellow = ['','\\begin_layout Standard','','']
if line_bot != -1: if line_bot != -1:
@ -1540,7 +1540,7 @@ def convert(file):
if file.end_format == file.format: if file.end_format == file.format:
return return
def revert(file): def revert(file):
table = { 236: [use_x_binary], table = { 236: [use_x_binary],
235: [denormalize_papersize, remove_begin_body,remove_begin_header, 235: [denormalize_papersize, remove_begin_body,remove_begin_header,

View File

@ -20,7 +20,7 @@ commands (see the Syntax Files section of the man page). Also, if you have
an underscore in a file name, you have to use the LaTeX style of \input. That an underscore in a file name, you have to use the LaTeX style of \input. That
is, write "\input{a_b}" instead of the old TeX style "\input a_b" (even though is, write "\input{a_b}" instead of the old TeX style "\input a_b" (even though
the latter is legal LaTeX). If \includegraphics can't be copied for various the latter is legal LaTeX). If \includegraphics can't be copied for various
reasons (see the reLyX man page), underscore will break. Finally, reasons (see the reLyX man page), underscore will break. Finally,
\label{foo_bar} in math mode will break. \label{foo_bar} in math mode will break.
- Complicated nesting could confuse matters. Simple nesting, including nesting - Complicated nesting could confuse matters. Simple nesting, including nesting
@ -49,7 +49,7 @@ math mode. Write \mathbf{foo} explicitly in the LyX file instead.
a reference to "Dr." in the LyX file, with an extra "foo}" printed as a reference to "Dr." in the LyX file, with an extra "foo}" printed as
regular text regular text
- \end or \begin in a \newcommand, for example, will really confuse reLyX, - \end or \begin in a \newcommand, for example, will really confuse reLyX,
because they're not being used for their regular purpose of starting or because they're not being used for their regular purpose of starting or
ending an environment. Put the \newcommand in the preamble to avoid this ending an environment. Put the \newcommand in the preamble to avoid this
problem. problem.

View File

@ -364,7 +364,7 @@ void BufferView::Pimpl::setBuffer(Buffer * b)
// hidden. This should go here because some dialogs (eg ToC) // hidden. This should go here because some dialogs (eg ToC)
// require bv_->text. // require bv_->text.
owner_->getDialogs().updateBufferDependent(true); owner_->getDialogs().updateBufferDependent(true);
} }
update(); update();
updateScrollbar(); updateScrollbar();

View File

@ -1095,7 +1095,7 @@ void Buffer::makeDocBookFile(string const & fname,
preamble += "<!ENTITY % output.print.eps \"IGNORE\">\n"; preamble += "<!ENTITY % output.print.eps \"IGNORE\">\n";
preamble += "<!ENTITY % output.print.bmp \"IGNORE\">\n"; preamble += "<!ENTITY % output.print.bmp \"IGNORE\">\n";
} }
string const name = runparams.nice ? ChangeExtension(pimpl_->filename, ".sgml") string const name = runparams.nice ? ChangeExtension(pimpl_->filename, ".sgml")
: fname; : fname;
preamble += features.getIncludedFiles(name); preamble += features.getIncludedFiles(name);

View File

@ -217,11 +217,11 @@ Buffer * BufferList::getBuffer(unsigned int choice)
} }
Buffer * BufferList::next(Buffer const * buf) const Buffer * BufferList::next(Buffer const * buf) const
{ {
if (bstore.empty()) if (bstore.empty())
return 0; return 0;
BufferStorage::const_iterator it = find(bstore.begin(), BufferStorage::const_iterator it = find(bstore.begin(),
bstore.end(), buf); bstore.end(), buf);
BOOST_ASSERT(it != bstore.end()); BOOST_ASSERT(it != bstore.end());
++it; ++it;
@ -232,11 +232,11 @@ Buffer * BufferList::next(Buffer const * buf) const
} }
Buffer * BufferList::previous(Buffer const * buf) const Buffer * BufferList::previous(Buffer const * buf) const
{ {
if (bstore.empty()) if (bstore.empty())
return 0; return 0;
BufferStorage::const_iterator it = find(bstore.begin(), BufferStorage::const_iterator it = find(bstore.begin(),
bstore.end(), buf); bstore.end(), buf);
BOOST_ASSERT(it != bstore.end()); BOOST_ASSERT(it != bstore.end());
if (it == bstore.begin()) if (it == bstore.begin())

View File

@ -1216,7 +1216,7 @@ void BufferParams::readBullets(LyXLex & lex)
temp_bullet(index).setCharacter(temp_int); temp_bullet(index).setCharacter(temp_int);
lex >> temp_int; lex >> temp_int;
user_defined_bullet(index).setSize(temp_int); user_defined_bullet(index).setSize(temp_int);
temp_bullet(index).setSize(temp_int); temp_bullet(index).setSize(temp_int);
} }

View File

@ -12,7 +12,7 @@ AM_CXXFLAGS = $(PCH_FLAGS)
if USE_INCLUDED_BOOST if USE_INCLUDED_BOOST
BOOST_LIBS = $(top_builddir)/boost/libs/filesystem/src/libboostfilesystem.la \ BOOST_LIBS = $(top_builddir)/boost/libs/filesystem/src/libboostfilesystem.la \
$(top_builddir)/boost/libs/regex/src/libboostregex.la $(top_builddir)/boost/libs/regex/src/libboostregex.la
else else
BOOST_LIBS = -lboost_regex -lboost_filesystem BOOST_LIBS = -lboost_regex -lboost_filesystem
endif endif

View File

@ -243,12 +243,12 @@ bool LCursor::getStatus(FuncRequest const & cmd, FuncStatus & status)
idx() = lastidx(); idx() = lastidx();
} }
if (par() > lastpar()) { if (par() > lastpar()) {
lyxerr << "wrong par " << par() << ", max is " << lastpar() lyxerr << "wrong par " << par() << ", max is " << lastpar()
<< ". Trying to correct this." << endl; << ". Trying to correct this." << endl;
par() = lastpar(); par() = lastpar();
} }
if (pos() > lastpos()) { if (pos() > lastpos()) {
lyxerr << "wrong pos " << pos() << ", max is " << lastpos() lyxerr << "wrong pos " << pos() << ", max is " << lastpos()
<< ". Trying to correct this." << endl; << ". Trying to correct this." << endl;
pos() = lastpos(); pos() = lastpos();
} }

View File

@ -1,6 +1,6 @@
2004-10-23 John Spray <spray_john@users.sourceforge.net> 2004-10-23 John Spray <spray_john@users.sourceforge.net>
* ghelpers.[Ch]: Add buildLengthUnitList() to get vector of * ghelpers.[Ch]: Add buildLengthUnitList() to get vector of
available length unit strings available length unit strings
* The Graphics dialog: * The Graphics dialog:
Dialogs.C, Makefile.am, GGraphics.C, GGraphics.h Dialogs.C, Makefile.am, GGraphics.C, GGraphics.h

View File

@ -95,7 +95,7 @@ void GChanges::promptChange()
if(author.empty()) if(author.empty())
author = _("unknown author"); author = _("unknown author");
if(date.empty()) if(date.empty())
date = _("unknown date"); date = _("unknown date");
messagelabel_->set_markup("<big><b>" + header + messagelabel_->set_markup("<big><b>" + header +
"</b></big>\n\nChanged by <b>" + author "</b></big>\n\nChanged by <b>" + author

View File

@ -96,7 +96,7 @@ libgtk_la_SOURCES = \
lyx_gui.C \ lyx_gui.C \
xftFontLoader.C \ xftFontLoader.C \
xftFontLoader.h \ xftFontLoader.h \
xftFontMetrics.C xftFontMetrics.C
xforms_objects = \ xforms_objects = \

View File

@ -138,7 +138,7 @@ void QLPopupMenu::populate(Menu * menu)
*/ */
if (status.enabled() if (status.enabled()
&& qApp->activeWindow() != qApp->mainWidget() && qApp->activeWindow() != qApp->mainWidget()
&& !lyxaction.funcHasFlag(m->func().action, && !lyxaction.funcHasFlag(m->func().action,
LyXAction::NoBuffer)) LyXAction::NoBuffer))
status.enabled(false); status.enabled(false);

View File

@ -156,7 +156,7 @@ void parse_init(int & argc, char * argv[])
{ {
// Force adding of font path _before_ QApplication is initialized // Force adding of font path _before_ QApplication is initialized
qfont_loader::initFontPath(); qfont_loader::initFontPath();
static LQApplication app(argc, argv); static LQApplication app(argc, argv);
#if QT_VERSION >= 0x030200 #if QT_VERSION >= 0x030200

View File

@ -50,7 +50,7 @@ public:
/// Called before QApplication is initialized /// Called before QApplication is initialized
static void initFontPath(); static void initFontPath();
/// Called the first time when available() can't load a symbol font /// Called the first time when available() can't load a symbol font
static void addToFontPath(); static void addToFontPath();

View File

@ -325,7 +325,7 @@ int InsetCitation::plaintext(Buffer const & buffer, ostream & os, OutputParams c
namespace { namespace {
string const cleanupWhitespace(string const & citelist) string const cleanupWhitespace(string const & citelist)
{ {
string::const_iterator it = citelist.begin(); string::const_iterator it = citelist.begin();

View File

@ -63,7 +63,7 @@ int InsetFoot::latex(Buffer const & buf, ostream & os,
OutputParams runparams = runparams_in; OutputParams runparams = runparams_in;
// footnotes in titling commands like \title have moving arguments // footnotes in titling commands like \title have moving arguments
runparams.moving_arg |= runparams_in.intitle; runparams.moving_arg |= runparams_in.intitle;
// in titling commands, \thanks should be used instead of \footnote. // in titling commands, \thanks should be used instead of \footnote.
// some classes (e.g. memoir) do not understand \footnote. // some classes (e.g. memoir) do not understand \footnote.
if (runparams_in.intitle) if (runparams_in.intitle)

View File

@ -130,7 +130,7 @@ ParagraphList::const_iterator makeEnvironment(Buffer const & buf,
LyXLayout_ptr const & bstyle = par->layout(); LyXLayout_ptr const & bstyle = par->layout();
string item_tag; string item_tag;
string id = par->getDocbookId(); string id = par->getDocbookId();
string env_name = bstyle->latexname(); string env_name = bstyle->latexname();
// Opening outter tag // Opening outter tag
@ -230,7 +230,7 @@ ParagraphList::const_iterator makeCommand(Buffer const & buf,
ParagraphList::const_iterator par = pbegin; ParagraphList::const_iterator par = pbegin;
Counters & counters = buf.params().getLyXTextClass().counters(); Counters & counters = buf.params().getLyXTextClass().counters();
LyXLayout_ptr const & bstyle = par->layout(); LyXLayout_ptr const & bstyle = par->layout();
string id = par->getDocbookId(); string id = par->getDocbookId();
id = id.empty()? "" : " id = \"" + id + "\""; id = id.empty()? "" : " id = \"" + id + "\"";
@ -254,7 +254,7 @@ ParagraphList::const_iterator makeCommand(Buffer const & buf,
os << expandLabel(buf.params().getLyXTextClass(), bstyle, false); os << expandLabel(buf.params().getLyXTextClass(), bstyle, false);
sgml::closeTag(os, depth, false, bstyle->labeltag()); sgml::closeTag(os, depth, false, bstyle->labeltag());
} }
// Opend inner tag // Opend inner tag
sgml::openTag(buf, os, depth, true, bstyle->innertag()); sgml::openTag(buf, os, depth, true, bstyle->innertag());
@ -263,7 +263,7 @@ ParagraphList::const_iterator makeCommand(Buffer const & buf,
// Close inner tags // Close inner tags
sgml::closeTag(os, depth, true, bstyle->innertag()); sgml::closeTag(os, depth, true, bstyle->innertag());
os << '\n'; os << '\n';
++par; ++par;
while (par != pend) { while (par != pend) {
LyXLayout_ptr const & style = par->layout(); LyXLayout_ptr const & style = par->layout();

View File

@ -61,7 +61,7 @@ struct OutputParams {
std::string local_language; std::string local_language;
/** Document language babel name /** Document language babel name
*/ */
mutable std::string document_language; mutable std::string document_language;
/** free_spacing == true means that the inset is in a free-spacing /** free_spacing == true means that the inset is in a free-spacing

View File

@ -294,7 +294,7 @@ bool setLyxPaths()
// This is true when we are running from a Mac OS X bundle // This is true when we are running from a Mac OS X bundle
// (for LyX/Mac) // (for LyX/Mac)
bool const inOSXBundle = bool const inOSXBundle =
system_lyxdir_ == NormalizePath(AddPath(binpath, "../Resources/") system_lyxdir_ == NormalizePath(AddPath(binpath, "../Resources/")
+ OnlyFilename(binname)); + OnlyFilename(binname));
if (inOSXBundle) if (inOSXBundle)
@ -314,23 +314,23 @@ bool setLyxPaths()
+ ":/sw/bin:/usr/local/bin" + ":/sw/bin:/usr/local/bin"
+ ":/usr/local/teTeX/bin/powerpc-apple-darwin-current"; + ":/usr/local/teTeX/bin/powerpc-apple-darwin-current";
lyx::support::putenv("PATH", newpath); lyx::support::putenv("PATH", newpath);
lyxerr[Debug::INIT] << "LyX/Mac: setting PATH to: " lyxerr[Debug::INIT] << "LyX/Mac: setting PATH to: "
<< GetEnv("PATH") << endl; << GetEnv("PATH") << endl;
} }
// //
// Determine locale directory // Determine locale directory
// //
if (!GetEnv("LYX_LOCALEDIR").empty()) { if (!GetEnv("LYX_LOCALEDIR").empty()) {
localedir_ = GetEnv("LYX_LOCALEDIR"); localedir_ = GetEnv("LYX_LOCALEDIR");
lyxerr[Debug::INIT] << "LYX_LOCALEDIR=" << localedir_ << endl; lyxerr[Debug::INIT] << "LYX_LOCALEDIR=" << localedir_ << endl;
} else if (inOSXBundle) { } else if (inOSXBundle) {
string const maybe_localedir = string const maybe_localedir =
NormalizePath(AddPath(system_lyxdir_, "../locale")); NormalizePath(AddPath(system_lyxdir_, "../locale"));
FileInfo fi(maybe_localedir); FileInfo fi(maybe_localedir);
if (fi.isOK() && fi.isDir()) { if (fi.isOK() && fi.isDir()) {
lyxerr[Debug::INIT] lyxerr[Debug::INIT]
<< "LyX/Mac: setting locale directory to " << "LyX/Mac: setting locale directory to "
<< maybe_localedir << endl; << maybe_localedir << endl;
localedir_ = maybe_localedir; localedir_ = maybe_localedir;