Uwe Stöhr
c39dd88087
Makefile.am: adjust for r22717
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22719 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-30 22:25:25 +00:00
Stefan Schimanski
fe348eb8b7
* 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
2008-01-30 21:20:56 +00:00
Stefan Schimanski
dd3842505b
* 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
2008-01-30 21:20:29 +00:00
Abdelrazak Younes
ddec18ca01
* 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
2008-01-29 13:34:18 +00:00
Abdelrazak Younes
e55019967f
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
2008-01-29 12:54:23 +00:00
Abdelrazak Younes
b78acb0b9d
* 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
2008-01-29 10:17:41 +00:00
Abdelrazak Younes
81e06f7bc9
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
2008-01-29 09:51:12 +00:00
Abdelrazak Younes
1db3eb2113
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
2008-01-29 09:37:02 +00:00
Abdelrazak Younes
091ff73403
RowPainter::paintLast(): microptimisation and comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22705 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-29 07:31:24 +00:00
Pavel Sanda
bb84c5b38c
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22703 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-28 22:31:30 +00:00
Abdelrazak Younes
c9273f13e8
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
2008-01-28 21:22:29 +00:00
Jean-Marc Lasgouttes
17e1b2b59d
revert erroneous commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22696 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-28 11:42:54 +00:00
Jean-Marc Lasgouttes
21ff30cc38
* 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
2008-01-28 10:50:24 +00:00
Pavel Sanda
a0cf89394c
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22689 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 20:43:26 +00:00
Richard Heck
1a7b7f6541
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
2008-01-26 20:41:19 +00:00
Richard Heck
6751c8a72f
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
2008-01-26 20:37:54 +00:00
Richard Heck
5bef46157c
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
2008-01-26 20:25:25 +00:00
Richard Heck
20a5e94a86
Fix bug 4517.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22681 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 20:02:30 +00:00
Stefan Schimanski
21bf8063a0
* 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
2008-01-26 17:44:36 +00:00
Stefan Schimanski
4eaa564c95
* sort lyxrc tag table
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22679 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 17:44:15 +00:00
Stefan Schimanski
13a7bdf6b8
* 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
2008-01-26 01:19:11 +00:00
Stefan Schimanski
2d830ab23b
* 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
2008-01-26 01:14:37 +00:00
Stefan Schimanski
ce56adcf1e
* 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
2008-01-26 00:47:46 +00:00
Stefan Schimanski
ab1a045d10
* 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
2008-01-26 00:47:22 +00:00
Pavel Sanda
8c9342ca29
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22674 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 00:43:49 +00:00
Stefan Schimanski
5b46cbef1a
* 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
2008-01-25 22:31:33 +00:00
Stefan Schimanski
9f58157ffd
* comment correction
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22672 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-25 22:07:35 +00:00
Stefan Schimanski
de4a5e3a51
* compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22671 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-25 22:05:41 +00:00
Stefan Schimanski
8e212b98b4
* 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
2008-01-25 22:02:38 +00:00
Stefan Schimanski
7ac601f429
* corrected comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22669 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-25 21:59:53 +00:00
Jürgen Spitzmüller
cbf599b911
** 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
2008-01-25 13:27:08 +00:00
Jürgen Spitzmüller
f62fbd05d2
* 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
2008-01-25 12:54:25 +00:00
Stefan Schimanski
06295fef40
* the markers create a 1 pixel margin
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22661 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-24 08:39:23 +00:00
Pavel Sanda
2eb75da023
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
2008-01-24 01:20:51 +00:00
Stefan Schimanski
76cbbc2fb4
* 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
2008-01-23 00:26:48 +00:00
Stefan Schimanski
135fbe2c1b
* 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
2008-01-22 22:56:10 +00:00
Stefan Schimanski
0a701fb254
* 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
2008-01-22 21:23:41 +00:00
Stefan Schimanski
daeb335db3
* 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
2008-01-22 17:26:54 +00:00
Jean-Marc Lasgouttes
0df54152bc
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
2008-01-22 08:41:45 +00:00
Pavel Sanda
75a5c1c7a1
Correct toolbar environment sorting for other locales.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22634 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-19 23:46:03 +00:00
Pavel Sanda
c0414bef66
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
2008-01-19 23:36:03 +00:00
André Pönitz
c151549004
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22632 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-19 12:33:01 +00:00
Jürgen Spitzmüller
6415e84dc4
* 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
2008-01-19 11:32:06 +00:00
Jürgen Spitzmüller
804e912910
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
2008-01-19 11:17:12 +00:00
Pavel Sanda
f0f485e40d
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
2008-01-18 22:50:19 +00:00
Abdelrazak Younes
33b1ab9a9a
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
2008-01-18 08:26:38 +00:00
Bo Peng
82dfa33276
Embedding: fix enable() logic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22619 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-18 06:46:06 +00:00
Jürgen Spitzmüller
7d16a9c7ea
* 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
2008-01-17 19:01:01 +00:00
Abdelrazak Younes
29918a2292
Scrolling works:
...
* enable ScrollBarAsNeeded.
* small cleanups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22615 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 17:47:01 +00:00
Abdelrazak Younes
ae0667c112
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
2008-01-17 17:06:55 +00:00
Jürgen Spitzmüller
3352fe5fc8
* 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
2008-01-17 10:04:48 +00:00
Abdelrazak Younes
689d5c2b99
add some const.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22611 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 09:19:52 +00:00
Abdelrazak Younes
ff588411af
Delay IconPalette construction.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22610 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 08:42:28 +00:00
Abdelrazak Younes
139802b193
string optimizations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 08:32:48 +00:00
Abdelrazak Younes
0aead96461
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
2008-01-17 08:20:22 +00:00
Edwin Leuven
4559120e8a
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
2008-01-16 20:51:00 +00:00
Edwin Leuven
9a0570de4a
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
2008-01-16 20:36:45 +00:00
Abdelrazak Younes
95fe0e16a7
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
2008-01-16 18:27:24 +00:00
Abdelrazak Younes
c2f57f8cfe
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
2008-01-16 17:26:40 +00:00
Abdelrazak Younes
47f929d48d
Fix mac menubar only modifying the Prefs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22601 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 16:50:10 +00:00
Abdelrazak Younes
68d11a0b29
scrolling tweaks...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22600 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 15:15:26 +00:00
Abdelrazak Younes
bc3029bcf4
scrolling tweaks... asymptotically tending towards scrolling correctness...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22599 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 14:31:00 +00:00
Abdelrazak Younes
2db839d7bb
Scrolling fixes...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 09:06:36 +00:00
Abdelrazak Younes
9b06f2fbd5
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
2008-01-16 08:04:49 +00:00
Abdelrazak Younes
5a2231d17b
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
2008-01-16 07:47:53 +00:00
Pavel Sanda
0caadfe9d1
* Doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22595 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 02:45:07 +00:00
Pavel Sanda
6279be2e32
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22592 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 22:53:30 +00:00
Pavel Sanda
8b6415f308
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
2008-01-15 22:30:19 +00:00
Richard Heck
1741c87a4e
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
2008-01-15 18:26:53 +00:00
Pavel Sanda
2baffdb590
* Doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22586 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 14:16:23 +00:00
Jürgen Spitzmüller
1acedf11da
* 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
2008-01-15 10:38:19 +00:00
Abdelrazak Younes
00ef1af08f
header cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22579 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:45:47 +00:00
Uwe Stöhr
ecde9d6a0f
revert r22574 to be able to compile
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22578 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:45:04 +00:00
Abdelrazak Younes
12ce8e82cf
simplify ucs4 to utf8 conversion.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22577 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:44:05 +00:00
Abdelrazak Younes
11f36d2d72
header cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22574 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:19:55 +00:00
Abdelrazak Younes
537481ebe5
header cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:18:52 +00:00
Abdelrazak Younes
d7d41ee59d
header cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22572 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:17:24 +00:00
Abdelrazak Younes
5e7c21490d
header cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22571 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:16:58 +00:00
Pavel Sanda
57587d80d6
* 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
2008-01-14 23:01:36 +00:00
Pavel Sanda
be309904a8
* Doxy: lets generate hyperlinks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22569 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:45:03 +00:00
Richard Heck
821ef81154
A little more lfun doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22568 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:43:05 +00:00
Richard Heck
1583929922
A little more easy lfun doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22565 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:22:07 +00:00
Bernhard Roider
2714d1b8b9
Doxy for LFUN_CALL again
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22564 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:20:35 +00:00
Richard Heck
ab6fcd9be5
Some easy lfun doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22563 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:02:59 +00:00
Stefan Schimanski
49daeaec29
* 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
2008-01-14 21:53:49 +00:00
Stefan Schimanski
e0538043e4
* 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
2008-01-14 21:52:57 +00:00
Richard Heck
afa6389644
A little more explanation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22560 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:49:01 +00:00
Pavel Sanda
73f97fa124
* Doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:46:20 +00:00
Richard Heck
f03329a19c
I18n for modules. This would seem to complete the module implementation. Test away.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:44:06 +00:00
Peter Kümmel
421fa672a7
remove duplicated code, (fix cmake merge)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22557 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 19:52:16 +00:00
Bernhard Roider
29d74c47a8
Add lfuns doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22556 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 19:37:52 +00:00
Pavel Sanda
25c7910e87
Add lfuns doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 18:53:10 +00:00
Abdelrazak Younes
f643441cf2
Better fix than revision 22553. Transfer the backup to RowPainter::paintInset().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22554 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 16:24:01 +00:00
Abdelrazak Younes
cb83883583
TextMetrics::drawParagraph(): Fix drawing bug reported by Richard by backing up the full repaint flag.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22553 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 16:15:40 +00:00
Jean-Marc Lasgouttes
3d8828fa14
* src/Spacing.cpp (writeBeginEnv, writeEndEnv): add a bool parameter
...
directing to use memoir's capitalized latex macros.
* src/LaTeXFeatures.cpp (getPackages): act on feature "SetSpace".
* src/output_latex.cpp (TeXOnePar): ditto
* lib/layouts/memoir.layout: provide feature SetSpace, indicating that
memoir provides the setspace functionality, but with a different syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22551 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 14:53:29 +00:00
Abdelrazak Younes
c15b2f6e1a
* Buffer::doExport(): return early.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22550 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 14:09:20 +00:00
Jürgen Spitzmüller
59c8ede0a3
* src/LaTeXFeatures.cpp:
...
- load xcolor.sty the same way than color.sty, and only load one of them
(xcolor, if requested, else color).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22548 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 10:08:08 +00:00
Abdelrazak Younes
c81f5add99
* AutoSaveBuffer::generateChild(): return early.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22546 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 09:04:14 +00:00
Abdelrazak Younes
2c1b8bc472
* AutoSaveBuffer::generateChild(): FileName::moveTo() already tries to remove the file if any so no need to do that again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22545 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 09:00:32 +00:00
Enrico Forestieri
58a0626e80
Use the currentItemChanged() signal instead of itemSelectionChanged()
...
because in Qt 4.2 the current item has not been updated yet when
itemSelectionChanged() is emitted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22544 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 21:35:48 +00:00
Uwe Stöhr
a3dfd2f10b
InsetBox.cpp: fix the LaTeX-output, fixes bug 2492 http://bugzilla.lyx.org/show_bug.cgi?id=2492
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22540 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 14:41:49 +00:00
Jürgen Spitzmüller
9275f580ef
* src/LaTeXFeatures.cpp:
...
- the package "pdfcolmk" must be loaded after [x]color.sty
(see package documentation).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22537 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 11:49:36 +00:00
Abdelrazak Younes
cf2656e026
fix warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22536 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 10:48:10 +00:00
Abdelrazak Younes
0ea17620dc
fix warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22535 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 10:44:16 +00:00
André Pönitz
57d2f9c0ad
Five more percent.
...
I'd really prefer if people would not add unused code to critical
paths..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22534 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 23:08:21 +00:00
André Pönitz
f7e4d591dc
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22533 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 21:49:48 +00:00
André Pönitz
e69b723bf9
There was a bit too much copying of dociterators gpoing on leading to an
...
avoidable ~5% overhead when loading the UserGuide. This is an attempt on
rectifying the situation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22532 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 21:38:51 +00:00
André Pönitz
96c21a6ca3
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22527 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 16:44:35 +00:00
André Pönitz
560f4336fa
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22526 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 16:40:25 +00:00
André Pönitz
f925113312
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 16:34:02 +00:00
Richard Heck
a60b6d90d9
Help from Andre.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22524 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 16:11:55 +00:00
Jürgen Spitzmüller
e3699e1a47
* GuiBibtex.cpp:
...
- some more tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22522 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 15:41:40 +00:00
Pavel Sanda
eb0f59a816
Add temp vars to countChar.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22519 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 13:34:10 +00:00
Jürgen Spitzmüller
445bf425a1
* GuiBibtex.cpp:
...
- nor _really_: yet another tweak to button enabling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22516 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 12:00:11 +00:00
Pavel Sanda
ddff76fd8b
Let doxygen recognize us
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22513 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 11:50:33 +00:00
Jürgen Spitzmüller
709960ff66
* GuiBibtex.cpp:
...
- yet another tweak to button enabling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22512 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 11:49:49 +00:00
Pavel Sanda
f78f28f4fc
Move all doxy stuff to LyXAction.cpp, so that touching dox won't imply full recompile.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22511 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 11:33:03 +00:00
Jürgen Spitzmüller
e94d6b3958
* GuiBibtex.cpp:
...
- addition to rev. 22507: handle ReadOnly of new buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22510 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 11:22:20 +00:00
Jürgen Spitzmüller
fcf47395c5
* src/frontends/qt4/GuiBibtex.{cpp,h}:
...
* src/frontends/qt4/ui/BibtexUi.ui:
- add buttons to move databases up and down.
Patch from Horst Schirmeier (permission: http://marc.info/?l=lyx-devel&m=120009631506298&w=2 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22507 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 09:30:21 +00:00
Bo Peng
efbbf7a31f
Fix r22486, which causes an infinite loop when a bibtex file is not available. Reported by Horst
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22505 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 06:17:37 +00:00
Richard Heck
d5d665482e
This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
...
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.
By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.
So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i) GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.
The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework.
I've also updated the module documenation to accord with this change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
Richard Heck
471cf26b11
New files, anticipating a later commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22500 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 02:31:32 +00:00
Pavel Sanda
4adf77cf7d
Synchronize lfun thematical ordering and func_type.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22499 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 00:22:15 +00:00
Uwe Stöhr
33c95fc07b
rename LFUNs math-nonumber and math-number to what they really do,
...
fixes bug 2608
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22496 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 22:45:19 +00:00
Jürgen Spitzmüller
4b799833e7
*** Support for generic sideways floats ***
...
* src/Buffer.cpp:
- format is up to 312.
* src/LaTeXFeatures.cpp:
- add rotfloat.
* src/Insets/InsetFloat.cpp:
- handle starred and generic sideways floats.
* src/frontends/qt4/FloatPlacement.{cpp,h}:
- adjust GUI to the new features.
* lib/chkconfig.ltx:
- add rotfloat
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add reversion methods for new floats
* lib/lyx2lyx/lyx_1_4.py:
- add proper reversion method for sideways floats (this was missing).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 18:56:53 +00:00
Pavel Sanda
ac4b0dd692
Start of lfun reordering
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22493 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 12:46:12 +00:00
Pavel Sanda
871b6a7245
Preparing for lfun doxy movement
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22492 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 12:43:50 +00:00
Pavel Sanda
60c53dcd1e
Renaming leftovers
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22491 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 12:40:26 +00:00
Richard Heck
d226da1559
Fix comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22488 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 04:44:56 +00:00
Bo Peng
b2278c0736
Make bibtex works with embedded bib file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 03:57:22 +00:00
Bo Peng
f52b73747f
Embedding: saving inzip name to .lyx file so that embedded files can always be found under different operating systems (even lyx versions). yet to be tested under windows
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22486 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 23:39:58 +00:00
Jürgen Spitzmüller
63c45ec226
* src/insets/InsetCitation.{cpp,h}:
...
* src/insets/InsetHyperlink.{cpp,h}:
* src/insets/InsetRef.{cpp,h}:
* src/insets/InsetSpace.{cpp,h}:
* src/insets/InsetSpecialChar.{cpp,h}:
- fix textString member (bug 4472).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22480 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 16:09:01 +00:00
Abdelrazak Younes
a84fa1ce00
Transfer Tab and Shift-Tab keys special handling from GuiView::event() to GuiWorkArea::event(). Add some comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22477 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 09:04:30 +00:00
Abdelrazak Younes
1406a54420
* CursorSlice::lastpos(): check for text emptiness (should fix a crash when releasing an empty buffer).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22474 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 08:46:04 +00:00
Abdelrazak Younes
50b994b08f
* GuiWorkArea::event():
...
- case ToolTip: don't forget to accept the event!
- Clean up the method in order to extend to other events.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22473 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 08:19:54 +00:00
Richard Heck
9f8bf4c9da
Dummy format change for AMS modularization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22470 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:22:43 +00:00
Richard Heck
5f91f39309
We do not need to update just because the class has been changed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22466 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 06:22:42 +00:00
Richard Heck
34bce8b33e
amsthm support.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22460 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 04:14:22 +00:00
Richard Heck
5faad9ca68
Additional UI logic related to module requires and excludes.
...
The logic here is really kind of a mess. If anyone can make it
simpler, I'd be thrilled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22458 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 01:33:24 +00:00
Richard Heck
78cc57cd5a
Fix copy-paste errors.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22457 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 23:06:16 +00:00
Richard Heck
7c28905b17
This commit adds some new functionality to the modules stuff. In particular, it introduces the concept of "required" and "excluded" modules: A given module may require one of some list of modules, or it may be incompatible with some other modules. (Complex Boolean combinations are not supported!!) These facts can be noted in the module file, and the UI responds appropriately: Required and excluded modules are noted in the description, and the "Add" button is enabled only if at least one of the required modules has already been selected and no excluded module is selected. Getting this to work involved a fair bit of cleanup of the existing code---including ways Angus, I think, had already pointed out were required---and also involved changing the syntax of the headers of the module files, but in ways that are probably best anyway.
...
None of the extant modules require any other modules, but the Theorem modules all exclude one another. (See the screenshot.) When I modularize the AMS classes---that is the next task---we'll have requires.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22456 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 18:51:02 +00:00
Pavel Sanda
6be5a0cf52
Add ParIterator FIXME.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22453 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 13:14:14 +00:00
Abdelrazak Younes
a82d158e0c
Remove archaeological work around scrollbar insanity.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22452 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 09:54:39 +00:00
Richard Heck
85ac3f0dc4
More whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22451 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 07:19:26 +00:00
Richard Heck
b84e210719
What happened to the whitespace?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22450 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 07:18:41 +00:00
Bo Peng
7ecfcc9108
Embedding: fix a crash when extracting InsetInclude
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22449 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 05:11:16 +00:00
Bo Peng
b5153b3d26
Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22448 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 18:55:34 +00:00
Bo Peng
c20f5a64d9
Embedding: simplify the interface of EmbeddedFiles, which will be later merged to EmbeddedFileList
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22444 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 18:33:43 +00:00
Bo Peng
52cd35cd5f
Embedding: add embedding support for InsetBibtex. (params["embed"] is added, use EmbeddedFileList instead of FileNameList for bibtex handling, use checkable items in GuiBibtex)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22443 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 17:02:09 +00:00
Bo Peng
09a6f725d0
Embedding: add embedding support for InsetExternal. (params["embed"] is added)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22442 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 16:42:28 +00:00
Bo Peng
c81fd7337d
Embedding: add embedding support for InsetInclude. (params["embed"] is added)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22441 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 16:35:43 +00:00
Pavel Sanda
569a82cb86
Remove todo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22440 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 16:26:25 +00:00
Bo Peng
06254d11df
Embedding: display a pin at the top left corner of embedded figures
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22439 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 16:22:05 +00:00
Abdelrazak Younes
e40499d5df
BufferView::showCursor(): better fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22438 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 15:49:03 +00:00
Pavel Sanda
d5f47dc6f7
polish
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22437 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 15:48:23 +00:00
Jürgen Spitzmüller
275d05942d
hmpf.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22436 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 15:41:56 +00:00
Jürgen Spitzmüller
3e539a3a40
* src/lfuns.h:
...
- minor correction in the doxy comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22434 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 15:34:09 +00:00
Pavel Sanda
922aa7b1e8
Add characters counting.
...
Introduce LFUN_STATISTICS.
see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg134033.html .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22433 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 15:18:00 +00:00
Abdelrazak Younes
8379c2b70f
Fix anchor bug.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22432 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 14:55:11 +00:00
Stefan Schimanski
c4d85b3f1d
* fix a crash during undo: cloned MathMacroTemplates need updated child insets which point back to the correct (cloned) template.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22430 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 10:29:47 +00:00
Jürgen Spitzmüller
926e115e6a
* src/TextClass.cpp:
...
- remove superfluous condition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22429 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 09:14:44 +00:00
Jürgen Spitzmüller
2c0eaab164
* src/TextClass.cpp:
...
- allow for multiple subsequent Requires class tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22428 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 07:29:47 +00:00
Bo Peng
474979d32d
Embedding: simplify code in the handling of embedCB in GuiGraphics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22427 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 02:34:17 +00:00
Pavel Sanda
00fcadb88b
Add lfuns doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22422 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 18:54:23 +00:00
Jürgen Spitzmüller
a5d5a633d9
some more uses of Requires.
...
The package ifthen needs to be added to LaTeXConfig.lyx. I'll do this when that file can be opened again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22419 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 17:32:47 +00:00
Jean-Marc Lasgouttes
585ba16d62
* src/MenuBackend.cpp (expandFormats): do not add shortcut for
...
plaintext if it is not correct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22415 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 17:13:38 +00:00
Jürgen Spitzmüller
9e5eebc14c
*** Requires tag for classes, layouts and custom insets ***
...
* src/TextClass{cpp,h}:
- implement Requires tag for class and InsetLayout.
* src/Layout.{cpp,h}:
- implement Requires tag for layouts.
- increase layouts format to 6.
* src/Paragraph.cpp:
- request required features for paragraph layouts.
* src/LaTeXFeatures.cpp:
- add some packages needed by modules.
- remove Preamble method for InsetLayout. This is now done
in InsetFlex::validate.
* src/BufferParams.cpp (validate):
- request required features for the class.
* src/insets/InsetLayout.h:
- new member "requires".
* src/insets/InsetFlex.{cpp,h}:
- implement validate method and request required features and preamble snippets.
* lib/layouts/*.{layout,module,inc}:
- increase layouts format to 6.
- use Requires tags in some modules (more can be done later).
* lib/doc/Customization.lyx:
- document Requires tag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 16:59:10 +00:00
Stefan Schimanski
102638a478
* fix broken default value logic from last cleanup: only show default value if not in edit mode and the given value is empty.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22413 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 13:50:21 +00:00
Jean-Marc Lasgouttes
cdb78de525
* MenuBackend.cpp (binding): remove forgui argument
...
* frontends/qt4/GuiPopupMenu.cpp (addBinding): remove (merge into
getLabel and remove mac-specific code).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22412 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 10:53:04 +00:00
Bo Peng
a63ec64642
Embedding: add embedCB checkboxes to IncludeUi and ExternalUi
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22411 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 06:46:32 +00:00
Bo Peng
c9a7e8c416
Embedding: After another round of EmbeddedFiles changes, embedded figures should more or less work now.
...
* src/insets/InsetExternal.cpp: fix compiling. (Does not work yet)
* src/insets/InsetGraphics.cpp: use latexFilename to produce output.
* src/insets/InsetGraphicsParams.cpp: use availableFile to show preview.
* src/EmbeddedFiles.h|cpp: More things are moved from EmbeddedFiles to EmbeddedFile
* src/frontends/qt4/GuiGraphics.cpp: remove embeddable-related operations.
* src/support/FileName.h: make isReadableFile virtual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22410 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 03:34:21 +00:00
Pavel Sanda
53673d6acc
Add some lfuns doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22409 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 22:15:58 +00:00
Stefan Schimanski
1b56057e1f
* lfuns doxification for math macros
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22407 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 21:02:10 +00:00
Richard Heck
8d171d97c6
Further LFUN documentation. Just simple cases, for completeness.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22406 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 18:24:15 +00:00
Richard Heck
0fce3ff6bd
Pass by const reference. Thanks Andre and Peter.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22405 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 18:17:25 +00:00
Richard Heck
04192aa3ab
Update documentation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22404 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 18:17:07 +00:00
Richard Heck
ef86256c39
Remove commented out code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22402 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 17:23:19 +00:00
Richard Heck
012c7f3280
Crash fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22398 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 16:52:00 +00:00
Richard Heck
8f1153820a
Thanks, Angus.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22397 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 16:44:51 +00:00
Bo Peng
06e1d50c7e
Minor format fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22395 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 16:24:19 +00:00
Bo Peng
2a69b32fa4
Embedding: save checksum of the bundled file, not content.lyx (to avoid file externally modified warnings).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22394 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 16:21:57 +00:00
Pavel Sanda
d61b5ce142
Add lfun doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22392 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 20:24:54 +00:00
Richard Heck
9a7cd29f5b
Rationalize the handling of makeTextClass().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22388 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 17:04:56 +00:00
Richard Heck
80e98c5b71
Implement checks for available modules both in BufferParams and in the gui.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22387 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 16:56:30 +00:00
Richard Heck
c03c537a8a
Minor modification: do not worry about .sty extension.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22386 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 16:51:06 +00:00
Richard Heck
4675141344
Implement isAvaiable in ModuleList.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22385 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 16:49:49 +00:00
Bo Peng
56a1dfe65f
Embedding: adjust how InsetGraphics interacts with EmbeddedFiles, the ?th overhaul of the EmbeddedFile class :-(
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22377 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 05:28:39 +00:00
Bo Peng
9073fd6b9f
Embedding: proper embedCB actions in the GuiGraphics dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22376 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 04:48:47 +00:00
Bo Peng
0264dd05b0
Embedding: temporarily disable embedding for include and external insets (focusing on graphics)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22375 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 04:44:41 +00:00
Bo Peng
995a1353df
Embedding: does not write inzipName option in InsetGraphics because inzipName is now automatically determined
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22374 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 04:43:13 +00:00
Bo Peng
1e6d09c7c8
zipunzip.cpp: Replace makedir etc with versions in support::FileName, fix a bug in extracting subdirectories
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22373 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 04:39:01 +00:00
Jean-Marc Lasgouttes
d43731fa17
remove extra menu expansion which causes multiple warnings about shortcuts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22365 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-04 16:54:56 +00:00
Jean-Marc Lasgouttes
b605ba6e8c
translating empty strings is not a good idea
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22358 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-04 15:44:51 +00:00
Jean-Marc Lasgouttes
c3ec9ddda0
Disable and check properly the math numbering functions.
...
* InsetMathHull.cpp (getStatus): disable LFUN_MATH_NUMBER and LFUN_MATH_NONUMBER
when the equation is not in display mode; add a checkbox as needed.
(doDispatch): no need to test for dispatch() anymore.
* InsetMathNest.cpp (getStatus): LFUN_MATH_NUMBER and LFUN_MATH_NONUMBER are not
handled by this class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22350 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-03 17:31:12 +00:00
Bo Peng
ed2b1631db
Showing a message box after embedding status is changed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22349 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-03 16:41:06 +00:00
Jean-Marc Lasgouttes
67615fba80
fix compilation warnings: more unused parameters
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22348 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-03 16:10:44 +00:00
Jean-Marc Lasgouttes
d8eaec5c03
fix compilation warnings: unused parameters
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22347 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-03 15:44:05 +00:00
Jürgen Spitzmüller
b0ff3b92d7
* src/frontends/qt4/GuiSendto.cpp:
...
- add missing pdflatex format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22346 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-03 09:22:36 +00:00
Enrico Forestieri
62d5000103
Use a less verbose form for warnings in the view source window
...
and correctly match strings in order to coalesce translations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22337 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-30 21:28:38 +00:00
Richard Heck
d23ff5f777
More encoding.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22334 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-29 21:18:50 +00:00
Richard Heck
e6cec292c5
Encoding.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22333 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-29 21:15:20 +00:00
Abdelrazak Younes
58729e1117
Following rev 21967: final touch to odocfstream:
...
- odocfstream: properly fix plaintext output by getting rid of ctor with std::string argument as this can be mixed up with std::ofstream(std::string) ctor where the argument is a file. UTF8 is now the default encoding.
- PreviewLoader::Impl::startLoading(): catch another potential iconv exception.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22332 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-29 18:04:43 +00:00
Jürgen Spitzmüller
31496b4a16
* src/output_plaintext.cpp:
...
- fix plaintext output. Abdel, you still should have a look at this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22330 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-29 10:22:01 +00:00
Richard Heck
eb112d0711
Contributions to the LFUN documentation project.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22329 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 17:57:43 +00:00
Richard Heck
d4dbefc749
Tiny comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22328 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 17:11:39 +00:00
Jürgen Spitzmüller
a229a78dff
Support for \nocite* from Berhard Reiter. Increments file format to 210.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 16:56:57 +00:00
Jürgen Spitzmüller
636b655216
Fix multiple cell pasting on Windows and Mac (bug 4436):
...
* src/Clipboard.h:
* src/frontends/GuiClipboard.{cpp,h}:
- new member hasInternal() which indicates whether the OS knows
the concept of clipboard ownership.
* src/insets/InsetTabular.cpp (doDispatch):
- consider hasInternal() while pasting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22325 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 15:56:05 +00:00
Abdelrazak Younes
5587709f0e
Introduce LFUN_SCROLL.
...
Santa-clauss.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-27 11:37:07 +00:00
Abdelrazak Younes
88942bcae4
Fix a crash with depm.
...
* BufferView::checkDepm(): update d->cursor_ in case of depm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-27 10:39:25 +00:00
Abdelrazak Younes
f3326796a1
Fix next-inset-toggle after scrolling work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22321 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-27 09:44:39 +00:00
Jürgen Spitzmüller
c26050ac83
* src/support/unicode.cpp (convert):
...
- flush out data at the end of the conversion process (bug 4439).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22319 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-27 07:30:06 +00:00
Abdelrazak Younes
c451018f30
enable context menu for the vertical scrollbar.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22317 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 15:04:20 +00:00
Abdelrazak Younes
02fd454216
header cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22316 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 14:21:50 +00:00
Abdelrazak Younes
ebdd03d477
Properly fix undo/redo following scroll work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22315 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 14:10:24 +00:00
Abdelrazak Younes
e1033d4ad6
Fix undo/redo following scroll work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22314 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 14:00:55 +00:00
Abdelrazak Younes
33eb188fb6
Add an RC setting to disable/enable the tooltips in the work area.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22313 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 13:52:56 +00:00
Stefan Schimanski
afc761e17b
* compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22312 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 13:31:17 +00:00
Stefan Schimanski
780556c5d8
* compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22311 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 13:29:45 +00:00
Abdelrazak Younes
6b0a396d74
* GuiWorkArea::contextMenuEvent(): accept the event otherwise it is passed down to GuiView after pressing the Esc key.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22310 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 12:48:36 +00:00
Abdelrazak Younes
fc2658eff0
initial basic context menu support.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22309 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 12:40:58 +00:00
Abdelrazak Younes
722329490b
Simplify MenuBackend and menubar interactions.
...
* GuiMenubar: freed from GuiView and QMenuBar, renamed to 'Menus'
* GuiView: just use the standard QMenuBar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22308 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 10:55:43 +00:00
Jürgen Spitzmüller
cfb1d4027b
* src/insets/InsetSpace.cpp:
...
- further improve appearance of protected space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22307 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 10:38:59 +00:00
Abdelrazak Younes
4803a77708
Transfer global mac menu bar initialization to GuiApplication ctor.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22305 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 09:54:48 +00:00
Bo Peng
6f57240133
add missing header file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 06:44:22 +00:00
Abdelrazak Younes
518871a52b
Don't pretend we have multiple menu backends: transfer the singleton to GuiApplication.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22303 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 22:27:32 +00:00
Abdelrazak Younes
4959040015
* GuiMenuBar:
...
- Get rid of unused menuBar() method.
- make sure mac specific code always compile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22302 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 21:34:53 +00:00
Abdelrazak Younes
3ffd3f51a1
Free GuiPopupMenu from GuiMenubar.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22301 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 20:51:05 +00:00
Abdelrazak Younes
02110a3d5b
Prepare the code for context menu support.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22300 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 20:12:07 +00:00
Abdelrazak Younes
2148f86b27
remove debug code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22299 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 19:01:10 +00:00
Abdelrazak Younes
7c832d2d84
Implement tooltips for visible insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22298 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 18:53:38 +00:00
Abdelrazak Younes
6564f8a52a
fix warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22297 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 18:49:55 +00:00
Abdelrazak Younes
44383f5162
Fix graphics file name. It is textrm_O.png, not textrm_Oe.png
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22296 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-25 09:14:00 +00:00
Stefan Schimanski
1c830e744f
* some warnings less
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22295 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-24 14:13:10 +00:00
Jürgen Spitzmüller
09f09e2121
* src/Buffer.cpp:
...
- better translatable error message for uncodable chars, now also
displaying the code point value.
* src/Paragraph.cpp:
- do not throw in View Source mode, but mark up uncodable chars (fix bug 4437).
* src/frontends/qt4/LaTeXHighlighter.{cpp,h}:
- highlight LyX warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22294 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-24 13:55:01 +00:00
Stefan Schimanski
04537d8664
* make sure the edit mode is the same in math macros and argument proxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22292 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-24 10:54:39 +00:00
Stefan Schimanski
6a9e5edae3
* setDimCache is superfluous in mathed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22291 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-24 10:53:53 +00:00
Stefan Schimanski
7150b0caa3
* moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22290 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-24 10:52:58 +00:00
Enrico Forestieri
1732e5458b
Try to improve maintainability by separately checking for the
...
gather environment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22288 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-24 02:36:41 +00:00
Stefan Schimanski
5caf1bb4de
* Some dialogs are independent of the lyxview. Moreover it seems that
...
the Qt Mac application menu is handled differently such that no
getStatus() is issued anymore later when opening it. Hence we have
to return the correct (i.e. enable==true) value for those lfuns from
the beginning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22286 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 19:07:46 +00:00
Stefan Schimanski
a6f3a3c59c
* first clear the menubar, then fill it (with mac menu items)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22285 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 18:51:11 +00:00
Stefan Schimanski
5636ca5dea
* indention fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22284 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 16:33:34 +00:00
Stefan Schimanski
455b42f21a
* compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22283 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 16:33:15 +00:00
Stefan Schimanski
3f5e1c0e27
* tex2lyx support for multiple optional argument using \newlyxcommand
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22282 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 16:33:01 +00:00
Stefan Schimanski
f85fccef65
* newlyxcommand support as LaTeX feature
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22281 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 16:32:00 +00:00
Stefan Schimanski
ec996ed828
* \newlyxcommand support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22280 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 16:31:37 +00:00
Stefan Schimanski
32c8479e5a
* perl -e 'while(<>) {sed s/\s+$//; print "$_\n";}' - Xcode's space/tab behaviour sucks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22278 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 01:28:51 +00:00
Stefan Schimanski
e240dbd5a8
* another monster line
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22277 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 01:28:24 +00:00
Stefan Schimanski
b2d70163b8
* cosmetic for loops with deep if nestings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22276 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 01:28:03 +00:00
Stefan Schimanski
9eed503019
* tabs are evil... hopefully I fixed all monster lines now
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22275 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 01:27:42 +00:00
Stefan Schimanski
83b46c7573
* tabs are evil
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22274 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 01:27:18 +00:00
Stefan Schimanski
926befadd8
* tabs are evil
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22273 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 01:27:04 +00:00
Stefan Schimanski
3308ebfbf6
* cellDim_ is not needed anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22272 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 01:26:46 +00:00
Stefan Schimanski
dfb41a2744
* proper labels under the holes in macro templates during editing
...
* The labels can easily be changed. In fact the whole layout can easily be changed because it's modular. So nothing is final yet...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22271 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 01:25:51 +00:00
Stefan Schimanski
e5bd44aadc
* first tries to make the math macro template more verbose
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22270 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 01:24:34 +00:00
Stefan Schimanski
7fa64792f5
* disable "auto" again until that point is discussed on the mailing list
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22269 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:50:21 +00:00
Stefan Schimanski
f6cc48c156
* correction of comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22268 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:49:44 +00:00
Stefan Schimanski
83980d504c
* cosmetic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22267 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:49:18 +00:00
Stefan Schimanski
fc11e21486
* cosmetic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22266 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:48:41 +00:00
Stefan Schimanski
4267ad00cd
* math macro toolbar can be made automatic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22265 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:47:37 +00:00
Stefan Schimanski
85e37b01b2
* simplify editing logic of math macros by making it purely dynamic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22260 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 14:39:47 +00:00
Stefan Schimanski
9ac321f28f
* kerning may depend on the BufferView because the metrics of some insets (e.g. math macros) depend on the cursor position in the view
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22259 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 14:39:22 +00:00
Stefan Schimanski
e32c8c5bad
* Inset::editing should be const
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22258 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 14:38:43 +00:00
Stefan Schimanski
b79bd1fa65
* make isInside const
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22257 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 14:38:20 +00:00
Abdelrazak Younes
2b9153b8bc
Fix navigation and bookmarks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22255 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 10:19:26 +00:00
Abdelrazak Younes
66627576fb
fix for cursor movement from text into mathed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22253 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 09:25:59 +00:00
Abdelrazak Younes
3b368687f9
Another fix for cursor movement up with big insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22252 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 09:10:49 +00:00
Abdelrazak Younes
62799a6707
Some fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22251 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 09:04:53 +00:00
Enrico Forestieri
51a365d784
Center rows in the gather environment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22250 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 23:15:54 +00:00
Abdelrazak Younes
0a55c924d9
* Buffer::filePath(): add a trailing '/' because the original version used support::onlyPath() which keeps the trailing slash.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22249 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 21:38:04 +00:00
Stefan Schimanski
dc9081c208
* first support of multiple BufferViews for macros. There are still problems that somehow the dimension caching is mixed among them.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22245 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 20:44:37 +00:00
Stefan Schimanski
69d224eb65
* adapt to MacroType
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22244 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 20:44:20 +00:00
Stefan Schimanski
992ae20115
* add \protect in front of macro with optional arguments because they are fragile
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 20:43:50 +00:00
Stefan Schimanski
a5005c8c48
* added debugging flag "macros" for math macros
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22242 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 20:43:21 +00:00
Stefan Schimanski
36dbec4506
* Lazy MathData to avoid unneeded interpretation of macro definitions
...
* DocIterator as MacroPosition
* Iterative search for macro in scope until a visible one is found.
This include the ability to resolve macro inside nested text insets.
* Speed up macro lookups by factor 2: only getMacro(name) call, no
further hasMacro(name) call before
* Both way child/master support
* Correct macro scope for multi-paragraph environments
* Correct macro scope for multi-depth-paragraphs
* Buffer::updateMacros made const
* Update macros when loaded (of master and child)
* Do not remove too many braces when unfolding a macro. This could
lead to a data loss because the relationship between arguments of
macros can be mixed up if nested macros are unfold at once.
* Reduce dependencies to MetricsInfo in MathMacro
* Update macros when needed. Normally it's done just before doing
metrics. But in cases without a brace around some constructs (like
\left(bla\right)) there is some help needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22241 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 20:42:46 +00:00
Abdelrazak Younes
93289e8fe1
Fix cursor positionning on new buffer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22238 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 20:01:11 +00:00
Richard Heck
a155d8934e
Improve size of spaces.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22236 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 19:34:13 +00:00
Abdelrazak Younes
7280d67126
More scrolling tweaks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22233 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 13:38:09 +00:00
Abdelrazak Younes
4fe31abd06
Fixed size line scrolling gives a better user experience.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22232 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 13:24:57 +00:00
Abdelrazak Younes
f833ad1d2c
scrolling tweaks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22231 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 13:03:45 +00:00
Abdelrazak Younes
ddda272512
bug fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22228 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 11:22:17 +00:00
Abdelrazak Younes
96d2d6fc50
* LyXFunc::dispatch(): invert BufferView::dispatch() and cursor::dispatch() calling.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22227 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 10:42:59 +00:00
Abdelrazak Younes
b8be6be268
Fix LFUN_BUFFER_END
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22226 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 10:11:32 +00:00
Abdelrazak Younes
d3980b14a8
code simplification.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22225 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 09:45:04 +00:00
Abdelrazak Younes
717db0a59e
add comments
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 09:43:23 +00:00
Stefan Schimanski
c7c1db84bd
* compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22223 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 09:19:19 +00:00
Abdelrazak Younes
2e8fdbb54b
rename BufferView::center() to showCursor().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22222 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 08:35:43 +00:00
Abdelrazak Younes
7998dfd948
Close to perfect scrolling. Some bugs fixing and behaviour tweaking remains but we are on a much saner ground.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22221 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 08:28:18 +00:00
Abdelrazak Younes
cb2538a52e
correctly position new paragraph on up and down movement.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22220 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 07:16:50 +00:00
Richard Heck
e285d2a7d8
Support for nocite, provided by Bernhard Reiter.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-20 15:46:14 +00:00
Stefan Schimanski
ec81fcaddb
* compile fix for trunk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22215 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-19 23:03:26 +00:00
Stefan Schimanski
2495f278ba
* at least return a valid template on parse error, but:
...
FIXME: The macro template does not make sense after this.
The whole parsing should not be in a constructor which
has no chance to report failure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22214 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-19 22:57:22 +00:00
Bo Peng
8d7ea1ceaa
Add buffer name/path/class to InsetInfo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22213 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-19 18:09:00 +00:00
Abdelrazak Younes
a84b8ca6be
Fix PageDown/Up scrolling.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22212 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-19 08:41:16 +00:00
Abdelrazak Younes
65dc5e8337
Fix some scrolling issues.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22211 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-19 07:47:03 +00:00
Bo Peng
837f7f2b6b
Use ErrorList to handle encoding error
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-18 17:51:20 +00:00
Pavel Sanda
3203595258
Add lfun doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22207 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-18 14:04:13 +00:00
Abdelrazak Younes
19787f2d79
* FileName::onlyPath(): use correct method. I need glasses!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22206 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-18 10:34:53 +00:00
Abdelrazak Younes
5df6a11820
Remove unneeded assertion.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22205 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-18 10:14:01 +00:00
Jürgen Spitzmüller
b8513d13e5
Fix bug 2913: "mark-on" broken.
...
* src/Cursor.cpp (selHandle):
- handle mark()
* src/Text.cpp (dissolveInset):
- switch mark off before using selHandle, just in case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22204 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-18 07:10:55 +00:00
Abdelrazak Younes
1447a7bf98
Now that exceptions are allowed, handle gracefully the case where a Buffer temp directory could not be created. As a bonus, the user will get an informative message.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22196 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 18:37:13 +00:00