]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoInsetLisings: fix extra npos comparisons intruduced by wrongful commit
Bo Peng [Sun, 13 May 2007 14:39:44 +0000 (14:39 +0000)]
InsetLisings: fix extra npos comparisons intruduced by wrongful commit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18283 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoInsetListings: Enhanced listings dialog, more than 10 widgets are added to handle...
Bo Peng [Sun, 13 May 2007 04:06:37 +0000 (04:06 +0000)]
InsetListings: Enhanced listings dialog, more than 10 widgets are added to handle common listings parameters.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18282 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRemove unused var in InsetMathHull.cpp
Bo Peng [Sat, 12 May 2007 22:51:13 +0000 (22:51 +0000)]
Remove unused var in InsetMathHull.cpp

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18281 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix bug 2453
Bernhard Roider [Sat, 12 May 2007 20:59:21 +0000 (20:59 +0000)]
fix bug 2453
change of behavior of rotate-tabular and rotate-cell toolbar buttons such that they toggle the rotation. Therefore a toggle feature is added to the tabular features. Moreover after the patch the state of the set-rotate-cell and toggle-rotate-cell buttons is on only if all selected cells in the table are rotated. If not all selected cells are rotated then the toggle button rotates all selected cells.

The toggle-icons are copied from the set-icons.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18280 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoInsetListingsParams.h/cpp: Allow , in parameter string which is common in caption
Bo Peng [Sat, 12 May 2007 15:07:18 +0000 (15:07 +0000)]
InsetListingsParams.h/cpp: Allow , in parameter string which is common in caption

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18279 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd color mathcorners and implement mathbg (partially)
Bo Peng [Sat, 12 May 2007 06:24:46 +0000 (06:24 +0000)]
add color mathcorners and implement mathbg (partially)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18277 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoinstaller updates
Uwe Stöhr [Sat, 12 May 2007 00:24:11 +0000 (00:24 +0000)]
installer updates

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18276 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoBufferParams.cpp: forgot this in last commit
Uwe Stöhr [Sat, 12 May 2007 00:22:37 +0000 (00:22 +0000)]
BufferParams.cpp: forgot this in last commit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18275 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoBufferParams.cpp: the long discussed babel call logic cleanup
Uwe Stöhr [Sat, 12 May 2007 00:13:35 +0000 (00:13 +0000)]
BufferParams.cpp: the long discussed babel call logic cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18274 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agooutput_latex.cpp: Fix bug 3571:
Uwe Stöhr [Fri, 11 May 2007 23:43:17 +0000 (23:43 +0000)]
output_latex.cpp: Fix bug 3571:
http://bugzilla.lyx.org/show_bug.cgi?id=3571

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18273 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoEmbeddedObjects: fix issues spotted by Hartmut
Uwe Stöhr [Fri, 11 May 2007 23:32:57 +0000 (23:32 +0000)]
EmbeddedObjects: fix issues spotted by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18272 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoInsetListings: touch up the TextLayout dialog
Bo Peng [Fri, 11 May 2007 17:59:32 +0000 (17:59 +0000)]
InsetListings: touch up the TextLayout dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18271 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoInsetListings: touch up the include dialog
Bo Peng [Fri, 11 May 2007 17:53:01 +0000 (17:53 +0000)]
InsetListings: touch up the include dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18270 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoInsetListings: touch up the listings dialog
Bo Peng [Fri, 11 May 2007 16:56:16 +0000 (16:56 +0000)]
InsetListings: touch up the listings dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18269 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 3377 by Ozgur Ugras BARAN:
Abdelrazak Younes [Fri, 11 May 2007 14:25:25 +0000 (14:25 +0000)]
Fix bug 3377 by Ozgur Ugras BARAN:

In insert graphic window: canceling open dialog erases entry in text box). This bug is not Mac specific, but exist in Linux. (should exist in other OSes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18268 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove unneeded header.
Abdelrazak Younes [Fri, 11 May 2007 14:19:59 +0000 (14:19 +0000)]
remove unneeded header.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18267 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRemove optimization to avoid char and symbol metrics calculation. This was incompatib...
Abdelrazak Younes [Fri, 11 May 2007 14:17:53 +0000 (14:17 +0000)]
Remove optimization to avoid char and symbol metrics calculation. This was incompatible with the way the font zooming works in LyX.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18266 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoBug fix: the type combo was not cleared at each update.
Abdelrazak Younes [Fri, 11 May 2007 14:05:43 +0000 (14:05 +0000)]
Bug fix: the type combo was not cleared at each update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18265 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoEnable RTL language support and Converter cache by default.
Abdelrazak Younes [Fri, 11 May 2007 13:01:59 +0000 (13:01 +0000)]
Enable RTL language support and Converter cache by default.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18264 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agorevert wrongly committed patch
Bo Peng [Fri, 11 May 2007 02:34:56 +0000 (02:34 +0000)]
revert wrongly committed patch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18263 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agolib/lyx2lyx/lyx_1_5.py: fix revert of listings insets
Bo Peng [Fri, 11 May 2007 02:28:14 +0000 (02:28 +0000)]
lib/lyx2lyx/lyx_1_5.py: fix revert of listings insets

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18262 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agode-UserGuide.lyx: Updates from Hartmut
Uwe Stöhr [Thu, 10 May 2007 23:26:50 +0000 (23:26 +0000)]
de-UserGuide.lyx: Updates from Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18261 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agorevert src/frontends/qt4/ui/ListingsUi.ui
Bo Peng [Thu, 10 May 2007 20:56:58 +0000 (20:56 +0000)]
revert src/frontends/qt4/ui/ListingsUi.ui

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18260 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix crash: change empty line to paragraph and press a key
Peter Kümmel [Thu, 10 May 2007 17:55:07 +0000 (17:55 +0000)]
fix crash: change empty line to paragraph and press a key

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18259 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bugs 3528 and 3534 by Ozgur Ugras BARAN and myself:
Abdelrazak Younes [Thu, 10 May 2007 16:25:11 +0000 (16:25 +0000)]
Fix bugs 3528 and 3534 by Ozgur Ugras BARAN and myself:

* ControlToc::updateBackend(): emit Buffer::structureChanged()

* QToc:
  - updateToc(), updateType(), typeModel(): deleted.

* TocWidget
  - updateGui() manually with ControlToc::typenames()
  - on_typeCO_activated(): changed to on_typeCO_currentIndexChanged()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18258 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoUse QTextEdit::setPlainText instead of QTextEdit::setText, because the
Jean-Marc Lasgouttes [Thu, 10 May 2007 10:44:16 +0000 (10:44 +0000)]
Use QTextEdit::setPlainText instead of QTextEdit::setText, because the
later is not available in Qt 4.1.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18257 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoPatch from "hzluo" <memcache@gmail.com>:
Jean-Marc Lasgouttes [Thu, 10 May 2007 10:35:57 +0000 (10:35 +0000)]
Patch from "hzluo" <memcache@gmail.com>:
Remove all explicit 8bit characters from the source, to fix compilation
with windows xp under a chinese locale (bug 3496).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18256 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix number display for Farsi and Arabic from Mostafa Vahedi:
Abdelrazak Younes [Thu, 10 May 2007 09:25:44 +0000 (09:25 +0000)]
Fix number display for Farsi and Arabic from Mostafa Vahedi:

In Hebrew, Arabic and Farsi (Right-to-Left) languages the numbers are written from left to write.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18255 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * BufferView.cpp (moveToPosition): do not use ParIterator, which moves
Jean-Marc Lasgouttes [Thu, 10 May 2007 07:53:00 +0000 (07:53 +0000)]
* BufferView.cpp (moveToPosition): do not use ParIterator, which moves
through nested insets; what we want here is much simpler (bug 3472)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18254 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix a listings param name
Bo Peng [Wed, 9 May 2007 21:28:43 +0000 (21:28 +0000)]
fix a listings param name

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18253 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoBufferParams.cpp: only whitespace
Uwe Stöhr [Wed, 9 May 2007 21:17:22 +0000 (21:17 +0000)]
BufferParams.cpp: only whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18252 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoBufferParams.cpp: Simplify babel call
Uwe Stöhr [Wed, 9 May 2007 21:10:55 +0000 (21:10 +0000)]
BufferParams.cpp: Simplify babel call

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18251 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agolyx2lyx: fix wrong preamble entry about "armtex" when exporting to LyX 1.4.x format
Uwe Stöhr [Wed, 9 May 2007 21:10:30 +0000 (21:10 +0000)]
lyx2lyx: fix wrong preamble entry about "armtex" when exporting to LyX 1.4.x format

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18250 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoProblem: When canceling the preferences dialog after changing a color then the icon...
Bernhard Roider [Wed, 9 May 2007 20:16:31 +0000 (20:16 +0000)]
Problem: When canceling the preferences dialog after changing a color then the icon in the colors list is not reverted after reopening the dialog. Moreover when pressing apply later then the color is really changed.

Solution: Move the color initialization from the constructor to the update() method. I've read the mail from Richard (referenced in the source code) concerning this, but i don't understand why we should not move parts of the initialization the constructor does into the update method. With this changes the hack for fixing http://bugzilla.lyx.org/show_bug.cgi?id=3109 is not needed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18249 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoEmbeddedObjects: small update
Uwe Stöhr [Wed, 9 May 2007 20:10:19 +0000 (20:10 +0000)]
EmbeddedObjects: small update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18248 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoProblem: A crash when no color is selected and the "alter" button is pressed.
Bernhard Roider [Wed, 9 May 2007 20:09:03 +0000 (20:09 +0000)]
Problem: A crash when no color is selected and the "alter" button is pressed.
Solution: Disable the alter button if no item is selected and add an additional test for a valid index.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18247 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix InsetListings::init, call setButtonLabel explicitly because that function is...
Bo Peng [Wed, 9 May 2007 20:00:06 +0000 (20:00 +0000)]
Fix InsetListings::init, call setButtonLabel explicitly because that function is not virtual

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18246 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoProblem: When canceling the color selection dialog the color of the selected item...
Bernhard Roider [Wed, 9 May 2007 19:52:24 +0000 (19:52 +0000)]
Problem: When canceling the color selection dialog the color of the selected item is changed to black.
Solution: Add a test whether the color returned from the color dialog is valid.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18245 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoalso compile with merged files
Peter Kümmel [Wed, 9 May 2007 19:31:42 +0000 (19:31 +0000)]
also compile with merged files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18244 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd support for listings package. Two listings command \lstinline, \lstinputlisting...
Bo Peng [Wed, 9 May 2007 19:11:42 +0000 (19:11 +0000)]
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd instructions for Xcode on mac (from Stefan Schimanski)
Jean-Marc Lasgouttes [Wed, 9 May 2007 13:36:20 +0000 (13:36 +0000)]
add instructions for Xcode on mac (from Stefan Schimanski)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18242 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix cursor movement in RTL embedded math insets by Elazar Leibovich.
Abdelrazak Younes [Wed, 9 May 2007 09:42:33 +0000 (09:42 +0000)]
Fix cursor movement in RTL embedded math insets by Elazar Leibovich.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18241 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* set some sizehints to ingore so that toc widget does not take up too much space...
Edwin Leuven [Wed, 9 May 2007 08:23:57 +0000 (08:23 +0000)]
* set some sizehints to ingore so that toc widget does not take up too much space on toggle...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18240 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoes_EmbeddedObjects: Updates by Ignacio
Uwe Stöhr [Wed, 9 May 2007 00:13:37 +0000 (00:13 +0000)]
es_EmbeddedObjects: Updates by Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18239 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoBufferParams.cpp: fix bug 3569:
Uwe Stöhr [Tue, 8 May 2007 23:53:35 +0000 (23:53 +0000)]
BufferParams.cpp: fix bug 3569:
http://bugzilla.lyx.org/show_bug.cgi?id=3569

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18238 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agochange tracking:
Michael Schmitt [Tue, 8 May 2007 17:46:03 +0000 (17:46 +0000)]
change tracking:

introduce 'semantic' TeX commands \lyxinserted and \lyxdeleted in order to decouple change tracking
output from dvipost. Raise user warning if dvipost is not installed (i.e. no changes are shown in TeX output)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18237 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix for bug 3524: Indent checkbox is enabled even when paragraphs are marked
Richard Heck [Tue, 8 May 2007 15:35:44 +0000 (15:35 +0000)]
Fix for bug 3524: Indent checkbox is enabled even when paragraphs are marked
with skips.

Added helper method canIndent() to controller and appropriate logic to
QParagraph::update_contents().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18236 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix for bug 2951. Adds default fn: prefix tolabels in footnotes.
Richard Heck [Tue, 8 May 2007 15:10:08 +0000 (15:10 +0000)]
Fix for bug 2951. Adds default fn: prefix tolabels in footnotes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18235 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove 'lyx::'
Abdelrazak Younes [Tue, 8 May 2007 14:09:27 +0000 (14:09 +0000)]
remove 'lyx::'

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18234 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodeclare 'std::foo' and remove 'lyx::'
Abdelrazak Younes [Tue, 8 May 2007 14:01:40 +0000 (14:01 +0000)]
declare 'std::foo' and remove 'lyx::'

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18233 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agocode formatting.
Abdelrazak Younes [Tue, 8 May 2007 13:21:50 +0000 (13:21 +0000)]
code formatting.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18232 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoinstaller: move all Aspell parts to Aspell.nsh
Uwe Stöhr [Tue, 8 May 2007 00:24:52 +0000 (00:24 +0000)]
installer: move all Aspell parts to Aspell.nsh

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18231 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoBufferParams.h: add comment
Uwe Stöhr [Mon, 7 May 2007 22:32:44 +0000 (22:32 +0000)]
BufferParams.h: add comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18230 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoBufferParams.cpp: fix bug 3568:
Uwe Stöhr [Mon, 7 May 2007 18:55:14 +0000 (18:55 +0000)]
BufferParams.cpp: fix bug 3568:
http://bugzilla.lyx.org/show_bug.cgi?id=3568

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18227 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoQMathMatrixDialog.cpp: fix part of bug 3475
Uwe Stöhr [Mon, 7 May 2007 18:30:41 +0000 (18:30 +0000)]
QMathMatrixDialog.cpp: fix part of bug 3475

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18226 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agolib/encodings: fix typo in comment
Uwe Stöhr [Mon, 7 May 2007 18:25:25 +0000 (18:25 +0000)]
lib/encodings: fix typo in comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18225 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoCleanup in order to better understand bug 3043 and 3561.
Abdelrazak Younes [Mon, 7 May 2007 17:10:10 +0000 (17:10 +0000)]
Cleanup in order to better understand bug 3043 and 3561.

* switchEncoding(): simplify return logic (transform 'and -> do' to 'or ->return')

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18224 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agounicodesymbols: fix character order
Uwe Stöhr [Mon, 7 May 2007 17:03:44 +0000 (17:03 +0000)]
unicodesymbols: fix character order

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18223 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* lib/unicodesymbols: add endash and emdash.
Jürgen Spitzmüller [Mon, 7 May 2007 16:08:01 +0000 (16:08 +0000)]
* lib/unicodesymbols: add endash and emdash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18222 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* src/Encoding.cpp (latexChar):
Jürgen Spitzmüller [Mon, 7 May 2007 15:08:27 +0000 (15:08 +0000)]
* src/Encoding.cpp (latexChar):
- assure the encodings are proper initialized.
  supposedely fixes bugs 3561 and 3562

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18221 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix remaining parts of bug 3146.
Jürgen Spitzmüller [Mon, 7 May 2007 08:57:53 +0000 (08:57 +0000)]
Fix remaining parts of bug 3146.
* src/Cursor.cpp:
- new helper function parbreak that checks whether a blank line is
  to be inserted or not (currently only relevant for ERT content)
- (selectionAsString): use parbreak instead of hardcoded "\n\n"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18220 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* lib/encodings: just a tiny reordering: move utf8-plain to those encodings that...
Jürgen Spitzmüller [Mon, 7 May 2007 06:00:29 +0000 (06:00 +0000)]
* lib/encodings: just a tiny reordering: move utf8-plain to those encodings that do not load a package.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18219 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoinstaller:
Uwe Stöhr [Mon, 7 May 2007 01:19:52 +0000 (01:19 +0000)]
installer:
- using Joost's patched pdfopen/pdfclose programs as these now also work for Acrobat 8 using the latest version
-> Could get rid of ugly hack that was only used for Acrobat 8

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18218 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agolib/languages:
Uwe Stöhr [Sun, 6 May 2007 21:49:40 +0000 (21:49 +0000)]
lib/languages:
- add Country codes for Japanese and Chinese
- add info about Korean country code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18217 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoGeorg's patch for bug 3043:
Uwe Stöhr [Sun, 6 May 2007 20:26:02 +0000 (20:26 +0000)]
Georg's patch for bug 3043:
Introduces new encodings for the CJK-languages.
The CJK-languages can now be selected from LyX's menu.
For remaining small problems, see the thread "Help needed for bug 3043" on the devel-list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18216 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoChanged to using 'rc' instead of 'pre'
Christian Ridderström [Sun, 6 May 2007 19:10:15 +0000 (19:10 +0000)]
Changed to using 'rc' instead of 'pre'

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18214 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoEmbeddedObjects manual: two fixes reported by Hartmut
Uwe Stöhr [Sun, 6 May 2007 14:54:58 +0000 (14:54 +0000)]
EmbeddedObjects manual: two fixes reported by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18213 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoinstaller updates
Uwe Stöhr [Sun, 6 May 2007 14:47:59 +0000 (14:47 +0000)]
installer updates

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18212 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoEmbeddedObjects manual:
Uwe Stöhr [Sun, 6 May 2007 14:45:47 +0000 (14:45 +0000)]
EmbeddedObjects manual:
- new section about float numbering
- some corrections

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18211 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix inputenc handling bug introduced with r18198
Uwe Stöhr [Sun, 6 May 2007 14:18:40 +0000 (14:18 +0000)]
fix inputenc handling bug introduced with r18198

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18210 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* src/Cursor.cpp:
Jürgen Spitzmüller [Sun, 6 May 2007 08:38:10 +0000 (08:38 +0000)]
* src/Cursor.cpp:
- revert accidental commit in r18206.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18209 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 3508:
Jürgen Spitzmüller [Sun, 6 May 2007 07:26:51 +0000 (07:26 +0000)]
Fix bug 3508:
* src/ToolbarBackend.cpp:
* lib/ui/stdtoolbars.inc:
- add tooltip to table widget
* src/frontends/qt4/QLToolbar.cpp:
- display tooltip as icon text

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18208 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoforgot this in my last commit
Uwe Stöhr [Sat, 5 May 2007 20:27:43 +0000 (20:27 +0000)]
forgot this in my last commit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18207 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoset infrastructure to allow not to call babel
Uwe Stöhr [Sat, 5 May 2007 19:18:34 +0000 (19:18 +0000)]
set infrastructure to allow not to call babel
This is a part of the fix for bug 3043.
I got the OK from Georg, that this patch doesn't introduce conflicts as it only sets the infrastructure.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18206 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* src/TextMetrics.cpp (setHeightOfRow):
Jürgen Spitzmüller [Sat, 5 May 2007 12:06:37 +0000 (12:06 +0000)]
* src/TextMetrics.cpp (setHeightOfRow):
- don't use parkip in ERT insets (bug 3146)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18205 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* make background of reload icon transparent (was white) and slightly adjust promote...
Edwin Leuven [Sat, 5 May 2007 09:26:44 +0000 (09:26 +0000)]
* make background of reload icon transparent (was white) and slightly adjust promote and demote arrows

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18204 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agorevision 18202: I forgot this one.
Abdelrazak Younes [Fri, 4 May 2007 17:46:03 +0000 (17:46 +0000)]
revision 18202: I forgot this one.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18203 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoTOC Widget beautification by Stefan Schimanski:
Abdelrazak Younes [Fri, 4 May 2007 17:37:05 +0000 (17:37 +0000)]
TOC Widget beautification by Stefan Schimanski:

* lib/images: 3 new icons
* TocUi/TocWidget: Replace labeled button with icon buttons.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18202 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* LyX::addFileToLoad(): new method for double-clicked file icons on MacOS.
Abdelrazak Younes [Fri, 4 May 2007 17:20:53 +0000 (17:20 +0000)]
* LyX::addFileToLoad(): new method for double-clicked file icons on MacOS.

* GuiApplication::event():
  special case for FileOpen events: memorize the filenames if LyX is not properly started yet.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18201 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix xpm
Peter Kümmel [Fri, 4 May 2007 16:59:21 +0000 (16:59 +0000)]
fix xpm

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18200 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* do not ignore "requires" field in MathMacro
Edwin Leuven [Fri, 4 May 2007 15:30:27 +0000 (15:30 +0000)]
* do not ignore "requires" field in MathMacro
  (fixes http://bugzilla.lyx.org/show_bug.cgi?id=3520)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18199 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* lib/encodings:
Jürgen Spitzmüller [Fri, 4 May 2007 12:27:00 +0000 (12:27 +0000)]
* lib/encodings:
- add new encoding utf8-plain for the sake of XeTeX users (bug 3526)
* src/BufferParams.cpp:
- implement new encoding (skip inputenc)
- fix logic error with thailatex

* src/Buffer.cpp:
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.pyx:
* development/FORMAT:
- format increment to 267
- reset encoding to utf8 on reversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18198 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* QLPainter: antialias edges of primitives only if text is antialiased.
Abdelrazak Younes [Fri, 4 May 2007 09:24:44 +0000 (09:24 +0000)]
* QLPainter: antialias edges of primitives only if text is antialiased.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18197 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix antialiasing problem in straight lines within polylines. Prepare for optional...
Abdelrazak Younes [Fri, 4 May 2007 08:52:40 +0000 (08:52 +0000)]
Fix antialiasing problem in straight lines within polylines. Prepare for optional antialiasing.

* QLPainter::lines(): use QPainter::drawLine() multiple times instead QPainter::drawPolyline().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18196 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRenamed Changelog.txt to ChangeLog.txt
Christian Ridderström [Fri, 4 May 2007 08:02:52 +0000 (08:02 +0000)]
Renamed Changelog.txt to ChangeLog.txt

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18195 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoLast(?) missing rename: version.C -> version.cpp
Enrico Forestieri [Fri, 4 May 2007 00:47:24 +0000 (00:47 +0000)]
Last(?) missing rename: version.C -> version.cpp

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18194 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoEmbeddedObjects manual: add note for caption widths in longtables
Uwe Stöhr [Thu, 3 May 2007 23:30:44 +0000 (23:30 +0000)]
EmbeddedObjects manual: add note for caption widths in longtables

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18193 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoinstaller updates
Uwe Stöhr [Thu, 3 May 2007 21:40:49 +0000 (21:40 +0000)]
installer updates

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18192 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* replace old toc-view with new dialog-toggle
Edwin Leuven [Thu, 3 May 2007 21:07:39 +0000 (21:07 +0000)]
* replace old toc-view with new dialog-toggle

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18191 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoChanged references as to where/how known issues are shown, i.e. added reference to...
Christian Ridderström [Thu, 3 May 2007 20:51:31 +0000 (20:51 +0000)]
Changed references as to where/how known issues are shown, i.e. added reference to http://wiki.lyx.org/LyX/ReleaseNotes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18190 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* src/insets/InsetMarginal.h:
Jürgen Spitzmüller [Thu, 3 May 2007 15:54:56 +0000 (15:54 +0000)]
* src/insets/InsetMarginal.h:
- revert accidental encoding change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18189 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* src/insets/InsetMarginal.h:
Jürgen Spitzmüller [Thu, 3 May 2007 15:53:14 +0000 (15:53 +0000)]
* src/insets/InsetMarginal.h:
- add missing name() (fix bug 3540)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18188 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agorevert 18186: this cannot be done right now because of the way LFUN_BUFFER_PARAMS_APP...
Abdelrazak Younes [Thu, 3 May 2007 14:47:22 +0000 (14:47 +0000)]
revert 18186: this cannot be done right now because of the way LFUN_BUFFER_PARAMS_APPLY is implemented.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18187 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix interface problem in order to cleanly support "cursor position memory" in the...
Abdelrazak Younes [Thu, 3 May 2007 14:20:12 +0000 (14:20 +0000)]
Fix interface problem in order to cleanly support "cursor position memory" in the preamble editor.

* ControlDocument::params(): replace BufferParams local copy with Buffer::params() direct access.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18186 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/Cursor.cpp (isRTL): simplify
Jean-Marc Lasgouttes [Thu, 3 May 2007 13:31:16 +0000 (13:31 +0000)]
* src/Cursor.cpp (isRTL): simplify

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18185 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove fr/CV.lyx to fr/simplecv.lyx
Jean-Marc Lasgouttes [Thu, 3 May 2007 13:08:29 +0000 (13:08 +0000)]
remove fr/CV.lyx to fr/simplecv.lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18184 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* update math symbols to be in a uniform style.
Edwin Leuven [Thu, 3 May 2007 11:33:02 +0000 (11:33 +0000)]
* update math symbols to be in a uniform style.
  most icons are taken from this site:

  http://us.metamath.org/symbols/symbols.html

  the license of these files is the creative commons public
  domain dedication

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18183 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoexamples/armenian-article.lyx: fix typo
Uwe Stöhr [Wed, 2 May 2007 23:07:11 +0000 (23:07 +0000)]
examples/armenian-article.lyx: fix typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18182 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoinstaller: get rid of all NSIS compiler warnings
Uwe Stöhr [Wed, 2 May 2007 23:06:01 +0000 (23:06 +0000)]
installer: get rid of all NSIS compiler warnings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18181 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoinstaller:
Uwe Stöhr [Wed, 2 May 2007 22:13:27 +0000 (22:13 +0000)]
installer:
- more initialization work for next version
- reflect latest SVN commits
- fix bug, see changelog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18180 a592a061-630c-0410-9148-cb99ea01b6c8