]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoinstaller: - use Inkscape as SVG to PDF converter when it is installed
Uwe Stöhr [Fri, 25 May 2007 09:39:18 +0000 (09:39 +0000)]
installer:  - use Inkscape as SVG to PDF converter when it is installed
 - code cleanup to get rid of the two preferences files
 - updates

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

17 years agol10n work:
Jürgen Spitzmüller [Fri, 25 May 2007 09:20:35 +0000 (09:20 +0000)]
l10n work:

* src/Buffer.cpp:
- make view-source string translatable

* src/frontends/controllers/ControlToc.h:
- make getGuiName public

* src/frontends/qt4/TocWidget.cpp:
- use getGuiName for the combo.

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

17 years agoMinor fixes, in response to Lar's email
Bo Peng [Fri, 25 May 2007 01:02:38 +0000 (01:02 +0000)]
Minor fixes, in response to Lar's email

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

17 years agoEmbeddedObjects.lyx: translation updates by Ignacio
Uwe Stöhr [Thu, 24 May 2007 23:32:00 +0000 (23:32 +0000)]
EmbeddedObjects.lyx: translation updates by Ignacio

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

17 years agoUse a new internal structure for InsetListingsParams, fix bugs 3713 and 3718
Bo Peng [Thu, 24 May 2007 22:19:58 +0000 (22:19 +0000)]
Use a new internal structure for InsetListingsParams, fix bugs 3713 and 3718

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

17 years agoForgot to restore this before committing 18494. This fixes bug 3725.
Richard Heck [Thu, 24 May 2007 22:17:04 +0000 (22:17 +0000)]
Forgot to restore this before committing 18494. This fixes bug 3725.

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

17 years agoRemove some calls that do nothing but print an error message.
Richard Heck [Thu, 24 May 2007 19:21:21 +0000 (19:21 +0000)]
Remove some calls that do nothing but print an error message.

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

17 years agoFix stupid use of "or".
Richard Heck [Thu, 24 May 2007 19:19:23 +0000 (19:19 +0000)]
Fix stupid use of "or".

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

17 years agorevert buggy patch.
Peter Kümmel [Thu, 24 May 2007 17:17:35 +0000 (17:17 +0000)]
revert buggy patch.

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

17 years agoFix for bugs 2199 and 3667. Most of the changes were to the logic. Buffers
Richard Heck [Thu, 24 May 2007 17:17:04 +0000 (17:17 +0000)]
Fix for bugs 2199 and 3667. Most of the changes were to the logic. Buffers
that were opened for possible included LyX files need to be closed if those
files cannot be loaded, for example. A bit more work was needed to allow a
LyX file to include itself as a verbatim or listings without trying to load
itself and without relying upon loadIfNeeded() to report the problem.

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

17 years ago * po/*.po: remerge
Michael Schmitt [Thu, 24 May 2007 16:56:21 +0000 (16:56 +0000)]
* po/*.po: remerge

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

17 years agoRemove originaldir flag from HTML converters so that View-HTML works. Export still...
Richard Heck [Thu, 24 May 2007 16:45:38 +0000 (16:45 +0000)]
Remove originaldir flag from HTML converters so that View-HTML works. Export still does not work.

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

17 years agoUpdate documentation regarding converters, etc.
Richard Heck [Thu, 24 May 2007 16:42:40 +0000 (16:42 +0000)]
Update documentation regarding converters, etc.

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

17 years ago* do not lookup the same macro all the time
Stefan Schimanski [Thu, 24 May 2007 16:29:40 +0000 (16:29 +0000)]
* do not lookup the same macro all the time
* only update the representation if anything was changed (this gives a
  huge speedup), fixes #2452
* minor cleanup of the code, especially setting up the coordinate
  cache. Without this can lead to crashes if the macros do not mention
  all the arguments.
* And a last fix included makes sure that the metrics are always in
  sync with the drawing. Before it was possible to go into the macro
  with the cursor in a way that the metrics were for the viewing mode,
  but the drawing was done for editing.

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

17 years ago* force the tex2lyx Font class everywhere in tex2lyx. Without this in
Stefan Schimanski [Thu, 24 May 2007 16:09:31 +0000 (16:09 +0000)]
* force the tex2lyx Font class everywhere in tex2lyx. Without this in
  TextClass.cpp the tex2lyx Font class was used, but elsewhere the LyX one.
  Hence, because of different binary sizes strange segfaults happened because
  the inline methods of TextClass used a different binary layout than the
  non-inline methods.

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

17 years agoUpdated translations for Norwegian.
José Matox [Thu, 24 May 2007 16:02:42 +0000 (16:02 +0000)]
Updated translations for Norwegian.
Particularly new stuff:
* new menu entries
* TOC dialog
* listings dialog
* Lots of tooltips that was invisible last time
* Random changed texts all over the place

Helge Hafting

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

17 years agoIncrease listings counter for InsetInclude with lstinputlisting and a caption, fix...
Bo Peng [Thu, 24 May 2007 14:10:35 +0000 (14:10 +0000)]
Increase listings counter for InsetInclude with lstinputlisting and a caption, fix bug 3708

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

17 years agorestore empty attic folder
Edwin Leuven [Thu, 24 May 2007 13:15:55 +0000 (13:15 +0000)]
restore empty attic folder

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

17 years ago * ChangeLog.txt: spell-check the document (at least partly)
Michael Schmitt [Thu, 24 May 2007 12:26:01 +0000 (12:26 +0000)]
* ChangeLog.txt: spell-check the document (at least partly)

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

17 years ago* Import newcommand/providecommand/renewcommand/def macros as MathMacros
Stefan Schimanski [Thu, 24 May 2007 06:52:08 +0000 (06:52 +0000)]
* Import newcommand/providecommand/renewcommand/def macros as MathMacros
  if they are compatible (i.e. no optional arguments, no patterns)
* Recursive macros are also imported, but they only work correctly in the
  limits of the current macro implementation in LyX
* Fixes http://bugzilla.lyx.org/show_bug.cgi?id=21

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

17 years agoFix whitespace.
Richard Heck [Thu, 24 May 2007 05:29:45 +0000 (05:29 +0000)]
Fix whitespace.

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

17 years agoupdate build system after changeset 18478
Uwe Stöhr [Wed, 23 May 2007 23:55:52 +0000 (23:55 +0000)]
update build system after changeset 18478

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

17 years agoinstaller updates
Uwe Stöhr [Wed, 23 May 2007 23:46:17 +0000 (23:46 +0000)]
installer updates

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

17 years agopowerdot-example.lyx: transform ERT box to listings inset
Uwe Stöhr [Wed, 23 May 2007 23:41:22 +0000 (23:41 +0000)]
powerdot-example.lyx: transform ERT box to listings inset

EmbeddedObjects.lyx: update file after the latest bugfixes to listings

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

17 years ago- introduces toolbar_toggle lfun
Edwin Leuven [Wed, 23 May 2007 22:08:07 +0000 (22:08 +0000)]
- introduces toolbar_toggle lfun
- adds a "toggle math toolbar" and "toggle table toolbar" buttons to the main toolbar
 (i also moved "toggle toc" there)
- adds a "toggle math panels" button to the math toolbar
- reshuffles the Big Operators panel to avoid confusion with the sum icon on the math toolbar
- adds some icons

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

17 years agoAllow listing the lyx file itself, fix bug 3707
Bo Peng [Wed, 23 May 2007 19:24:06 +0000 (19:24 +0000)]
Allow listing the lyx file itself, fix bug 3707

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

17 years agoreorder list of makefiles
Jean-Marc Lasgouttes [Wed, 23 May 2007 13:03:09 +0000 (13:03 +0000)]
reorder list of makefiles

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

17 years agoFix bug 3301 (selecting buttons (e.g. a citation) with the mouse opens dialog)
Jean-Marc Lasgouttes [Wed, 23 May 2007 10:35:57 +0000 (10:35 +0000)]
Fix bug 3301 (selecting buttons (e.g. a citation) with the mouse opens dialog)

* insets/InsetExternal.cpp (doDispatch):
* insets/InsetGraphics.cpp (doDispatch):
* insets/InsetInclude.cpp (doDispatch):
* insets/InsetCommand.cpp (doDispatch):
* insets/InsetVSpace.cpp (doDispatch): do not open dialog if a
selection is set.

* insets/InsetRef.cpp (doDispatch):
* insets/InsetCharStyle.cpp (doDispatch): act on mouse release, not
mouse press.

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

17 years agoDo not forget to distribute lyxeditor script too.
Jean-Marc Lasgouttes [Wed, 23 May 2007 10:27:30 +0000 (10:27 +0000)]
Do not forget to distribute lyxeditor script too.

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

17 years agoFix crash with collapsable insets and multiple views
Abdelrazak Younes [Wed, 23 May 2007 07:43:16 +0000 (07:43 +0000)]
Fix crash with collapsable insets and multiple views

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

17 years ago* fix http://bugzilla.lyx.org/show_bug.cgi?id=3668:
Stefan Schimanski [Wed, 23 May 2007 07:27:13 +0000 (07:27 +0000)]
* fix http://bugzilla.lyx.org/show_bug.cgi?id=3668:
  \input{foo} means to input foo.tex, so add the .tex extension.

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

17 years agotwo small missing bits for rev18468
Jürgen Spitzmüller [Wed, 23 May 2007 04:09:09 +0000 (04:09 +0000)]
two small missing bits for rev18468

* src/frontends/qt4(QDocument.spp:
*src/frontends/qt4QInclude.spp:
- add missing toqstr conversion.

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

17 years agoMake listings dialog translatable (mostly strings from InsetListingsParams), fix...
Bo Peng [Wed, 23 May 2007 02:09:58 +0000 (02:09 +0000)]
Make listings dialog translatable (mostly strings from InsetListingsParams), fix bug 3645

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

17 years agoAdd dialect support and showstringspaces parameter to the listings dialog, fix bug...
Bo Peng [Wed, 23 May 2007 02:05:01 +0000 (02:05 +0000)]
Add dialect support and showstringspaces parameter to the listings dialog, fix bug 3664. Mostly from Jurgen

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

17 years agopowerdot.layout: is now officially included.
Uwe Stöhr [Wed, 23 May 2007 00:49:41 +0000 (00:49 +0000)]
powerdot.layout: is now officially included.

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

17 years agoinstaller updates
Uwe Stöhr [Wed, 23 May 2007 00:48:47 +0000 (00:48 +0000)]
installer updates

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

17 years agohe_Intro: updates by Ran
Uwe Stöhr [Tue, 22 May 2007 21:53:19 +0000 (21:53 +0000)]
he_Intro: updates by Ran

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

17 years agoAdd powerdot layout and example
Uwe Stöhr [Tue, 22 May 2007 21:35:22 +0000 (21:35 +0000)]
Add powerdot layout and example

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

17 years agoAdd proper name for list of listings under navigation menu, fix bug 3633
Bo Peng [Tue, 22 May 2007 20:29:58 +0000 (20:29 +0000)]
Add proper name for list of listings under navigation menu, fix bug 3633

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

17 years agoFix minor bug involving overlapping citation strings.
Richard Heck [Tue, 22 May 2007 15:20:19 +0000 (15:20 +0000)]
Fix minor bug involving overlapping citation strings.

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

17 years agorevert r17737; it was designed to fix bug 2993, but it created bug 3503. Consequently...
Jean-Marc Lasgouttes [Tue, 22 May 2007 14:06:40 +0000 (14:06 +0000)]
revert r17737; it was designed to fix bug 2993, but it created bug 3503. Consequently I will mark bug 2993 as wontfix

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

17 years agoproperly distribute LyX-Metadata on OS X
Jean-Marc Lasgouttes [Tue, 22 May 2007 12:34:23 +0000 (12:34 +0000)]
properly distribute LyX-Metadata on OS X

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

17 years agofix bug 1973 (hopefully)
Georg Baum [Tue, 22 May 2007 10:51:38 +0000 (10:51 +0000)]
fix bug 1973 (hopefully)

* src/Text2.cpp
(Text::setCharFont): Assert
(Text::setInsetFont): New, set the font recursively in insets
(Text::setFont): Call setInsetFont instead of setCharFont if needed

* src/DocIterator.cpp
(DocIterator::forwardIdx): Implement

* src/Text.h
(Text::setInsetFont): New, set the font recursively in insets
(Text::setCharFont): Document

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

17 years agomake InsetListings ready for dialects, part 1 (joint work with Bo Peng):
Jürgen Spitzmüller [Tue, 22 May 2007 04:43:30 +0000 (04:43 +0000)]
make InsetListings ready for dialects, part 1 (joint work with Bo Peng):

* src/insets/InsetListingsParams.cpp:
- complete list of languages/dialects
- fix some typos
- (validate): check for braces

* src/frontends/qt4/QListings.cpp:
- fix list of languages (not yet complete)
- make it possible to enter [dialect]language in the advanced widget

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

17 years agoANNOUNCE, NEWS: announce CJK support
Uwe Stöhr [Tue, 22 May 2007 01:19:14 +0000 (01:19 +0000)]
ANNOUNCE, NEWS: announce CJK support

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

17 years agoDetect if file is actually a directory in support/lyxsum.cpp, fix bug 3622
Bo Peng [Tue, 22 May 2007 00:27:56 +0000 (00:27 +0000)]
Detect if file is actually a directory in support/lyxsum.cpp, fix bug 3622

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

17 years agoinstaller updates
Uwe Stöhr [Mon, 21 May 2007 23:35:30 +0000 (23:35 +0000)]
installer updates

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

17 years agoinstaller:
Uwe Stöhr [Mon, 21 May 2007 23:01:30 +0000 (23:01 +0000)]
installer:
- Launcher: set default working directory when starting LyX
  (thanks again to Martin Rauscher for testing)

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

17 years agoPartial fix for bug 1474 (crashes on recursive includes) and complete fix for
Richard Heck [Mon, 21 May 2007 15:34:29 +0000 (15:34 +0000)]
Partial fix for bug 1474 (crashes on recursive includes) and complete fix for
bug 3659 (crash when file contains only an InsetInclude).

Added checks for self-inclusion. The reason this is not a complete fix is that
recursive input could arise from something other than self-inclusion. Checking
for that will be much more complicated, however.

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

17 years ago* src/frontends/qt4/QDocument.cpp (validate_listings_params):
Jürgen Spitzmüller [Mon, 21 May 2007 14:32:10 +0000 (14:32 +0000)]
* src/frontends/qt4/QDocument.cpp (validate_listings_params):
* src/frontends/qt4/QListings.cpp (validate_listings_params):
- care for the apply button as well.

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

17 years ago* lib/ui/default.ui:
Jürgen Spitzmüller [Mon, 21 May 2007 14:20:20 +0000 (14:20 +0000)]
* lib/ui/default.ui:
- view toolbar to the top.

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

17 years ago* lib/layouts/beamer.layout:
Jürgen Spitzmüller [Mon, 21 May 2007 11:29:46 +0000 (11:29 +0000)]
* lib/layouts/beamer.layout:
- add optional arguments to farmes, lists, pause and part.

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

17 years agoinstaller:
Uwe Stöhr [Sun, 20 May 2007 20:35:35 +0000 (20:35 +0000)]
installer:
- fix problem with path with spaces in the Launcher
  (thanks to Martin Rauscher for testing)
- add icons and version info to the launcher and the PDF viewer

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

17 years agoinstaller:
Uwe Stöhr [Sun, 20 May 2007 14:36:18 +0000 (14:36 +0000)]
installer:
- make the PDF view program Vista compatible
- fixed powerdot.layout again

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

17 years agoCleanup the listings dialog and make its content translatable (bug 3645):
Jürgen Spitzmüller [Sun, 20 May 2007 14:31:15 +0000 (14:31 +0000)]
Cleanup the listings dialog and make its content translatable (bug 3645):

* src/frontends/qt4/QListings.cpp:
- make widget entries translatable
- clean up and shuffle around some code

* src/frontends/qt4/ui/ListingsUi.ui:
- set isEditable here, not in QListings.cpp

* src/frontends/qt4/QDocument.cpp:
* src/frontends/qt4/QInclude.cpp:
- make Listings strings translatable

Fix bug 3654 (by Bo Peng):

* src/frontends/qt4/QListings.h:
- new slot on_numberSideCO_currentIndexChanged

* src/frontends/qt4/QListings.cpp:
- use this slot and enable(disable the appropriate widgets

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

17 years agoinstaller: better version for the launcher
Uwe Stöhr [Sun, 20 May 2007 14:06:34 +0000 (14:06 +0000)]
installer: better version for the launcher

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

17 years ago* avoid mallocs by only increasing the points array by at least a constant factor
Stefan Schimanski [Sun, 20 May 2007 08:50:54 +0000 (08:50 +0000)]
* avoid mallocs by only increasing the points array by at least a constant factor

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

17 years ago* src/insets/InsetListings.{cpp,h}:
Jürgen Spitzmüller [Sun, 20 May 2007 05:53:49 +0000 (05:53 +0000)]
* src/insets/InsetListings.{cpp,h}:
- implement metrics and draw, fix font initialization
(fix bug 3653)

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

17 years agoRemove color dependency of framed note, fix bug 3598
Bo Peng [Sun, 20 May 2007 02:53:19 +0000 (02:53 +0000)]
Remove color dependency of framed note, fix bug 3598

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

17 years agoinstaller:
Uwe Stöhr [Sun, 20 May 2007 01:12:40 +0000 (01:12 +0000)]
installer:
- fixed powerdot.layout
- new Vista-compatible Launcher (the program that hides LyX's console window)

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

17 years ago* markers2 are drawn below the inset, hence increase the descent instead of ascent...
Stefan Schimanski [Sat, 19 May 2007 19:45:55 +0000 (19:45 +0000)]
* markers2 are drawn below the inset, hence increase the descent instead of ascent by the frame size.

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

17 years agoinstaller updates
Uwe Stöhr [Sat, 19 May 2007 19:37:37 +0000 (19:37 +0000)]
installer updates

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

17 years agoFix for bug 3650. Made changes to the Paragraph::checkBiblio() routine,
Richard Heck [Sat, 19 May 2007 19:29:50 +0000 (19:29 +0000)]
Fix for bug 3650. Made changes to the Paragraph::checkBiblio() routine,
which now returns 1 if an InsetBibitem was inserted (and the cursor needs
to be incremented) or -POS if an InsetBibitem was deleted at position POS
(and the cursor needs to be decremented if it was past POS). Otherwise, it
returns 0. Made the corresponding changes in TextMetrics.cpp.

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

17 years ago* revert r18422. There are polylines much longer than 16
Stefan Schimanski [Sat, 19 May 2007 16:48:29 +0000 (16:48 +0000)]
* revert r18422. There are polylines much longer than 16

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

17 years ago* avoid one malloc by using a static array
Stefan Schimanski [Sat, 19 May 2007 13:15:08 +0000 (13:15 +0000)]
* avoid one malloc by using a static array

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

17 years agoexamples/he: - remove prefix "he" (part 2)
Uwe Stöhr [Sat, 19 May 2007 12:46:28 +0000 (12:46 +0000)]
examples/he: - remove prefix "he" (part 2)

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

17 years agoexamples/he: - new splash.lyx
Uwe Stöhr [Sat, 19 May 2007 12:45:25 +0000 (12:45 +0000)]
examples/he: - new splash.lyx
 - remove prefix "he" (part 1)

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

17 years ago* only antialias the whole polyline or no segment at all
Stefan Schimanski [Sat, 19 May 2007 10:52:47 +0000 (10:52 +0000)]
* only antialias the whole polyline or no segment at all
* Sqrt and Root draw their vertical horizontal line with a single line command to make them showup non-antialiased.

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

17 years agoEmbeddedObjects: reflect todays listings fixes
Uwe Stöhr [Sat, 19 May 2007 00:28:45 +0000 (00:28 +0000)]
EmbeddedObjects: reflect todays listings fixes

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

17 years agoinstaller: updates I forgot t commit
Uwe Stöhr [Fri, 18 May 2007 21:44:27 +0000 (21:44 +0000)]
installer: updates I forgot t commit

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

17 years agoBUG 3649: display float listings inline, like other float insets
Bo Peng [Fri, 18 May 2007 20:01:56 +0000 (20:01 +0000)]
BUG 3649: display float listings inline, like other float insets

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

17 years agoBUG 3598: display framed and shaded notes in a separate paragraph, require package...
Bo Peng [Fri, 18 May 2007 20:00:19 +0000 (20:00 +0000)]
BUG 3598: display framed and shaded notes in a separate paragraph, require package color also for framed note

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

17 years agoUpdate announce regarding clipboard and selection changes
Bo Peng [Fri, 18 May 2007 19:59:01 +0000 (19:59 +0000)]
Update announce regarding clipboard and selection changes

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

17 years agoFix lyx_pot.py (handling of lib/language went terribly wrong)
Bo Peng [Fri, 18 May 2007 18:39:31 +0000 (18:39 +0000)]
Fix lyx_pot.py (handling of lib/language went terribly wrong)

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

17 years ago* src/frontends/qt4/QListings.cpp:
Jürgen Spitzmüller [Fri, 18 May 2007 18:35:28 +0000 (18:35 +0000)]
* src/frontends/qt4/QListings.cpp:
- add Apply button
* src/frontends/qt4/ui/ListingsUi.ui:
- add Apply button
- add accelerators

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

17 years ago* src/frontends/qt4/ui:
Jürgen Spitzmüller [Fri, 18 May 2007 15:44:07 +0000 (15:44 +0000)]
* src/frontends/qt4/ui:
- make dialog non-modal (fix bug 3636)

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

17 years agoInsetListings: turn off inline/float when another is clicked, fix bug 3641 and 3642
Bo Peng [Fri, 18 May 2007 15:26:42 +0000 (15:26 +0000)]
InsetListings: turn off inline/float when another is clicked, fix bug 3641 and 3642

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

17 years agoInsetListings: update EmbeddedObjects.lyx
Bo Peng [Fri, 18 May 2007 14:53:38 +0000 (14:53 +0000)]
InsetListings: update EmbeddedObjects.lyx

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

17 years agoFix for bug 3637, joint work of Bo Peng and myself:
Jürgen Spitzmüller [Fri, 18 May 2007 14:40:39 +0000 (14:40 +0000)]
Fix for bug 3637, joint work of Bo Peng and myself:

* src/insets/InsetListingsParams.{cpp,h}
- implement getParamValue that returns the value of a listings param

* src/insets/InsetInclude.cpp:
- (getLabelList): pass listings label to the list, if available
- doDispatch: implement changeRefsIfUnique for listing labels

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

17 years agoInsetListings: change the interface of diaplay function and allow AlignLeft. Applied...
Bo Peng [Fri, 18 May 2007 14:32:29 +0000 (14:32 +0000)]
InsetListings: change the interface of diaplay function and allow AlignLeft. Applied to InsetListings. Fixes bug 3617, 3618

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

17 years agoInsetListings: change Params to Parameters for include dialog, Bug 3638
Bo Peng [Fri, 18 May 2007 14:24:11 +0000 (14:24 +0000)]
InsetListings: change Params to Parameters for include dialog, Bug 3638

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

17 years agoLFUN_MATH_foo: Add assertion to prevent recursive loop in RTL mode.
Abdelrazak Younes [Fri, 18 May 2007 09:48:26 +0000 (09:48 +0000)]
LFUN_MATH_foo: Add assertion to prevent recursive loop in RTL mode.

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

17 years ago* src/Cursor.cpp (parbreak):
Jürgen Spitzmüller [Fri, 18 May 2007 09:21:07 +0000 (09:21 +0000)]
* src/Cursor.cpp (parbreak):
- do not insert blank line for listings content.

* src/TextMetrics.cpp (setHeightOfRow):
        - don't use parkip in Listings insets (bug 3624)

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

17 years agoChange converter and format definitons for OpenDocument format.
Richard Heck [Fri, 18 May 2007 04:12:58 +0000 (04:12 +0000)]
Change converter and format definitons for OpenDocument format.

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

17 years agoEmbeddedObjects: new chapter about listings
Uwe Stöhr [Fri, 18 May 2007 02:16:34 +0000 (02:16 +0000)]
EmbeddedObjects: new chapter about listings

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

17 years agoBack to svn, preparing for release candidate 1.
José Matox [Thu, 17 May 2007 23:30:16 +0000 (23:30 +0000)]
Back to svn, preparing for release candidate 1.

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

17 years agoLyX-1.5.0 (beta 3) 1.5.0beta3
José Matox [Thu, 17 May 2007 23:27:06 +0000 (23:27 +0000)]
LyX-1.5.0 (beta 3)

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

17 years agoUpdate translations for 1.5.0 (beta 3) release (really).
José Matox [Thu, 17 May 2007 23:18:00 +0000 (23:18 +0000)]
Update translations for 1.5.0 (beta 3) release (really).

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

17 years agoUpdate translations for 1.5.0 (beta 3) release.
José Matox [Thu, 17 May 2007 23:07:03 +0000 (23:07 +0000)]
Update translations for 1.5.0 (beta 3) release.

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

17 years agoFix a crash which occurs when RTL flag is turned on.
José Matox [Thu, 17 May 2007 21:53:11 +0000 (21:53 +0000)]
Fix a crash which occurs when RTL flag is turned on.

The crash was being caused by the fact that when moving back from the
beginning of the line to the previous line (by pressing RIGHT in an
RTL paragraph, or LEFT in an LTR one), Bidi metrics for the new line
do not yet exist, but an attempt is made to access them.

Basically, this patch was created by trying to "symmetrically" copy
cursorRight (which seems to work well) to cursorLeft (which was
problematic).

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

17 years agoFix for a problem reported by some users, where cut & paste of math
José Matox [Thu, 17 May 2007 21:47:32 +0000 (21:47 +0000)]
Fix for a problem reported by some users, where cut & paste of math
insets in RTL paragraphs is garbled because of parentheses being reversed.

See threads http://permalink.gmane.org/gmane.editors.lyx.devel/83938 and
http://thread.gmane.org/gmane.editors.lyx.devel/83345/focus=83637 for
details.

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

17 years agoMark spaces which belong to a foreign language in the same manner that non-whitespace...
José Matox [Thu, 17 May 2007 21:20:34 +0000 (21:20 +0000)]
Mark spaces which belong to a foreign language in the same manner that non-whitespace is marked (from Dov).

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

17 years agoThis patch solves this crash (due to an assertion):
Abdelrazak Younes [Thu, 17 May 2007 19:19:37 +0000 (19:19 +0000)]
This patch solves this crash (due to an assertion):
1) Open EmbeddedObject.lyx
2) Open Toc
3) Click on section 7.2.2 which is in the second child document
4) assertion.

This commit adds proper support for multi-part documents. With this each child document has access to the _full_ TOC tree (including LOT and LOF). This enables to switch between master and child document using the TOC.

* buffer_funcs.cpp:
  - updateLabels(): do not emit Buffer::structureChanged() signal for child document
  - checkBufferStructure(): update the structure of the master document.

* ControlToc.cpp: always use the TocBackend of the master document.

* LyXView::connectBuffer(): connect structureChanged() of master document.

* TocBackend:
  - TocItem: get rid of child_ member.
  - TocBackend::item(): only compare items from the same document.

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

17 years agoInsetListings: separate first and last lines to a separate group box called range...
Bo Peng [Thu, 17 May 2007 18:23:45 +0000 (18:23 +0000)]
InsetListings: separate first and last lines to a separate group box called range, fix bug 3628

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

17 years agofix typos
Michael Schmitt [Thu, 17 May 2007 16:22:16 +0000 (16:22 +0000)]
fix typos

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

17 years agoAdd originaldir,needaux flags to default Latex to HTML(Word) conversion.
Richard Heck [Thu, 17 May 2007 15:33:47 +0000 (15:33 +0000)]
Add originaldir,needaux flags to default Latex to HTML(Word) conversion.

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

17 years ago[Bugs 3461 and 3630] Allow real_current_font to be reset in Text::setFont even when...
Richard Heck [Thu, 17 May 2007 12:17:38 +0000 (12:17 +0000)]
[Bugs 3461 and 3630] Allow real_current_font to be reset in Text::setFont even when we have a selection.

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

17 years ago[Bug 3461] Make escape key trigger a reset of the dialog.
Richard Heck [Thu, 17 May 2007 12:11:56 +0000 (12:11 +0000)]
[Bug 3461] Make escape key trigger a reset of the dialog.

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

17 years agofix format before Andre complains :)
Peter Kümmel [Thu, 17 May 2007 09:36:21 +0000 (09:36 +0000)]
fix format before Andre complains :)

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

17 years ago* src/Text3.cpp: record undo in specialChar.
Jürgen Spitzmüller [Thu, 17 May 2007 08:38:41 +0000 (08:38 +0000)]
* src/Text3.cpp: record undo in specialChar.

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