]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agohungarian update
Jean-Marc Lasgouttes [Mon, 19 Mar 2007 10:53:37 +0000 (10:53 +0000)]
hungarian update

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

17 years agoEmbeddedObjects: corrected index
Uwe Stöhr [Sun, 18 Mar 2007 19:05:58 +0000 (19:05 +0000)]
EmbeddedObjects: corrected index

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

17 years agoFix bug 3345
Uwe Stöhr [Sun, 18 Mar 2007 17:05:18 +0000 (17:05 +0000)]
Fix bug 3345
http://bugzilla.lyx.org/show_bug.cgi?id=3345

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

17 years agosilence compiler warning
Georg Baum [Sun, 18 Mar 2007 16:52:54 +0000 (16:52 +0000)]
silence compiler warning

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

17 years agosilence automake warning
Georg Baum [Sun, 18 Mar 2007 16:49:28 +0000 (16:49 +0000)]
silence automake warning

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

17 years agoEmbeddedObjects: Spanish update prepared for Ignacio to translate
Uwe Stöhr [Sun, 18 Mar 2007 15:42:30 +0000 (15:42 +0000)]
EmbeddedObjects: Spanish update prepared for Ignacio to translate
(The new files will be translated too and then renamed.)

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

17 years agoCustomization.lyx: reflect the latest EmbeddedObjects update
Uwe Stöhr [Sun, 18 Mar 2007 15:10:21 +0000 (15:10 +0000)]
Customization.lyx: reflect the latest EmbeddedObjects update

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

17 years agoFig bug 3335 (http://bugzilla.lyx.org/show_bug.cgi?id=3335)
Enrico Forestieri [Sun, 18 Mar 2007 15:00:57 +0000 (15:00 +0000)]
Fig bug 3335 (http://bugzilla.lyx.org/show_bug.cgi?id=3335)

* src/mathed/InsetMathScript.[Ch]
(InsetMathScript::dy01): new, jointly account for both superscript
and subscript according to the rules in Appendix G of the TeXbook.
(InsetMathScript::dy0, InsetMathScript::dy1): set ascent and descent
values using dy01 for non-limits super/subscripts.
(InsetMathScript::metrics): account for the new super/subscript
placement rules when setting ascent and descent values.

* src/mathed/MathData.[Ch]
(MathArray::metrics): cache parameters needed for super/subscript
placement. When nucleus is not empty, set its ascent value to zero
such that it is correctly computed later, otherwise ascent values
less than that of an 'I' are not reported.

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

17 years agoFix bug 3235
Georg Baum [Sun, 18 Mar 2007 10:59:16 +0000 (10:59 +0000)]
Fix bug 3235

* src/insets/insetcaption.C
(InsetCaption::latex): Copy back encoding to runparams_in

* src/insets/insetfoot.C
(InsetFoot::latex): ditto

* src/insets/insetnote.C
(InsetNote::latex): ditto

* src/exporter.C
(Exporter::Export): Create runparams with document encoding

* src/converter.C
(bool Converters::convert): ditto

* src/buffer.C
(Buffer::writeLaTeXSource): Copy back encoding to runparams_in
(Buffer::runChktex): Create runparams with document encoding
(Buffer::changeRefsIfUnique): ditto

* src/outputparams.[Ch]
(encoding): New member

* src/lyxfont.C
(LyXFont::latexWriteStartChanges): Don't switch the encoding anymore.
This is now done in Paragraph::simpleTeXOnePar.
(LyXFont::latexWriteEndChanges): Ditto

* src/output_latex.C
(TeXOnePar): Ditto

* src/paragraph.C
(Paragraph::simpleTeXOnePar): Switch the encoding between font
changes if needed.

* All other files: Adjust to the changes above

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

17 years agoFix TOC generation for build dir != src dir
Georg Baum [Sun, 18 Mar 2007 10:44:26 +0000 (10:44 +0000)]
Fix TOC generation for build dir != src dir
* lib/doc/depend.py
(documents): Add dir_prefix argument
(all_documents): Ditto
(main): Create document list with empty prefix, since the prefix will
be addded by a Makefile variable
(main): Don't use isdir to detect english language, since that does
not work for build dir != src dir

* lib/doc/doc_toc.py
(main): Don't use isdir to detect english language, since that does
not work for build dir != src dir, rather create the dir if it does
not exists.

* lib/doc/Makefile.depend: Regenerated

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

17 years agoSCons: build TOC.lyx during installation
Bo Peng [Sun, 18 Mar 2007 06:03:28 +0000 (06:03 +0000)]
SCons: build TOC.lyx during installation

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

17 years agosmall cleanup of the include dialog:
Uwe Stöhr [Sun, 18 Mar 2007 03:42:40 +0000 (03:42 +0000)]
small cleanup of the include dialog:
"Include" was for good reason the default method but not the first item in the dropdown list.

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

17 years agoEmbeddedObjects.lyx:
Uwe Stöhr [Sun, 18 Mar 2007 03:27:19 +0000 (03:27 +0000)]
EmbeddedObjects.lyx:
- new section about external material
- two hints concerning caption layout
The manual is now feature complete!

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

17 years agocorrect tooltip name for consistency
Uwe Stöhr [Sat, 17 Mar 2007 19:46:33 +0000 (19:46 +0000)]
correct tooltip name for consistency

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

17 years agofix bug: vert. maximized window is completely maximized after restart
Peter Kümmel [Sat, 17 Mar 2007 12:28:26 +0000 (12:28 +0000)]
fix bug: vert. maximized window is completely maximized after restart

src/frontends/Application.h : enum for maximized
src/frontends/LyXView.h     : enum for maximized
src/frontends/qt4/GuiView.h : enum for maximized
src/frontends/Application.C : enum for maximized
src/lyx_main.C              : enum for maximized
src/frontends/qt4/GuiView.C : restore complete, vert. hor. maximized window

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

17 years agoundo file format change
Georg Baum [Sat, 17 Mar 2007 10:30:31 +0000 (10:30 +0000)]
undo file format change

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

17 years agoDE UserGuide.lyx: huge updates from Hartmut and small changes by me
Uwe Stöhr [Sat, 17 Mar 2007 01:24:48 +0000 (01:24 +0000)]
DE UserGuide.lyx: huge updates from Hartmut and small changes by me

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

17 years ago> Rename marc.theaimsgroup.com to marc.info
Uwe Stöhr [Sat, 17 Mar 2007 00:18:10 +0000 (00:18 +0000)]
> Rename marc.theaimsgroup.com to marc.info
Forgot this

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

17 years agohopefully fix bug 3152.
Abdelrazak Younes [Fri, 16 Mar 2007 20:31:29 +0000 (20:31 +0000)]
hopefully fix bug 3152.

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

17 years agofix MSVC linking error
Abdelrazak Younes [Fri, 16 Mar 2007 15:24:36 +0000 (15:24 +0000)]
fix MSVC linking error

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

17 years agoCleanup of the Toc model and controller: The objective is to let the View (TocWidget...
Abdelrazak Younes [Fri, 16 Mar 2007 14:14:55 +0000 (14:14 +0000)]
Cleanup of the Toc model and controller: The objective is to let the View (TocWidget) decide which kind of list it want to show. The type given by InsetCommandParam() (as read by the controller (ControlToc) then just becomes a hint to the View. Most of the commit is about getting rid of the controller maintained list of types.

* TocBackend
  - addType(), types_, types(): deleted.

* ControlToc
  - tocs(): new
  - selectedType(): access to selected_type_
  - initialiseParams(): transfer code from QToc::update() and look for selected type.
  - getTypes(), getContents(): deleted

* QToc: do not maintain current type. Get the info from the View.
  - setTocModel(): deleted

* TocWidget: always pass the currently selected type to the model/controller.
  - setTocModel(): new slot.
  - updateGui(): transfer code to setTocModel().

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

17 years ago * src/LaTeX.C
Georg Baum [Fri, 16 Mar 2007 12:14:06 +0000 (12:14 +0000)]
* src/LaTeX.C
(handleFoundFile): Don't strip off " permanently
(handleFoundFile): Fix another case of embedded 0
(LaTeX::deplog): Small simplification

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

17 years agoFix bug 3226:
Abdelrazak Younes [Fri, 16 Mar 2007 11:36:36 +0000 (11:36 +0000)]
Fix bug 3226:

* text.C
  - LyXText::getPossibleLabel(): cleanup and add the caption case.

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

17 years ago * src/LaTeX.C
Georg Baum [Fri, 16 Mar 2007 10:21:15 +0000 (10:21 +0000)]
* src/LaTeX.C
(handleFoundFile): Don't embed a 0 character in a string
(handleFoundFile): Don't call fs::exists without an fs::native check

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

17 years ago* src/LaTeX.C (handleFoundFile):
Jürgen Spitzmüller [Fri, 16 Mar 2007 09:13:42 +0000 (09:13 +0000)]
* src/LaTeX.C (handleFoundFile):
- consider that paths with spaces might be enclosed in quotation marks
  (partial fix for bug 3172).

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

17 years agoCorrect name: XFig -> Xfig
Uwe Stöhr [Thu, 15 Mar 2007 21:22:02 +0000 (21:22 +0000)]
Correct name: XFig -> Xfig

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

17 years agoFix this bug reported by Bernhard Roider:
Abdelrazak Younes [Thu, 15 Mar 2007 19:16:53 +0000 (19:16 +0000)]
Fix this bug reported by Bernhard Roider:

steps to reproduce:
- create a new document
- change the document class to article (AMS)
- change the current layout to theorem, definition, proposition, ....
- try to write something -> boom

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

17 years agoremove unused variable
Georg Baum [Thu, 15 Mar 2007 18:10:16 +0000 (18:10 +0000)]
remove unused variable

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

17 years agoUpdate INSTALL for MacOS X
José Matox [Thu, 15 Mar 2007 15:13:59 +0000 (15:13 +0000)]
Update INSTALL for MacOS X

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

17 years agoAdd const access to caption type.
Abdelrazak Younes [Thu, 15 Mar 2007 11:47:02 +0000 (11:47 +0000)]
Add const access to caption type.

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

17 years agofix typo
Georg Baum [Wed, 14 Mar 2007 20:23:54 +0000 (20:23 +0000)]
fix typo

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

17 years ago2 new images for the upcoming new EmbeddedObjects version
Uwe Stöhr [Wed, 14 Mar 2007 02:51:56 +0000 (02:51 +0000)]
2 new images for the upcoming new EmbeddedObjects version

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

17 years agoDon't hide the library directory when it appears alone
Enrico Forestieri [Wed, 14 Mar 2007 00:36:25 +0000 (00:36 +0000)]
Don't hide the library directory when it appears alone

src/support/filetools.C
(makeDisplayPath): do not shorten path when it is the libdir one.

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

17 years agoIntro.lyx: fix tipo
Uwe Stöhr [Tue, 13 Mar 2007 23:19:33 +0000 (23:19 +0000)]
Intro.lyx: fix tipo

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

17 years agoadd comment about strange code
Georg Baum [Tue, 13 Mar 2007 20:06:04 +0000 (20:06 +0000)]
add comment about strange code

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

17 years ago * src/paragraph_pimpl.[Ch]
Georg Baum [Tue, 13 Mar 2007 19:46:56 +0000 (19:46 +0000)]
* src/paragraph_pimpl.[Ch]
(Paragraph::Pimpl::simpleTeXSpecialChars): Get rid of the 'font'
argument, since the caller ensures that it is equal to 'running_font'.

* src/paragraph.C
(Paragraph::simpleTeXOnePar): Adjust to change above

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

17 years agorevert 17429
André Pönitz [Tue, 13 Mar 2007 15:20:26 +0000 (15:20 +0000)]
revert 17429

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

17 years ago * encoding.C (read): fix missing initialization.
Jean-Marc Lasgouttes [Tue, 13 Mar 2007 14:48:46 +0000 (14:48 +0000)]
* encoding.C (read): fix missing initialization.

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

17 years agoDon't use the char version of uppercase
Georg Baum [Tue, 13 Mar 2007 10:22:10 +0000 (10:22 +0000)]
Don't use the char version of uppercase

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

17 years agoFix #988. Note that this introduces a new translatable message
André Pönitz [Tue, 13 Mar 2007 00:48:25 +0000 (00:48 +0000)]
Fix #988. Note that this introduces a new translatable message

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

17 years agofix #3295
André Pönitz [Mon, 12 Mar 2007 23:42:35 +0000 (23:42 +0000)]
fix #3295

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

17 years ago po/de.po: adjust to new TOC dialog
Michael Schmitt [Mon, 12 Mar 2007 22:59:58 +0000 (22:59 +0000)]
po/de.po: adjust to new TOC dialog

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

17 years ago po/*.po: remerge
Michael Schmitt [Mon, 12 Mar 2007 22:38:14 +0000 (22:38 +0000)]
po/*.po: remerge

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

17 years agofix linker error
Peter Kümmel [Mon, 12 Mar 2007 22:17:55 +0000 (22:17 +0000)]
fix linker error

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

17 years agoImprove fix for bug 3305
Georg Baum [Mon, 12 Mar 2007 19:38:20 +0000 (19:38 +0000)]
Improve fix for bug 3305
* src/LaTeX.C
(insertIfExists): Instead of catching all fs exceptions, test for a
valid filename before constructing a fs::path. This gets rid of the
exceptions because of invalid names, but does still allow other
expcetions to be thrown (e.g. because of file system problems).
(handleFoundFile): ditto

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

17 years ago * src/changes.C: reduce debug output
Michael Schmitt [Mon, 12 Mar 2007 19:03:47 +0000 (19:03 +0000)]
* src/changes.C: reduce debug output

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

17 years agoPrepare for fixing bug 3235
Georg Baum [Mon, 12 Mar 2007 17:19:08 +0000 (17:19 +0000)]
Prepare for fixing bug 3235
* src/output_latex.C
(TeXEnvironment): Rename language variables to make it very clear
that they denote the paragraph language, not the character language.
(TeXOnePar): ditto

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

17 years agoadd some safeguards (while investigating bug 3152).
Abdelrazak Younes [Mon, 12 Mar 2007 17:03:42 +0000 (17:03 +0000)]
add some safeguards (while investigating bug 3152).

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

17 years agoWe don't need a QMainWindow parent.
Abdelrazak Younes [Mon, 12 Mar 2007 15:45:08 +0000 (15:45 +0000)]
We don't need a QMainWindow parent.

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

17 years ago* src/buffer.C (readHeader):
Jürgen Spitzmüller [Mon, 12 Mar 2007 15:15:21 +0000 (15:15 +0000)]
* src/buffer.C (readHeader):
- reset custom bullets initially. Fixes bug 3312.
* src/bufferparams.C: fix typo in comment

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

17 years agoMake r17416 compile.
Jürgen Spitzmüller [Mon, 12 Mar 2007 15:11:18 +0000 (15:11 +0000)]
Make r17416 compile.
Abdel, are Windows compiler really that dumb?

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

17 years agoadjust keyboard shortcuts for buttons.
Abdelrazak Younes [Mon, 12 Mar 2007 14:49:27 +0000 (14:49 +0000)]
adjust keyboard shortcuts for buttons.

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

17 years ago* ControlToc:
Abdelrazak Younes [Mon, 12 Mar 2007 14:23:44 +0000 (14:23 +0000)]
* ControlToc:
  - initialiseParams(): overload ControlCommand::initialiseParams() so that we can update the model at this point (QToc is the controller _and_ the model).
  - update(): new
  - updateBackend(): new protected method to update the TocBackend (called for the "Update" button).

* QToc:
  - is now a QObject
  - modelReset: new Qt signal to indicate a model reset to associated dialog(s).
  - QToc(): avoid the duplicate update() call that will be done in the show command anyway.

* Dialogs.C
  - use new TocWidget in a DockView.

* TocWidget.[Ch]: renamed from QTocDialog. This striped down widget is only a widget that connects to the 'QToc' model/controller.

* DockView.h: new template class that encapsulates a given Widget inside a DockWidget and presents a Dialog::View interface.

* QTocUi.ui:
  - now is a simple Widget.
  - rearrange the buttons a bit
  - get rid of the unneeded close button.
  - modify the shortcut to "Promote" to 'r' because of a clash with "Alt-p" number (we really need real, always valid, shortcuts for all outline action!)

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

17 years ago* LyXFunc::menuNew():
Abdelrazak Younes [Mon, 12 Mar 2007 11:30:48 +0000 (11:30 +0000)]
* LyXFunc::menuNew():
  - bug correction: don't forget to call updateLabels() to initialize the different backends.

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

17 years ago* frontends/Dialogs::updateBufferDependent()
Abdelrazak Younes [Mon, 12 Mar 2007 11:27:47 +0000 (11:27 +0000)]
* frontends/Dialogs::updateBufferDependent()
  - update dialogs instead of hiding for dialogs that support that.

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

17 years agoSupport code for advanced Toc management and bug correction.
Abdelrazak Younes [Mon, 12 Mar 2007 11:23:41 +0000 (11:23 +0000)]
Support code for advanced Toc management and bug correction.

* buffer.h:
  - structureChanged(): new boost signal. I intend to use that also when a text is changed in a section or caption item.

* buffer_funcs.C:
  - updateLabels(): emit Buffer::structureChanged() after TocBackend is updated.
  - checkBufferStructure(): new method for updating the TocBackend if needed.

* LyXView:
  - updateToc(): new slot for Buffer::structureChanged() signal.

* text.C:
  - call checkBufferStructure() whenever text is added or erased.

* TocBackend.[Ch]:
  - updateItem(): new method to update a specific item (called from checkBufferStructure()).

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

17 years agofix cygwin postinstall script
Bo Peng [Mon, 5 Mar 2007 15:37:36 +0000 (15:37 +0000)]
fix cygwin postinstall script

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

17 years agoFix bug 3303 from Bernhard Roider. Some explanation:
Abdelrazak Younes [Mon, 5 Mar 2007 13:16:55 +0000 (13:16 +0000)]
Fix bug 3303 from Bernhard Roider. Some explanation:

The problem was that pit is a reference to cur.pit() and was set to lastpit() + 1 before calling recordUndo(cur, ...). thus an invalid cursor position was stored in the undo buffer.
A side effect of the attached patch is that now the cursor keeps staying in the moved section header  on undo (which is not the case in current trunk)

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

17 years agotutorial updates from Hartmut
Uwe Stöhr [Sun, 4 Mar 2007 18:32:36 +0000 (18:32 +0000)]
tutorial updates from Hartmut

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

17 years agoadd firefox as HTML previewer
Michael Schmitt [Sun, 4 Mar 2007 15:43:16 +0000 (15:43 +0000)]
add firefox as HTML previewer

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

17 years agofix clipart installation
Georg Baum [Sun, 4 Mar 2007 15:30:38 +0000 (15:30 +0000)]
fix clipart installation

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

17 years agoEmbeddedObjects: small fix
Uwe Stöhr [Sun, 4 Mar 2007 14:41:24 +0000 (14:41 +0000)]
EmbeddedObjects: small fix

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

17 years agoFix bug 3305
Georg Baum [Sun, 4 Mar 2007 13:22:38 +0000 (13:22 +0000)]
Fix bug 3305
* src/LaTeX.C
(insertIfExists): Catch boost::filesystem exceptions, since they
are not errors in this context
(handleFoundFile): ditto

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

17 years agocompile fix.
Georg Baum [Sun, 4 Mar 2007 13:05:12 +0000 (13:05 +0000)]
compile fix.
I have no idea whether this installs correctly, but it compiles at least.

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

17 years agoUse only one codeset definition
Georg Baum [Sun, 4 Mar 2007 13:04:18 +0000 (13:04 +0000)]
Use only one codeset definition

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

17 years ago * scons/SConstruct: fix clipart directory; remove duplicate 'doc' entry
Michael Schmitt [Sun, 4 Mar 2007 10:52:31 +0000 (10:52 +0000)]
* scons/SConstruct: fix clipart directory; remove duplicate 'doc' entry

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

17 years ago * src/author.[Ch]: constify AuthorList::get()
Michael Schmitt [Sun, 4 Mar 2007 09:37:32 +0000 (09:37 +0000)]
* src/author.[Ch]: constify AuthorList::get()

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

17 years agofix building: replace lib_clipart_files by lib_doc_clipart_files
Michael Schmitt [Sun, 4 Mar 2007 09:35:41 +0000 (09:35 +0000)]
fix building: replace lib_clipart_files by lib_doc_clipart_files

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

17 years agoadd missing clipart directories
Uwe Stöhr [Sun, 4 Mar 2007 04:03:54 +0000 (04:03 +0000)]
add missing clipart directories

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

17 years agoBIG change:
Uwe Stöhr [Sun, 4 Mar 2007 03:06:14 +0000 (03:06 +0000)]
BIG change:

- move the images to a clipart folder under lib/doc
- remove the old clipart folder under /lib
- create a new clipart folder for every language to collect there language specific images (currently that only affects Spanish)
- fix Slovak userguide
- adjust image paths to reflect the changes (there were btw. broken after JMarcs last change)

If something is wrong please mail me!

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

17 years ago- whitespace for Lars
Uwe Stöhr [Sun, 4 Mar 2007 01:56:58 +0000 (01:56 +0000)]
- whitespace for Lars

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

17 years ago- fix bug 2458
Uwe Stöhr [Fri, 2 Mar 2007 22:20:32 +0000 (22:20 +0000)]
- fix bug 2458
http://bugzilla.lyx.org/show_bug.cgi?id=2458
- whitespace

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

17 years agoREADME.localization: updates from Pavel Sanda
Uwe Stöhr [Fri, 2 Mar 2007 21:48:13 +0000 (21:48 +0000)]
README.localization: updates from Pavel Sanda

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

17 years ago * src/support/lstrings.C
Georg Baum [Fri, 2 Mar 2007 16:52:49 +0000 (16:52 +0000)]
* src/support/lstrings.C
(lowercase): assert that input is pure ASCII
(uppercase): ditto

* src/support/lstrings.h
(lowercase): document that only ASCII input is allowed
(uppercase): ditto

* src/lyxfind.C
(stringSelected): Use compare_no_case (more efficient)

* src/MenuBackend.C: remove unused using directive

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

17 years agoupdate tinyurl for 1.5.X bugs
Michael Schmitt [Thu, 1 Mar 2007 20:39:49 +0000 (20:39 +0000)]
update tinyurl for 1.5.X bugs

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

17 years agoremove unneeded namespace
Georg Baum [Thu, 1 Mar 2007 16:35:26 +0000 (16:35 +0000)]
remove unneeded namespace

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

17 years agoFix bug 3302 (untested): Add missing internal_path
Georg Baum [Thu, 1 Mar 2007 16:25:51 +0000 (16:25 +0000)]
Fix bug 3302 (untested): Add missing internal_path

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

17 years agode/Tutorial and Intro: Updates by Hartmut
Uwe Stöhr [Wed, 28 Feb 2007 22:54:19 +0000 (22:54 +0000)]
de/Tutorial and Intro: Updates by Hartmut

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

17 years ago * Makefile.in.in (i18n.php): make the target depend on postats.sh
Jean-Marc Lasgouttes [Wed, 28 Feb 2007 22:36:01 +0000 (22:36 +0000)]
* Makefile.in.in (i18n.php): make the target depend on postats.sh

* postats.sh: make e-mail addresses less readable

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

17 years ago * support/filetools.C (makeDisplayPath): if the file is in the lyx
Jean-Marc Lasgouttes [Wed, 28 Feb 2007 21:48:04 +0000 (21:48 +0000)]
* support/filetools.C (makeDisplayPath): if the file is in the lyx
support directory, return as a relative path (enclosed in brackets)

* frontends/qt4/GuiView.C (updateTabs): use makeDisplayPath instead
of onlyFileName.

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

17 years agoremove pointless clear() in constructor (reported by Lars)
Michael Schmitt [Wed, 28 Feb 2007 20:58:15 +0000 (20:58 +0000)]
remove pointless clear() in constructor (reported by Lars)

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

17 years agoChanging ; to # (and testing to commit)
Christian Ridderström [Wed, 28 Feb 2007 20:48:30 +0000 (20:48 +0000)]
Changing ; to # (and testing to commit)

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

17 years agofix bug 2483:
Abdelrazak Younes [Wed, 28 Feb 2007 14:36:38 +0000 (14:36 +0000)]
fix bug 2483:
http://bugzilla.lyx.org/show_bug.cgi?id=2483

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

17 years agoFix bug 3232
Georg Baum [Wed, 28 Feb 2007 09:12:32 +0000 (09:12 +0000)]
Fix bug 3232
* src/insets/ExternalSupport.C
(updateExternal): Don't forbid conversions using the default converter

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

17 years agoFix bug 3292:
Uwe Stöhr [Tue, 27 Feb 2007 23:48:57 +0000 (23:48 +0000)]
Fix bug 3292:
http://bugzilla.lyx.org/show_bug.cgi?id=3292
(fix tab order)

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

17 years agoFix bug 2937 (from Jean-Baptiste LAMY)
Georg Baum [Tue, 27 Feb 2007 19:01:10 +0000 (19:01 +0000)]
Fix bug 2937 (from Jean-Baptiste LAMY)
* src/support/filename.C
(DocFileName::mangledFilenam): Use a whitelist of allowed characters
instead of an incomplete blacklist of disallowed ones

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

17 years agoadd "Reconfigure" to the LyX menu.
Jean-Marc Lasgouttes [Tue, 27 Feb 2007 15:30:29 +0000 (15:30 +0000)]
add "Reconfigure" to the LyX menu.

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

17 years agoAnother fix for bug 3081 (related to booktabs this time)
Jean-Marc Lasgouttes [Tue, 27 Feb 2007 10:42:34 +0000 (10:42 +0000)]
Another fix for bug 3081 (related to booktabs this time)

* tabular.C (TeXRow): do not forget to increment the row counter

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

17 years agoFix some entries. Either fix or clear fuzzy entries.
Lars Gullik Bjønnes [Mon, 26 Feb 2007 22:44:04 +0000 (22:44 +0000)]
Fix some entries. Either fix or clear fuzzy entries.

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

17 years agotypos
Jean-Marc Lasgouttes [Mon, 26 Feb 2007 22:27:37 +0000 (22:27 +0000)]
typos

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

17 years ago * src/frontends/qt4/QLMenubar.C (macxMenuBarInit): use the new support
Jean-Marc Lasgouttes [Mon, 26 Feb 2007 19:54:41 +0000 (19:54 +0000)]
* src/frontends/qt4/QLMenubar.C (macxMenuBarInit): use the new support
Qt 4.2 for Mac menus (no merging is done for qt < 4.2 now).
        * src/frontends/qt4/Action.C (Action): initialize menu role to NoRole
for qt >= 4.2.

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

17 years ago po/de.po: small update (10 messages)
Michael Schmitt [Mon, 26 Feb 2007 18:55:31 +0000 (18:55 +0000)]
po/de.po: small update (10 messages)

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

17 years agoGet rid of some locale dependant functions
Georg Baum [Mon, 26 Feb 2007 18:54:03 +0000 (18:54 +0000)]
Get rid of some locale dependant functions

* src/output_plaintext.C
(writePlaintextParagraph): Use compare_ascii_no_case instead of
compare_no_case, since the strings to compare are pure ASCII anyway.

* src/frontends/qt4/QPrefsDialog.C
(setComboxFont): ditto

* src/MenuBackend.C
(Menu::checkShortcuts): ditto

* src/frontends/qt4/QLImage.C
(QLImage::loadableFormats): Use ascii_lowercase instead of lowercase
since the input is pure ASCII anyway.

* src/tex2lyx/text.C
(splitLatexLength): ditto

* src/support/lstrings.[Ch]
(compare_no_case): Get rid of both std::string variants
(lowercase): Get rid of std::string variant
(uppercase): Change std::string variant to docstring

* src/support/tests/regfiles/lstrings: Add new expected output

* src/support/tests/lstrings.C: Add tests for docstring functions

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

17 years agoinstall images/math/frac-square.xpm (used in dialog)
Michael Schmitt [Mon, 26 Feb 2007 18:42:51 +0000 (18:42 +0000)]
install images/math/frac-square.xpm (used in dialog)

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

17 years ago * po/*.po: remerge (two new messages)
Michael Schmitt [Mon, 26 Feb 2007 18:22:10 +0000 (18:22 +0000)]
* po/*.po: remerge (two new messages)

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

17 years agoDocument symbol fonts hack (text from Georg Baum).
Abdelrazak Younes [Mon, 26 Feb 2007 16:22:54 +0000 (16:22 +0000)]
Document symbol fonts hack (text from Georg Baum).

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

17 years agoinstall frac-square.xpm
Michael Schmitt [Mon, 26 Feb 2007 16:18:24 +0000 (16:18 +0000)]
install frac-square.xpm

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

17 years agoChange windows installer comments from ; to #
Bo Peng [Mon, 26 Feb 2007 16:03:30 +0000 (16:03 +0000)]
Change windows installer comments from ; to #

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

17 years agoremove stray dollar sign
Georg Baum [Mon, 26 Feb 2007 15:37:48 +0000 (15:37 +0000)]
remove stray dollar sign

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

17 years agocompile fix
Georg Baum [Mon, 26 Feb 2007 15:36:36 +0000 (15:36 +0000)]
compile fix

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