]> git.lyx.org Git - lyx.git/log
lyx.git
16 years agoGerman Math.lyx: correct document title
Uwe Stöhr [Mon, 28 Jan 2008 11:54:32 +0000 (11:54 +0000)]
German Math.lyx: correct document title

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

16 years agorevert erroneous commit
Jean-Marc Lasgouttes [Mon, 28 Jan 2008 11:42:54 +0000 (11:42 +0000)]
revert erroneous commit

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

16 years ago * src/Text.cpp (changeCase): do not set the selection if it was not
Jean-Marc Lasgouttes [Mon, 28 Jan 2008 10:50:24 +0000 (10:50 +0000)]
* src/Text.cpp (changeCase): do not set the selection if it was not
already set.

* src/Paragraph.cpp (changeCase): make sure to update the selection
as needed.

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

16 years agoDocumentation updates from Hartmut
Uwe Stöhr [Sun, 27 Jan 2008 21:29:07 +0000 (21:29 +0000)]
Documentation updates from Hartmut

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

16 years agobuild_msvc.bat: revert the unwanted change in r22691
Uwe Stöhr [Sun, 27 Jan 2008 21:10:14 +0000 (21:10 +0000)]
build_msvc.bat: revert the unwanted change in r22691

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

16 years agoI wrote a new manual "LyX's detailed math manual". See the announcement on the list.
Uwe Stöhr [Sun, 27 Jan 2008 20:58:45 +0000 (20:58 +0000)]
I wrote a new manual "LyX's detailed math manual". See the announcement on the list.
The file examples/mathed.lyx is no longer needed as its content is part of the new manual.

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

16 years ago* Doxy.
Pavel Sanda [Sat, 26 Jan 2008 20:43:26 +0000 (20:43 +0000)]
* Doxy.

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

16 years agoFix some problems in makeAbsPath():
Richard Heck [Sat, 26 Jan 2008 20:41:19 +0000 (20:41 +0000)]
Fix some problems in makeAbsPath():
i.  It didn't handle a leading "~"
ii. It wrongly handled a string of ../../etc when this took us back to the root directory.
Fix for (i) borrowed from expandPath(). The other is just logic.

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

16 years agoHandle the case where a file exists but is not readable by the current user.
Richard Heck [Sat, 26 Jan 2008 20:37:54 +0000 (20:37 +0000)]
Handle the case where a file exists but is not readable by the current user.

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

16 years agoAdd some comments, and change enum terminology to reflect actual purpose.
Richard Heck [Sat, 26 Jan 2008 20:25:25 +0000 (20:25 +0000)]
Add some comments, and change enum terminology to reflect actual purpose.

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

16 years agoFix bug 4517.
Richard Heck [Sat, 26 Jan 2008 20:02:30 +0000 (20:02 +0000)]
Fix bug 4517.

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

16 years ago* no box around the pixmap option anymore. So we disable the option directly.
Stefan Schimanski [Sat, 26 Jan 2008 17:44:36 +0000 (17:44 +0000)]
* no box around the pixmap option anymore. So we disable the option directly.

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

16 years ago* sort lyxrc tag table
Stefan Schimanski [Sat, 26 Jan 2008 17:44:15 +0000 (17:44 +0000)]
* sort lyxrc tag table

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

16 years ago* readd the tooltip for the pixmap cache option
Stefan Schimanski [Sat, 26 Jan 2008 01:19:11 +0000 (01:19 +0000)]
* readd the tooltip for the pixmap cache option

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

16 years ago* move the Pixmap Cache check box where it belongs: screen fonts
Stefan Schimanski [Sat, 26 Jan 2008 01:14:37 +0000 (01:14 +0000)]
* move the Pixmap Cache check box where it belongs: screen fonts

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

16 years ago* Partly reverting r22619 by Bo which broke the loading of documents
Stefan Schimanski [Sat, 26 Jan 2008 00:47:46 +0000 (00:47 +0000)]
* Partly reverting r22619 by Bo which broke the loading of documents
  with graphics like the user guide and the introduction text. I guess
  this is the intended behaviour. If not (and hence enable should do
  something even though the mode does not change), it is a bad design
  IMO. Without this patch some assert was triggered because extract()
  was called although nothing is embedded.

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

16 years ago* fix random jumps when scrolling very fast using a touchpad or mouse wheel.
Stefan Schimanski [Sat, 26 Jan 2008 00:47:22 +0000 (00:47 +0000)]
* fix random jumps when scrolling very fast using a touchpad or mouse wheel.

The problem was this: The value in BufferView::scrollDocView(int value) is
relative to the d->scrollbarParameters_.min/max interval and _not_ absolute.

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

16 years ago* Doxy.
Pavel Sanda [Sat, 26 Jan 2008 00:43:49 +0000 (00:43 +0000)]
* Doxy.

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

16 years ago* On Mac it's common to have tool windows which are always in the
Stefan Schimanski [Fri, 25 Jan 2008 22:31:33 +0000 (22:31 +0000)]
* On Mac it's common to have tool windows which are always in the
  foreground and are hidden when the main window is not
  focused. Moreover they are normally "auto applying".

  This patch implements this for the character and the paragraph
  dialog. These text propertied are implemented in major application like Apple
  Pages, OmniGraffle and others via inspectors or toolbars. Our "auto
  apply"-mode resembles these very well. So why not activate it and
  make LyX a bit more Mac-like.

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

16 years ago* comment correction
Stefan Schimanski [Fri, 25 Jan 2008 22:07:35 +0000 (22:07 +0000)]
* comment correction

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

16 years ago* compile fix
Stefan Schimanski [Fri, 25 Jan 2008 22:05:41 +0000 (22:05 +0000)]
* compile fix

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

16 years ago* optional old-style editing mode for macros with a parameter list.
Stefan Schimanski [Fri, 25 Jan 2008 22:02:38 +0000 (22:02 +0000)]
* optional old-style editing mode for macros with a parameter list.
* combobox in the preferences dialog to choose the macro editing mode of choice.

The reason for the three choices (inline box, inline without box,
list) is that it seems that there are at least these three groups of
people, and each of them is very strong about their opinion what that
the best mode is. So here there are all of them, pick your favourite.

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

16 years ago* corrected comment
Stefan Schimanski [Fri, 25 Jan 2008 21:59:53 +0000 (21:59 +0000)]
* corrected comment

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

16 years ago** Fix language switch issue introduced by the CJK patch **
Jürgen Spitzmüller [Fri, 25 Jan 2008 13:27:08 +0000 (13:27 +0000)]
** Fix language switch issue introduced by the CJK patch **

* src/output_latex.{cpp,h}:
- (latexParagraphs, TeXEnvironment, TeXOnePar, TeXDeeper): pass Text element
   instead of ParagraphList. This is necessary to detect whether we are in the main text.
- check if we are in the main text for language switches, if needed.
* src/Buffer.cpp:
* src/insets/InsetEnvironment.cpp:
* src/insets/InsetText.cpp:
* src/mathed/InsetMathMBox.cpp:
- adapt to new latexParagraphs definition.

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

16 years ago* src/BufferParams.{cpp,h}:
Jürgen Spitzmüller [Fri, 25 Jan 2008 12:54:25 +0000 (12:54 +0000)]
* src/BufferParams.{cpp,h}:
- (paperSizeName): add missing paper sizes. Add an argument to the function
  that returns context-sensitive information (depending on the purpose)
- (paperSizeName): Do not hardcode "letter" for default paper size (bug 2098).
- (dvips_options): pass purpose DVIPS to paperSizeName
* src/Converter.cpp:
- (dvipdfm_options): pass purpose DVIPDFM to paperSizeName.
* src/Format.cpp:
- (view): pass purpose XDVI to paperSizeName (fix bug 4432).

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

16 years agoPolish doc (don't repeat everything twice).
Pavel Sanda [Thu, 24 Jan 2008 10:38:04 +0000 (10:38 +0000)]
Polish doc (don't repeat everything twice).

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

16 years ago* the markers create a 1 pixel margin
Stefan Schimanski [Thu, 24 Jan 2008 08:39:23 +0000 (08:39 +0000)]
* the markers create a 1 pixel margin

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

16 years agoPDFoptions: improve the functionality in case the hyperrref is
Pavel Sanda [Thu, 24 Jan 2008 01:20:51 +0000 (01:20 +0000)]
PDFoptions: improve the functionality in case the hyperrref is
already loaded by the textclass.

Some corner cases still missing (see fixme and link below).
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg134643.html

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

16 years agoGerman UserGuide.lyx: tiny correction by Hartmut
Uwe Stöhr [Wed, 23 Jan 2008 23:50:19 +0000 (23:50 +0000)]
German UserGuide.lyx: tiny correction by Hartmut

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

16 years ago* Fix latex output of child documents when rendered alone.
Stefan Schimanski [Wed, 23 Jan 2008 00:26:48 +0000 (00:26 +0000)]
* Fix latex output of child documents when rendered alone.

Problem: Before macro redefinitions in a child buffer did not see the
parent original definition because an Buffer::updateMacros() call had
updated the redefinition_ flag to "false" after the parent buffer had
temporarely been set to =0 for latex output of the child.

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

16 years ago* add "auto" flag for toolbars
Stefan Schimanski [Tue, 22 Jan 2008 22:56:10 +0000 (22:56 +0000)]
* add "auto" flag for toolbars
* make macro toolbar automatic

This reverts commit 7d48e270549aa04c34fae9ce9682162c78f57eda.

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

16 years agoall docs: fix font loading in the preamble
Uwe Stöhr [Tue, 22 Jan 2008 21:53:25 +0000 (21:53 +0000)]
all docs: fix font loading in the preamble

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

16 years ago* Option to make macro editing less "noisy" by hiding the grey box with the
Stefan Schimanski [Tue, 22 Jan 2008 21:23:41 +0000 (21:23 +0000)]
* Option to make macro editing less "noisy" by hiding the grey box with the
macro name when the cursor is inside. The downside of the coin is that
you have to look into the statusbar to see which macro is used. But
some people prefer that than having the slight size change of macros
when the cursor enters.

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

16 years agoFix typo (dist_jaexamples).
Pavel Sanda [Tue, 22 Jan 2008 21:07:15 +0000 (21:07 +0000)]
Fix typo (dist_jaexamples).

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

16 years ago* Support a script also around the ] of an optional parameter
Stefan Schimanski [Tue, 22 Jan 2008 17:26:54 +0000 (17:26 +0000)]
* Support a script also around the ] of an optional parameter

Test case:
"\newcommand{\foo}[2][a]{(#1,#2)} \foo[A]^1b" should give (a,_)^1b

This is implemented for non-optional parameters for long time for
cases like \foo ab^2

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

16 years agoMove spacing code around (and fix a bug)
Jean-Marc Lasgouttes [Tue, 22 Jan 2008 08:41:45 +0000 (08:41 +0000)]
Move spacing code around (and fix a bug)

* LaTeXFeatures.cpp (getPackages): remove some specific spacing code;
move listings support to simplefeatures array.

* src/Spacing.cpp (writeEnvirBegin, writeEnvirEnd): code factorization
(writePreamble): new method containing former code from LaTeXFeatures;
use \setSpacing instead of \setSingleSpacing.

* src/BufferParams.cpp (validate, writeLaTeX): handle spacing here.

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

16 years ago* lib/layouts/beamer.layout:
Jürgen Spitzmüller [Mon, 21 Jan 2008 13:40:34 +0000 (13:40 +0000)]
* lib/layouts/beamer.layout:
* lib/layouts/moderncv.layout:
* lib/layouts/powerdot.layout:
- These classes (at least) provide hyperref.

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

16 years ago* Add some comment for {}
Pavel Sanda [Mon, 21 Jan 2008 12:37:31 +0000 (12:37 +0000)]
* Add some comment for {}

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

16 years agoGerman UserGuide.lyx updates from Hartmut
Uwe Stöhr [Sun, 20 Jan 2008 21:48:41 +0000 (21:48 +0000)]
German UserGuide.lyx updates from Hartmut

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

16 years agothe missing things of r22635
Uwe Stöhr [Sun, 20 Jan 2008 21:44:49 +0000 (21:44 +0000)]
the missing things of r22635

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

16 years agoAdd Japanese splash.lyx (from Koji)
Pavel Sanda [Sun, 20 Jan 2008 00:46:59 +0000 (00:46 +0000)]
Add Japanese splash.lyx (from Koji)

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

16 years agoCorrect toolbar environment sorting for other locales.
Pavel Sanda [Sat, 19 Jan 2008 23:46:03 +0000 (23:46 +0000)]
Correct toolbar environment sorting for other locales.

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

16 years agoEnvironment toolbar is not updated after selection by mouse.
Pavel Sanda [Sat, 19 Jan 2008 23:36:03 +0000 (23:36 +0000)]
Environment toolbar is not updated after selection by mouse.

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

16 years agocosmetics
André Pönitz [Sat, 19 Jan 2008 12:33:01 +0000 (12:33 +0000)]
cosmetics

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

16 years ago* src/LaTeXFeatures.cpp:
Jürgen Spitzmüller [Sat, 19 Jan 2008 11:32:06 +0000 (11:32 +0000)]
* src/LaTeXFeatures.cpp:
- tiny correction to rev. 22629

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

16 years agoFix hyperref-soul conflict and sanitize hyperref management
Jürgen Spitzmüller [Sat, 19 Jan 2008 11:17:12 +0000 (11:17 +0000)]
Fix hyperref-soul conflict and sanitize hyperref management

* src/BufferParams.cpp:
- always require hyperref if it's used.
- only call PDFOptions::writeLaTeX if hyperref is required
  (and not provided by textclass).
* src/PDFOptions.{cpp,h}:
- (writeLaTeX): remove unneeded hyper_required argument
* src/LaTeXFeatures.cpp:
- special definition for pdflatex ct markup when hyperref is used
  (fix bug 4504).

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

16 years agoGet rid of ugly strings in .po file
Pavel Sanda [Fri, 18 Jan 2008 22:50:19 +0000 (22:50 +0000)]
Get rid of ugly strings in .po file

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

16 years agounicodesymbols: support for missing space modifier letters (patch by Jürgen)
Uwe Stöhr [Fri, 18 Jan 2008 19:07:57 +0000 (19:07 +0000)]
unicodesymbols: support for missing space modifier letters (patch by Jürgen)

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

16 years agoFix buffer-next/previous when called with Ctrl-Tab.
Abdelrazak Younes [Fri, 18 Jan 2008 08:26:38 +0000 (08:26 +0000)]
Fix buffer-next/previous when called with Ctrl-Tab.

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

16 years agoFix Ctrl-Tab binding for 'buffer-next'
Abdelrazak Younes [Fri, 18 Jan 2008 08:15:51 +0000 (08:15 +0000)]
Fix Ctrl-Tab binding for 'buffer-next'

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

16 years agoEmbedding: fix enable() logic
Bo Peng [Fri, 18 Jan 2008 06:46:06 +0000 (06:46 +0000)]
Embedding: fix enable() logic

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

16 years agoUserGuide.lyx: get rid of an ERT box
Uwe Stöhr [Thu, 17 Jan 2008 22:42:25 +0000 (22:42 +0000)]
UserGuide.lyx: get rid of an ERT box

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

16 years ago* src/frontends/GuiView.cpp:
Jürgen Spitzmüller [Thu, 17 Jan 2008 19:01:01 +0000 (19:01 +0000)]
* src/frontends/GuiView.cpp:
- fix bug 4496 ("Retry" and "Cancel" buttons were swapped in the error dialog)

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

16 years agoScrolling works:
Abdelrazak Younes [Thu, 17 Jan 2008 17:47:01 +0000 (17:47 +0000)]
Scrolling works:
* enable ScrollBarAsNeeded.
* small cleanups.

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

16 years agoMore scrolling work. Now the scrollbar parameters are normalized against the screen...
Abdelrazak Younes [Thu, 17 Jan 2008 17:06:55 +0000 (17:06 +0000)]
More scrolling work. Now the scrollbar parameters are normalized against the screen geometry and coordinates. This simplifies the logic and the code significantly.

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

16 years ago* src/LaTeX.cpp:
Jürgen Spitzmüller [Thu, 17 Jan 2008 10:04:48 +0000 (10:04 +0000)]
* src/LaTeX.cpp:
- do a second latex run before bibtex if package clefval requests it.

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

16 years agoadd some const.
Abdelrazak Younes [Thu, 17 Jan 2008 09:19:52 +0000 (09:19 +0000)]
add some const.

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

16 years agoDelay IconPalette construction.
Abdelrazak Younes [Thu, 17 Jan 2008 08:42:28 +0000 (08:42 +0000)]
Delay IconPalette construction.

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

16 years agostring optimizations.
Abdelrazak Younes [Thu, 17 Jan 2008 08:32:48 +0000 (08:32 +0000)]
string optimizations.

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

16 years agoIntroduce class MenuButton in order to delay the math menu button initialisation...
Abdelrazak Younes [Thu, 17 Jan 2008 08:20:22 +0000 (08:20 +0000)]
Introduce class MenuButton in order to delay the math menu button initialisation up until it is first shown. This improve the inital loading time by half a second on windows.

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

16 years agodon't update parent and make sure the icon sizes on the palette are correct
Edwin Leuven [Wed, 16 Jan 2008 20:51:00 +0000 (20:51 +0000)]
don't update parent and make sure the icon sizes on the palette are correct

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

16 years agoinitialize iconpalettes only when the user asks for them
Edwin Leuven [Wed, 16 Jan 2008 20:36:45 +0000 (20:36 +0000)]
initialize iconpalettes only when the user asks for them

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

16 years agoIntroduce class PaletteButton in order to delay the icon palette initialisation up...
Abdelrazak Younes [Wed, 16 Jan 2008 18:27:24 +0000 (18:27 +0000)]
Introduce class PaletteButton in order to delay the icon palette initialisation up until it is first shown. This improve the inital loading time by 2.3 seconds on windows!

I think the same thing should be done for POPUPMENU.

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

16 years agoFix delay when applying changed Preferences. The reason was that the "math-panels...
Abdelrazak Younes [Wed, 16 Jan 2008 17:26:40 +0000 (17:26 +0000)]
Fix delay when applying changed Preferences. The reason was that the "math-panels" initialisation takes too long (hence the FIXME).

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

16 years agoFix mac menubar only modifying the Prefs.
Abdelrazak Younes [Wed, 16 Jan 2008 16:50:10 +0000 (16:50 +0000)]
Fix mac menubar only modifying the Prefs.

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

16 years agoscrolling tweaks...
Abdelrazak Younes [Wed, 16 Jan 2008 15:15:26 +0000 (15:15 +0000)]
scrolling tweaks...

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

16 years agoscrolling tweaks... asymptotically tending towards scrolling correctness...
Abdelrazak Younes [Wed, 16 Jan 2008 14:31:00 +0000 (14:31 +0000)]
scrolling tweaks... asymptotically tending towards scrolling correctness...

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

16 years agoScrolling fixes...
Abdelrazak Younes [Wed, 16 Jan 2008 09:06:36 +0000 (09:06 +0000)]
Scrolling fixes...

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

16 years agoAllow use of Tab keys when no document's open.
Abdelrazak Younes [Wed, 16 Jan 2008 08:04:49 +0000 (08:04 +0000)]
Allow use of Tab keys when no document's open.

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

16 years agoFix bug 4351 at least on Windows and X11.
Abdelrazak Younes [Wed, 16 Jan 2008 07:47:53 +0000 (07:47 +0000)]
Fix bug 4351 at least on Windows and X11.

http://bugzilla.lyx.org/show_bug.cgi?id=4351

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

16 years ago* Doxy
Pavel Sanda [Wed, 16 Jan 2008 02:45:07 +0000 (02:45 +0000)]
* Doxy

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

16 years agotwo new documentation file translations from Ignacio
Uwe Stöhr [Tue, 15 Jan 2008 22:56:22 +0000 (22:56 +0000)]
two new documentation file translations from Ignacio

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

16 years ago* Doxy.
Pavel Sanda [Tue, 15 Jan 2008 22:53:30 +0000 (22:53 +0000)]
* Doxy.

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

16 years agoFix bug 4493 - countChars assert.
Pavel Sanda [Tue, 15 Jan 2008 22:30:19 +0000 (22:30 +0000)]
Fix bug 4493 - countChars assert.

(No need to backport for 1.5, originated in 'polishing readability' in
http://www.lyx.org/trac/changeset/22519)

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

16 years ago- German UserGuide.lyx: don't use caption
Uwe Stöhr [Tue, 15 Jan 2008 21:50:39 +0000 (21:50 +0000)]
- German UserGuide.lyx: don't use caption
- UserGuide.lyx: list the new toolbar button

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

16 years agostdtoolbars.inc: adapt to r22585
Uwe Stöhr [Tue, 15 Jan 2008 21:49:14 +0000 (21:49 +0000)]
stdtoolbars.inc: adapt to r22585

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

16 years agoFix bug 4463. The crash was due to a call to X from inside a child process.
Richard Heck [Tue, 15 Jan 2008 18:26:53 +0000 (18:26 +0000)]
Fix bug 4463. The crash was due to a call to X from inside a child process.

The main change is to support/ForkedCalls.{h,cpp}. We introduce a static variable IAmAChild and a corresponding accessor. This is set to true in a new fork() method, in the branch taken by the child. (Note: fork() is safe cross-platform, as it just returns -1 if we don't have fork().) This ForkedProcess::iAmAChild() method is then used to protect GuiView::message().

As Abdel has pointed out, there may be other such calls to be protected, e.g., the emission of the Buffer::changed() signal. Those are not addressed here.

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

16 years ago* Doxy
Pavel Sanda [Tue, 15 Jan 2008 14:16:23 +0000 (14:16 +0000)]
* Doxy

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

16 years ago* src/frontends/GuiDocument.{cpp,h}:
Jürgen Spitzmüller [Tue, 15 Jan 2008 10:38:19 +0000 (10:38 +0000)]
* src/frontends/GuiDocument.{cpp,h}:
- do not update dialog when clicking in the main window without buffer change
  (bug 4302).

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

16 years agochange indentation from 2 to 4 in lyx_pot.py
Bo Peng [Tue, 15 Jan 2008 04:13:14 +0000 (04:13 +0000)]
change indentation from 2 to 4 in lyx_pot.py

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

16 years agoGerman UserGuide.lyx: updates by Hartmut
Uwe Stöhr [Mon, 14 Jan 2008 23:55:49 +0000 (23:55 +0000)]
German UserGuide.lyx: updates by Hartmut

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

16 years agoheader cleanup
Abdelrazak Younes [Mon, 14 Jan 2008 23:45:47 +0000 (23:45 +0000)]
header cleanup

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

16 years agorevert r22574 to be able to compile
Uwe Stöhr [Mon, 14 Jan 2008 23:45:04 +0000 (23:45 +0000)]
revert r22574 to be able to compile

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

16 years agosimplify ucs4 to utf8 conversion.
Abdelrazak Younes [Mon, 14 Jan 2008 23:44:05 +0000 (23:44 +0000)]
simplify ucs4 to utf8 conversion.

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

16 years agoforgot to add this in r22566
Uwe Stöhr [Mon, 14 Jan 2008 23:40:23 +0000 (23:40 +0000)]
forgot to add this in r22566

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

16 years agoheader cleanup
Abdelrazak Younes [Mon, 14 Jan 2008 23:19:55 +0000 (23:19 +0000)]
header cleanup

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

16 years agoheader cleanup
Abdelrazak Younes [Mon, 14 Jan 2008 23:18:52 +0000 (23:18 +0000)]
header cleanup

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

16 years agoheader cleanup
Abdelrazak Younes [Mon, 14 Jan 2008 23:17:24 +0000 (23:17 +0000)]
header cleanup

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

16 years agoheader cleanup
Abdelrazak Younes [Mon, 14 Jan 2008 23:16:58 +0000 (23:16 +0000)]
header cleanup

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

16 years ago* Doxy: fix \vars
Pavel Sanda [Mon, 14 Jan 2008 23:01:36 +0000 (23:01 +0000)]
* Doxy: fix \vars

(Beware: syntax needs \var lyx::kb_action lyx::LFUN_ after move to .cpp)

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

16 years ago* Doxy: lets generate hyperlinks
Pavel Sanda [Mon, 14 Jan 2008 22:45:03 +0000 (22:45 +0000)]
* Doxy: lets generate hyperlinks

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

16 years agoA little more lfun doxy.
Richard Heck [Mon, 14 Jan 2008 22:43:05 +0000 (22:43 +0000)]
A little more lfun doxy.

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

16 years agotoolbar button for boxes
Uwe Stöhr [Mon, 14 Jan 2008 22:25:03 +0000 (22:25 +0000)]
toolbar button for boxes

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

16 years agoA little more easy lfun doxy.
Richard Heck [Mon, 14 Jan 2008 22:22:07 +0000 (22:22 +0000)]
A little more easy lfun doxy.

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

16 years agoDoxy for LFUN_CALL again
Bernhard Roider [Mon, 14 Jan 2008 22:20:35 +0000 (22:20 +0000)]
Doxy for LFUN_CALL again

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

16 years agoSome easy lfun doxy.
Richard Heck [Mon, 14 Jan 2008 22:02:59 +0000 (22:02 +0000)]
Some easy lfun doxy.

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

16 years ago* fix for buggy cursor logic due to multi bufferview support in MathMacros. It's...
Stefan Schimanski [Mon, 14 Jan 2008 21:53:49 +0000 (21:53 +0000)]
* fix for buggy cursor logic due to multi bufferview support in MathMacros. It's much simpler now, even for simple single bufferview cases.

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

16 years ago* Nearly a proof that there are useful compiler warnings that a variable is not used,
Stefan Schimanski [Mon, 14 Jan 2008 21:52:57 +0000 (21:52 +0000)]
* Nearly a proof that there are useful compiler warnings that a variable is not used,
  though in this case the warning was "fixed" before it did its job.

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

16 years agoA little more explanation.
Richard Heck [Mon, 14 Jan 2008 21:49:01 +0000 (21:49 +0000)]
A little more explanation.

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

16 years ago* Doxy
Pavel Sanda [Mon, 14 Jan 2008 21:46:20 +0000 (21:46 +0000)]
* Doxy

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