]>
git.lyx.org Git - lyx.git/log
Jean-Marc Lasgouttes [Fri, 1 Feb 2008 15:12:04 +0000 (15:12 +0000)]
Use a set<string> instead of a vecctor<string> for list of features. This
allows to simplify the code to some extent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22734
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 1 Feb 2008 00:03:19 +0000 (00:03 +0000)]
* Doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22732
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 31 Jan 2008 23:41:19 +0000 (23:41 +0000)]
* Doxy: Unify style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22731
a592a061 -630c-0410-9148-
cb99ea01b6c8
Dov Feldstern [Thu, 31 Jan 2008 22:50:16 +0000 (22:50 +0000)]
rewrite comment explaining DocIterator's boundary_
All boundary-related code went through a major rehaul some months ago (mainly
Stefan's work), but this comment was never updated to reflect that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22730
a592a061 -630c-0410-9148-
cb99ea01b6c8
Dov Feldstern [Thu, 31 Jan 2008 22:42:24 +0000 (22:42 +0000)]
Doxy for some cursor movement lfuns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22729
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 31 Jan 2008 19:48:48 +0000 (19:48 +0000)]
Keyboard shortcuts for TOC window buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22727
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 30 Jan 2008 23:23:40 +0000 (23:23 +0000)]
* Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22724
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 30 Jan 2008 22:56:36 +0000 (22:56 +0000)]
Math.lyx: fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22723
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 30 Jan 2008 22:43:26 +0000 (22:43 +0000)]
Customization: tiny update by Hartmut
Math: workaround for the package braket, that is not in teTeX 3 but in TeXLive and MiKTeX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22721
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 30 Jan 2008 22:25:25 +0000 (22:25 +0000)]
Makefile.am: adjust for r22717
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22719
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Wed, 30 Jan 2008 21:20:56 +0000 (21:20 +0000)]
* The gui change for the mouse wheel speed setting. This includes the
renaming of the keyboard preferences pane into a input preferences pane.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22718
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Wed, 30 Jan 2008 21:20:29 +0000 (21:20 +0000)]
* a configuration value for the mouse wheel scrolling speed:
lyxrc.mouse_wheel_speed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22717
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 29 Jan 2008 13:34:18 +0000 (13:34 +0000)]
* BufferView::scrollDocView(): take care of the general case before the particular top and bottom cases as those don't work very well when the document starts or ends with a big inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22710
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 29 Jan 2008 12:54:23 +0000 (12:54 +0000)]
Simplify scrolling code. Instead of using the actionTriggered() signal we now use valueChanged(). This has the advantage that we can possibly disable scrollbar tracking for low graphical performance systems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22709
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 29 Jan 2008 10:17:41 +0000 (10:17 +0000)]
* BufferView::scrollDocView(): simplify by using showCursor() and add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22708
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 29 Jan 2008 09:51:12 +0000 (09:51 +0000)]
Fix scrolling to top and bottom of the document.
* BufferView
- showCursor(DocIterator): new DocIterator argument.
- showCursor(): use above method.
- scrollDocView(): take care of top and bottom special cases early in the method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22707
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 29 Jan 2008 09:37:02 +0000 (09:37 +0000)]
GuiWorkArea::adjustViewWithScrollBar(): Fix slder to minimum and maximum. The problem was that when QAbstractSlider::actionTriggered() is emitted the scrollbar value is not changed, only its sliderPosition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22706
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 29 Jan 2008 07:31:24 +0000 (07:31 +0000)]
RowPainter::paintLast(): microptimisation and comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22705
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 29 Jan 2008 02:46:55 +0000 (02:46 +0000)]
* doc/Customization.lyx: few translation hints.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22704
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 28 Jan 2008 22:31:30 +0000 (22:31 +0000)]
* Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22703
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 28 Jan 2008 21:22:29 +0000 (21:22 +0000)]
Adjustment to the end box drawing at the end of a proof layout environment (Theorem AMS). Ideas taken from Richard and JMarc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22702
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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