]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoDo not use \&@#^_~$ as lstinline delimiter, as suggested by Herbert
Bo Peng [Sat, 26 May 2007 20:45:24 +0000 (20:45 +0000)]
Do not use \&@#^_~$ as lstinline delimiter, as suggested by Herbert

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

17 years agoRemove shortcuts for buffer-reload, per JMarc.
Richard Heck [Sat, 26 May 2007 17:45:23 +0000 (17:45 +0000)]
Remove shortcuts for buffer-reload, per JMarc.

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

17 years agoFix bug 3644: Make cancel button the default in revert dialog.
Richard Heck [Sat, 26 May 2007 17:42:23 +0000 (17:42 +0000)]
Fix bug 3644: Make cancel button the default in revert dialog.

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

17 years agoFix for bug 3488. Need to reconnect buffer if load of new buffer fails. Also added...
Richard Heck [Sat, 26 May 2007 17:38:26 +0000 (17:38 +0000)]
Fix for bug 3488. Need to reconnect buffer if load of new buffer fails. Also added comments regarding possible fix for bug 3701.

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

17 years agoCleanup. Also added notes about how to fix bug 3440, which I do not propose to do...
Richard Heck [Sat, 26 May 2007 17:35:54 +0000 (17:35 +0000)]
Cleanup. Also added notes about how to fix bug 3440, which I do not propose to do now.

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

17 years agoChange related to 18445: buffer.fileName() uses .absFilename().
Richard Heck [Sat, 26 May 2007 17:33:52 +0000 (17:33 +0000)]
Change related to 18445: buffer.fileName() uses .absFilename().

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

17 years agoMake logic clearer, with help from Lars.
Richard Heck [Sat, 26 May 2007 17:26:58 +0000 (17:26 +0000)]
Make logic clearer, with help from Lars.

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

17 years agoadd some const.
Abdelrazak Younes [Sat, 26 May 2007 15:03:19 +0000 (15:03 +0000)]
add some const.

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

17 years ago- white space
Abdelrazak Younes [Sat, 26 May 2007 14:53:12 +0000 (14:53 +0000)]
- white space
- replace an occurrence of from_ascii() to _() for translation

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

17 years ago- Convert char * to string and docstring for the hints, thus fixing the translation.
Abdelrazak Younes [Sat, 26 May 2007 14:45:38 +0000 (14:45 +0000)]
- Convert char * to string and docstring for the hints, thus fixing the translation.
- cleanup the header.
- encapsulate local code in local namespace.

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

17 years ago * po/*.po: remerge
Michael Schmitt [Sat, 26 May 2007 13:28:23 +0000 (13:28 +0000)]
* po/*.po: remerge

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

17 years ago * lib/ui/stdmenues.inc: rename "Table Of Contents" to "Outline"
Michael Schmitt [Sat, 26 May 2007 12:41:39 +0000 (12:41 +0000)]
* lib/ui/stdmenues.inc: rename "Table Of Contents" to "Outline"

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

17 years ago * src/insets/InsetInclude.cpp: formatting (in response to r18445)
Michael Schmitt [Sat, 26 May 2007 11:25:41 +0000 (11:25 +0000)]
* src/insets/InsetInclude.cpp: formatting (in response to r18445)

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

17 years agoSanitize cursor saving/restoring in a multi-view context.
Abdelrazak Younes [Fri, 25 May 2007 23:17:24 +0000 (23:17 +0000)]
Sanitize cursor saving/restoring in a multi-view context.

* Inset: new destroyed signal (copy ctor and operator= needed because of a signal is not copiable)

* CursorSlice:
 - connect to inset destructor wherever possible
 - invalidate(), isValid(): new method.
 - inset_: now private

* DocIterator::fixIfBroken(): new method for properly fixing cursors.

* StableDocIterator::asDocIterator(): verify cursor sanity before creating it.

* Cursor::fixIfBroken(): now a simple wrapper around DocIterator::fixIfBroken()

* BufferView::setBuffer(): verify cursor sanity before restoring it.

* WorkArea::redraw(): verify cursor sanity of concurrent BufferView display.

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

17 years agoinstaller update
Uwe Stöhr [Fri, 25 May 2007 17:13:49 +0000 (17:13 +0000)]
installer update

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

17 years agoUnicodesymbols: - add all characters supported by the textcomp-package
Uwe Stöhr [Fri, 25 May 2007 17:10:53 +0000 (17:10 +0000)]
Unicodesymbols: - add all characters supported by the textcomp-package
                - add quotation characters

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

17 years agoChoose a delimiter for lstinline (braces can not be used for some listings version)
Bo Peng [Fri, 25 May 2007 16:15:02 +0000 (16:15 +0000)]
Choose a delimiter for lstinline (braces can not be used for some listings version)

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

17 years agofix eol style
Peter Kümmel [Fri, 25 May 2007 15:19:31 +0000 (15:19 +0000)]
fix eol style

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

17 years agoupdate to boost 1.34
Peter Kümmel [Fri, 25 May 2007 15:15:20 +0000 (15:15 +0000)]
update to boost 1.34

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

17 years agofix merge build src/frontends/qt4/QDocument.cpp
Peter Kümmel [Fri, 25 May 2007 15:05:46 +0000 (15:05 +0000)]
fix merge build src/frontends/qt4/QDocument.cpp

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

17 years agoInsetListings: use float for placements because of the handling differences between...
Bo Peng [Fri, 25 May 2007 14:38:22 +0000 (14:38 +0000)]
InsetListings: use float for placements because of the handling differences between float and floatplacement

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

17 years agofix bug 3723:
Jürgen Spitzmüller [Fri, 25 May 2007 12:32:08 +0000 (12:32 +0000)]
fix bug 3723:

* src/Buffer.cpp (read): clear listings params.

* src/frontends/qt4/QDocument.cpp: whitespace

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

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