Commit Graph

15078 Commits

Author SHA1 Message Date
Pavel Sanda
3124fff5c8 * lfun doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28287 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-28 20:53:53 +00:00
Jürgen Spitzmüller
72b195fa4b * LyXFileDialog.cpp:
- limit workaround for Qt bug that was fixed in Qt 4.3.4 to previous Qt versions
	  (related to bug 4513).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28284 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-27 08:50:19 +00:00
Uwe Stöhr
6a0cdc2a1e revert r28281
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28282 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 23:50:54 +00:00
Uwe Stöhr
5ae52b3b6c remove the no longer used GuiNote
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28281 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 17:48:38 +00:00
Jürgen Spitzmüller
0f830027a3 * GuiApplication.cpp:
- use the first command in sequence as icon name for command-alternatives.
* lib/ui/stdtoolbars.inc:
	- use command-alternatives for the alignment buttons in the tabular toolbar (bug 5709).
* lib/images/tabular-feature_align-*.png:
* lib/images/tabular-feature_valign-*.png:
	- rename to tabular-feature_m-[v]align-*.png:

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28280 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 17:04:57 +00:00
Pavel Sanda
86ea78391e Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5627
(painting problems after load of instant preview image)

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147622.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28276 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 12:24:03 +00:00
Jürgen Spitzmüller
241ea2fc88 * GuiViewSource.cpp:
- enable widget in read-only mode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28270 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-24 12:38:05 +00:00
Pavel Sanda
2c9c081e09 Enhance variables for Convertes - add input and original paths.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147425.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28263 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-21 20:08:07 +00:00
Pavel Sanda
5e3d6fe9d5 When more windows are opened ensureBufferClean tries to save different document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28256 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-20 14:46:18 +00:00
Uwe Stöhr
5f3ef27629 LyXFunc.cpp: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28254 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-20 01:04:48 +00:00
Uwe Stöhr
32d26cd44e FuncCode.h: correct comment character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28253 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-20 00:38:21 +00:00
Uwe Stöhr
783884d3be InsetNote.cpp: fix comment typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28252 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-19 23:59:57 +00:00
Vincent van Ravesteijn
cf40884454 UI Command Buffer improvements.
* the history is stored in the session file and restored in the next LyX session,
* the lists now disappear when the mouse is released in stead of pressed,
* correct enabling/disabling of the up/down button,
* hide the lists when clicked outside the list. Now using the function event() and check for a mouseButtonPressEvent instead of using mouseReleaseEvent(). The latter is only called when the mouse button is released inside the widget, but we want to use this event to detect a mouseclick outside the list.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28250 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 21:50:23 +00:00
Vincent van Ravesteijn
7da84afa62 Adjust the comment for r28242.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28244 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 15:28:25 +00:00
Vincent van Ravesteijn
83f13982fc Avoid crash due to an infinite recursive loop when inset is NULL.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28242 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 15:21:57 +00:00
Vincent van Ravesteijn
d87030a353 Make the Apply button of the GuiCharacter dialog buffer dependent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28240 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:43:03 +00:00
Vincent van Ravesteijn
2afc45c538 Make the GuiCharacter dialog use the new ButtonPolicy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28239 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:41:12 +00:00
Vincent van Ravesteijn
160b0868c9 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:37:14 +00:00
Vincent van Ravesteijn
780742b73a New ButtonPolicy for dialogs with an auto-apply option.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28237 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:33:51 +00:00
Jürgen Spitzmüller
9485531ca0 * LaTeXFeatures.cpp:
- make lyxarrow robust, since \@ifstar is fragile.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28235 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:00:43 +00:00
Richard Heck
0596363567 Localize a couple strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28219 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 18:12:02 +00:00
Richard Heck
4856342a1e Whoops. Was programming in perl yesterday....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28218 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 18:04:54 +00:00
Pavel Sanda
8883d5438e Recognize also dia's compressed format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28216 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 16:31:59 +00:00
Pavel Sanda
aa2aee5c9b Squash warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28205 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 13:49:49 +00:00
Pavel Sanda
f1cc71b3b5 Another one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28204 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 13:38:21 +00:00
Pavel Sanda
31d7519b13 Uncrustify string for translators
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28203 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 13:30:41 +00:00
Jürgen Spitzmüller
933ab5545c * InsetGraphics.{cpp.h}:
- add possibility to count graphics group members.

* GuiGraphics.{cpp, h}:
	- warning message if a deserted group is going to be dissolved

* GraphicsUI.ui:
	- terminology.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28198 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 08:02:52 +00:00
Pavel Sanda
edbbf01dac Not saved automatically
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28197 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 05:52:32 +00:00
Uwe Stöhr
2a41c48394 InsetHyperlink.cpp: the "#" character must not be escaped in the URL field, only in the name field
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28195 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 05:24:05 +00:00
Richard Heck
01d60968f9 This can be a const ref now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28194 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 00:29:32 +00:00
Richard Heck
32950f6c6c Improve the display of BibTeX info in InsetCitation by retrieving missing
fields from the crossref.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28193 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 00:16:31 +00:00
Richard Heck
bb24f02188 We'll do the unicode conversion where it's actually needed: where we
calculate what to display.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28191 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 23:42:16 +00:00
Richard Heck
d8bf83a85a Cache the getInfo() return value. This will matter shortly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28190 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 23:40:37 +00:00
Richard Heck
7dcc99fb17 Revert r27975 and 28105, as they are causing too many problems, e.g.,
that search gets messed up, and that files can take forever to load. 
A better way to do this in in process.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28189 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 23:23:14 +00:00
Vincent van Ravesteijn
a5ceef887d Clean up the menus:
* Two new types of menuitems are introduced: Help and Info
* Help messages make sure that the submenu they are in is enabled.
* Empty lists are now represented by a message in brackets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28188 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 20:58:04 +00:00
Vincent van Ravesteijn
70ddcfdd0e Improved description of VC_COMMAND
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28187 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 20:50:15 +00:00
Pavel Sanda
5a6cdebbf2 Now not needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28186 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 15:58:42 +00:00
Jürgen Spitzmüller
be4beae809 * GuiGraphics.cpp:
- remove redundant line.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28185 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 15:39:29 +00:00
Jürgen Spitzmüller
c248ed757b * GuiGraphics.{cpp,h}:
* GraphicsUi.ui:
	- polish UI for graphics groups.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28184 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 14:54:25 +00:00
Jürgen Spitzmüller
b0edde64a0 * environment.cpp:
- correct return value of setenv.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28182 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 14:41:24 +00:00
Vincent van Ravesteijn
650a0261a6 Disable the Edit->Math menu when not in math.
Introduce new LFUN_MATH_FONT_STYLE which takes one of the font styles as an argument. A dispatch is being redirected to math-insert.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28181 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 10:35:57 +00:00
Pavel Sanda
26e3d3ff66 Fix make check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28179 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 22:49:32 +00:00
Jürgen Spitzmüller
a8516f57ee * GuiAbout.cpp:
- fall back to lyx_release_date, if everything else fails.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28173 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 13:56:40 +00:00
Jürgen Spitzmüller
6bb9cf4918 * configure.ac:
- use ISO format for LYX_DATE
* GuiAbout.cpp:
	- make release date translatable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28172 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 13:31:05 +00:00
Martin Vermeer
b4b47d783b Make autocorrect configurable in preferences file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28171 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 09:48:00 +00:00
Uwe Stöhr
06e961047e InsetHyperlink.cpp: - fix my rash r28141
- bugfix allow the usage of "%" in the URL field

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28169 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 02:53:08 +00:00
Vincent van Ravesteijn
36a2d521a6 Fix display of label in GuiPref.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28166 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 19:38:21 +00:00
Jürgen Spitzmüller
94442d8b30 * qt_helpers.{cpp,h}:
- get rid of function lengthAutoToWidgets, which was only used by GuiGraphics
	- new variant of lengthToWidgets that takes a docstring

* Validator.{cpp,h}:
	- the auto text in the Auto validators are customizable

* GuiGraphics.cpp:
	- make the "auto" string translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28165 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 17:53:31 +00:00
Jürgen Spitzmüller
5707a39041 * GuiExternal.{cpp,h}:
* ExternalUi.ui:
	- use LengthCombo for width unit.
	- use reliable item data, instead of doing manual recounts.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28164 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:47:25 +00:00
Pavel Sanda
82883a05f4 FindAdvSearch. Next patch from Tommaso.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147338.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28163 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:34:56 +00:00
Pavel Sanda
2ae25baf25 oops
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28162 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:33:14 +00:00
Jean-Marc Lasgouttes
1b913ff871 fix compilation of check_filetools
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:18:29 +00:00
Pavel Sanda
5701383b40 Add editable combobox for groups in graphics dialogs as discussed in
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70194.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:10:15 +00:00
Jean-Marc Lasgouttes
ec7d9f4593 Fix bug 4741: Pasting with middle mouse button into read only document works
http://bugzilla.lyx.org/show_bug.cgi?id=4741

Create a new LFUN selection-paste (to paste the internal selection), and bind
middle mouse button to
    command-alternatives selection-paste ; primary-selection-paste paragraph


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28154 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 14:24:59 +00:00
Jürgen Spitzmüller
92c30f4294 * GuiBox.cpp:
- remove the useless "none" special length from the combo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28153 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 14:10:52 +00:00
Jürgen Spitzmüller
5ba20465fe * LengthCombo.{cpp,h}:
- rename [add|remove]Item(unit) to [add|remove]Unit(unit)
	- remove now unnecessary reimplemantations of QComboBox functions
	- new member setCurrentItem(QString)

* GuiBox.cpp:
	- set ItemData for special lengths, which simplifies the logic a lot.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28152 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 12:57:23 +00:00
Jürgen Spitzmüller
18a8d490c7 * LengthCombo.{cpp, h}:
- use model/view infrastructure to store reliable data
	- use real unit name, not i18n strings, for all comparision purposes
	- remove unit "mu" in default contruction (bug 5682)
	- add some helpers to add and remove units

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28146 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 10:20:33 +00:00
Pavel Sanda
b05dcd0252 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28145 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 10:18:49 +00:00
Jürgen Spitzmüller
ef6be5f499 * load CJKutf8 package, if available, for CJK documents in utf8 encoding
(first part of fix to bug 5386)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28142 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 09:26:13 +00:00
Uwe Stöhr
03264aab68 InsetHyperlink.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5686
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28141 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 01:27:01 +00:00
Pavel Sanda
21470a6219 Add LFUN_VC_COMMAND.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147331.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28138 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-13 21:33:56 +00:00
Pavel Sanda
da24e05566 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28137 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-13 21:09:47 +00:00
Pavel Sanda
6837cd7a84 Another cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28132 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-13 00:58:01 +00:00
Pavel Sanda
4851e1c9f5 Add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28131 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-13 00:55:12 +00:00
Pavel Sanda
14b34d5afd Add comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28129 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 20:29:58 +00:00
Jürgen Spitzmüller
7952dfef25 * lengthcommon.cpp:
- adjust line length.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28121 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 09:23:06 +00:00
Jürgen Spitzmüller
743a29799b * use ulem instead of soul for change tracking
(fixes bugs 5091, 5480, 5647).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28114 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 08:01:28 +00:00
Jürgen Spitzmüller
9fba7d7759 * qt_helpers.cpp:
- fix function Length lengthFromWidgets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28112 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 06:48:12 +00:00
Uwe Stöhr
ef9b66cf2d lengthcommon.cpp: separate the translations for mu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28107 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 01:50:16 +00:00
Pavel Sanda
a87df64327 Add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28106 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 22:55:16 +00:00
Richard Heck
d17e30c00d Fix the translation of macros like: \"u, which don't appear
in unicodesymbols.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28105 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 21:40:10 +00:00
Richard Heck
392381882b r28101 for trunk, courtesy of Bo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28104 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 21:38:04 +00:00
Enrico Forestieri
e4eb0f3118 Fix layout of the View Source window when using Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28091 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 12:12:56 +00:00
Jürgen Spitzmüller
b99fc9bcd9 * LaTeXFeatures.cpp:
* InsetSpecialChar.cpp:
	- make the menu separator direction-aware [only in LaTeX output] (bug 3560).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28085 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 08:31:52 +00:00
Jürgen Spitzmüller
6525a79188 * InsetSpace.cpp: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28071 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-10 17:07:52 +00:00
Enrico Forestieri
7728b5cbb9 Fix bug 5665
http://bugzilla.lyx.org/show_bug.cgi?id=5665


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28058 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 16:09:41 +00:00
Pavel Sanda
4ef19a6580 Another round.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28052 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 08:44:52 +00:00
Pavel Sanda
42040b7757 Add tooltip to images groupId.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28047 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 07:41:31 +00:00
Jürgen Spitzmüller
56f22a330e * GuiView.cpp (insertPlaintextFile):
- set a proper file filter in the file dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28045 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 07:35:20 +00:00
Pavel Sanda
c1ca2b89fb Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5648
Patch from Bo.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28043 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 07:32:52 +00:00
Pavel Sanda
b91f9d7d42 Comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28040 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-08 22:07:22 +00:00
Pavel Sanda
e5767128ec Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28039 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-08 21:50:11 +00:00
Pavel Sanda
b74d910ffe AdvSearch - regexps fix.
Patch from Tommaso.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147090.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28038 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-08 21:49:56 +00:00
Jürgen Spitzmüller
4c0dcc4a57 forgot to save ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28034 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-08 08:00:37 +00:00
Jürgen Spitzmüller
454a2d4832 * GuiDocument.cpp (dispatchParams):
- do not set master buffer and warn if the master does not include child
	- issue warning if the master could not be loaded.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28033 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-08 07:59:37 +00:00
Vincent van Ravesteijn
658cee5ad4 Do not create a new file after 'new from template..' and cancel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28029 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-08 00:29:06 +00:00
Vincent van Ravesteijn
c53082b6c3 Improved UI for version control:
* the menu-item should also be enabled when the buffer is still unnamed (it will be saved anyway), and
* no buffer-reload after user cancel.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28028 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-08 00:14:55 +00:00
Vincent van Ravesteijn
f48e86dedc Fix disabling of submenus that are empty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28027 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 17:59:10 +00:00
Vincent van Ravesteijn
a16fabfb26 Fix disabling of submenus that have only disabled items.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28026 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 17:54:29 +00:00
Jürgen Spitzmüller
72dc5352dd * TocWidget: whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28024 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 14:49:40 +00:00
Jürgen Spitzmüller
2a4a108e60 * Buffer.cpp:
- prevent potential null pointer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28023 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 11:07:48 +00:00
Jürgen Spitzmüller
bd934ddf3e * Buffer.cpp:
- do not set master_file as master buffer if the document s no real child (bug 5653).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28020 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 07:53:28 +00:00
Vincent van Ravesteijn
c51ae2651c Correct enabling of the "Navigate->Bookmarks->Clear Bookmarks" menu item.
* LyXFunc.cpp:

Note that getStatus() always returned true for LFUN_BOOKMARK_CLEAR. This is because bookmarks().size() is hardcoded in the code to be 9 which is always larger than zero, obviously

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28014 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 01:48:47 +00:00
Martin Vermeer
823e27f465 Make autocorrect (still disabled) better. Now switched
on/off by !/space.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28008 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-06 09:44:47 +00:00
Vincent van Ravesteijn
78a05e4359 Improved debug message for locating toolbar icons. Patch from Dieter Jurzitza.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28000 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 19:05:46 +00:00
Vincent van Ravesteijn
7b659b4ecd Case-insensitive sorting of colors in GuiPrefs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27995 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 13:37:46 +00:00
Vincent van Ravesteijn
bd97d99c9a Add comment about r27991.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27992 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 09:56:37 +00:00
Vincent van Ravesteijn
cc3b9c61cf Fix crash when no new document can be created.
This occurs frequently when the temporary directory cannot be created because it already exists. The temporary directory can exist as a result of previous crashes of LyX.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27991 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 00:00:19 +00:00
Vincent van Ravesteijn
d57b6f315d Safety measure for r27988.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27990 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 23:39:12 +00:00
Richard Heck
9d48ad4f74 Improvements to the parser that extracts the "family name". We now get
the last name, with the "von" part, even when commas are not used in the
BibTeX file.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27989 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 23:35:08 +00:00