]> git.lyx.org Git - lyx.git/log
lyx.git
17 years ago* layout tweak
Edwin Leuven [Tue, 15 May 2007 07:22:55 +0000 (07:22 +0000)]
* layout tweak

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

17 years agoAdd examples/listings.lyx that roughly demonstrates the use of listings features
Bo Peng [Tue, 15 May 2007 04:01:59 +0000 (04:01 +0000)]
Add examples/listings.lyx that roughly demonstrates the use of listings features

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

17 years agoInsetListings: add a section to doc/EmdeddedObjects.lyx
Bo Peng [Tue, 15 May 2007 04:00:11 +0000 (04:00 +0000)]
InsetListings: add a section to doc/EmdeddedObjects.lyx

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

17 years agoInsetListings: properly clear values of widgets when jumping between insets
Bo Peng [Tue, 15 May 2007 02:37:59 +0000 (02:37 +0000)]
InsetListings: properly clear values of widgets when jumping between insets

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

17 years agoInsetListings: lyx2lyx for caption and label
Bo Peng [Tue, 15 May 2007 01:38:48 +0000 (01:38 +0000)]
InsetListings: lyx2lyx for caption and label

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

17 years agoInsetListings: minor fix
Bo Peng [Tue, 15 May 2007 01:38:27 +0000 (01:38 +0000)]
InsetListings: minor fix

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

17 years agoinstaller:
Uwe Stöhr [Tue, 15 May 2007 01:31:19 +0000 (01:31 +0000)]
installer:
- updates
- new script to be able to build all installer version at once via e.g. SCons
- updated to MiKTeX 2.6 -> lots of changes in the recognition of the LaTeX-distributions
- fix uninstalling bug
- added readme for the Update Installer

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

17 years agoFix importing of klewer template, add fix for recent update (null update for format...
José Matox [Mon, 14 May 2007 23:10:56 +0000 (23:10 +0000)]
Fix importing of klewer template, add fix for recent update (null update for format 270)

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

17 years agoSeparate caption and label from InsetListingsParams and handle them separately in...
Bo Peng [Mon, 14 May 2007 20:42:14 +0000 (20:42 +0000)]
Separate caption and label from InsetListingsParams and handle them separately in listings and Include dialog, from Jurgen

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

17 years agoadd comments and rtl support for cursor positioning problem
Bernhard Roider [Mon, 14 May 2007 20:03:40 +0000 (20:03 +0000)]
add comments and rtl support for cursor positioning problem

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

17 years agoAdd charstyles Alert and Structure to beamer
Martin Vermeer [Mon, 14 May 2007 19:56:05 +0000 (19:56 +0000)]
Add charstyles Alert and Structure to beamer

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

17 years agorestore changed() connection that vanished in revision 18307 with the creation of...
Abdelrazak Younes [Mon, 14 May 2007 16:54:27 +0000 (16:54 +0000)]
restore changed() connection that vanished in revision 18307 with the creation of the PreambleModule class.

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

17 years agoFix gcc warning and be 64 bit clean.
Abdelrazak Younes [Mon, 14 May 2007 16:41:50 +0000 (16:41 +0000)]
Fix gcc warning and be 64 bit clean.

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

17 years agoInsetListings: use Edwin's dialog, which is much nice
Bo Peng [Mon, 14 May 2007 14:56:21 +0000 (14:56 +0000)]
InsetListings: use Edwin's dialog, which is much nice

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

17 years agoInsetListings: fix a few checkbox logics
Bo Peng [Mon, 14 May 2007 14:55:26 +0000 (14:55 +0000)]
InsetListings: fix a few checkbox logics

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

17 years agocompil fix.
Abdelrazak Younes [Mon, 14 May 2007 14:23:55 +0000 (14:23 +0000)]
compil fix.

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

17 years agoFix bug similar to 3377 by Ozgur Ugras BARAN.
Abdelrazak Younes [Mon, 14 May 2007 12:43:17 +0000 (12:43 +0000)]
Fix bug similar to 3377 by Ozgur Ugras BARAN.

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

17 years agorestore cursor position in preamble.
Abdelrazak Younes [Mon, 14 May 2007 12:09:14 +0000 (12:09 +0000)]
restore cursor position in preamble.

* ControlDocument::id(): new method returning the id of the current buffer.

* PreambleModule: new class for the preamble module. Handle everything preamble related, including memorizing the cursor position for each Buffer.

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

17 years agoAdd two optimized versions of the ucs4 to local encoding.
Abdelrazak Younes [Mon, 14 May 2007 09:41:00 +0000 (09:41 +0000)]
Add two optimized versions of the ucs4 to local encoding.

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

17 years agoImprove Farsi support by Mostafa Vahedi. Arabic support now depends on 'ArabTeX'...
Abdelrazak Younes [Mon, 14 May 2007 09:34:53 +0000 (09:34 +0000)]
Improve Farsi support by Mostafa Vahedi. Arabic support now depends on 'ArabTeX' and Farsi support depends on the 'Arabi' package.

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

17 years agofix bug 2758:
Jürgen Spitzmüller [Mon, 14 May 2007 09:24:17 +0000 (09:24 +0000)]
fix bug 2758:

* src/Paragraph.cpp:
- make sure removed bibitems (inside a par) are restored correctly
  (in pos 0).
* src/Text.{cpp,h} (handleBibitems):
- new member, used by erase and backspace.
* src/Text3.cpp (getStatus):
- allow inserting of bibitems only in pos 0.

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

17 years agoupdate mac build instructions
Jean-Marc Lasgouttes [Mon, 14 May 2007 08:51:06 +0000 (08:51 +0000)]
update mac build instructions

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

17 years ago* src/LaTeXFeatures.cpp:
Jürgen Spitzmüller [Mon, 14 May 2007 06:28:47 +0000 (06:28 +0000)]
* src/LaTeXFeatures.cpp:
- fix definition of \lyxadded and \lyxdeleted

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

17 years agoThe source view dialog does not send a lfun, so it can be applied
Stefan Schimanski [Mon, 14 May 2007 05:16:57 +0000 (05:16 +0000)]
The source view dialog does not send a lfun, so it can be applied
unconditionally. This fixes #3398 and #3594.

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

17 years agoBug 3600, not a real solution but prevents lyx from crashing
Bo Peng [Mon, 14 May 2007 03:07:00 +0000 (03:07 +0000)]
Bug 3600, not a real solution but prevents lyx from crashing

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

17 years agoinstaller updates
Uwe Stöhr [Sun, 13 May 2007 22:45:28 +0000 (22:45 +0000)]
installer updates

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

17 years agoEmbeddedObjects:
Uwe Stöhr [Sun, 13 May 2007 22:38:35 +0000 (22:38 +0000)]
EmbeddedObjects:
- fix issues spotted by Hartmut
- fix vertical table cell alignment

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

17 years agofix cursor movement (up/down) problem at the end of lines in insets and table cells.
Bernhard Roider [Sun, 13 May 2007 19:53:06 +0000 (19:53 +0000)]
fix cursor movement (up/down) problem at the end of lines in insets and table cells.

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

17 years agoupdate po files for lib/language and InsetListings changes
Bo Peng [Sun, 13 May 2007 19:43:39 +0000 (19:43 +0000)]
update po files for lib/language and InsetListings changes

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

17 years agopo/lyx_po.py: fix handling of certain langauges lines
Bo Peng [Sun, 13 May 2007 19:38:12 +0000 (19:38 +0000)]
po/lyx_po.py: fix handling of certain langauges lines

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

17 years agofix scoons/makefile for r18280
Bernhard Roider [Sun, 13 May 2007 18:10:40 +0000 (18:10 +0000)]
fix scoons/makefile for r18280

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

17 years ago* src/Color.cpp:
Jürgen Spitzmüller [Sun, 13 May 2007 16:35:31 +0000 (16:35 +0000)]
* src/Color.cpp:
- fix encoding

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

17 years ago* lib/doc/LaTeXConfig.lyx.in:
Jürgen Spitzmüller [Sun, 13 May 2007 16:33:59 +0000 (16:33 +0000)]
* lib/doc/LaTeXConfig.lyx.in:
- document xcolor and soul.

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

17 years ago* src/Color.cpp:
Jürgen Spitzmüller [Sun, 13 May 2007 16:24:03 +0000 (16:24 +0000)]
* src/Color.cpp:
- add proper x11 colors for lyxadded and lyxdeleted (preventing an assert in RGBColor)

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

17 years agooutput changes by means of xcolor and soul
Michael Schmitt [Sun, 13 May 2007 15:17:57 +0000 (15:17 +0000)]
output changes by means of xcolor and soul
  - when exporting with pdflatex
  - when exporting with latex and dvipost is not available
rename two colors (strikeout => deletedtext, newtext => addedtext)

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

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