]>
git.lyx.org Git - features.git/log
Abdelrazak Younes [Wed, 10 Feb 2010 06:51:49 +0000 (06:51 +0000)]
hasDigit(): Avoid a string copy as this is in a critical path for inline spellchecking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33403
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 10 Feb 2010 04:03:35 +0000 (04:03 +0000)]
Use readonly for manuals only in released versions.
Closing #6518.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157541.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33402
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 9 Feb 2010 19:38:28 +0000 (19:38 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33400
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 19:03:23 +0000 (19:03 +0000)]
* de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33399
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 18:22:15 +0000 (18:22 +0000)]
* po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33398
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 17:55:17 +0000 (17:55 +0000)]
* GuiSpellchecker.cpp:
- clear selection when ignore is clicked. Otherwise, LyX hangs
at the last word of an inset, if this word was misspelled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33396
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 17:35:35 +0000 (17:35 +0000)]
* support/lstring.{cpp,h}:
- new function hasDigit
* src/Paragraph.cpp (spellcheck):
- ignore words with digits, as in 1.6 (bug 6493).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33395
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 9 Feb 2010 17:25:44 +0000 (17:25 +0000)]
Application: get rid of 2 virtual interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33394
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 9 Feb 2010 17:06:40 +0000 (17:06 +0000)]
Today is a sad day, LyXView has passed over... long live GuiView!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33393
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 9 Feb 2010 16:31:09 +0000 (16:31 +0000)]
Remove unneeded include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33392
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 9 Feb 2010 16:30:12 +0000 (16:30 +0000)]
Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33391
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 16:24:01 +0000 (16:24 +0000)]
whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33390
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 9 Feb 2010 16:11:13 +0000 (16:11 +0000)]
Transfer LyXfunc code to GuiApplication::dispatch() and getStatus(). Now
a lot of simplification is possible. Except some instability period...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33389
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 14:34:58 +0000 (14:34 +0000)]
this was not intended to go in.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33388
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 14:33:16 +0000 (14:33 +0000)]
* Paragraph.cpp (spellcheck):
- comment out code that makes aspell abort
if a word in an unknown language is being checked
(instead of just skipping this word)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33387
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 9 Feb 2010 14:29:27 +0000 (14:29 +0000)]
remove last member variables from LyXFunc and move them to cursor. Now the class can be replaced by a namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33386
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 9 Feb 2010 14:26:59 +0000 (14:26 +0000)]
do not use theLyXFunc()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33385
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 14:14:38 +0000 (14:14 +0000)]
* EnchantChecker.cpp: don't crash if dictionary is not found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33383
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 9 Feb 2010 14:01:21 +0000 (14:01 +0000)]
Fix bug #6510: URL in the footnote will cause the `CJK' environment to terminate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33382
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 13:01:37 +0000 (13:01 +0000)]
Add language selector to the spell chekcer dialog (bug 2208).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33381
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 9 Feb 2010 12:42:38 +0000 (12:42 +0000)]
Temporarily fix bug #6412. The side effect is that, in LyX/Mac, when a
dialog is open, the menu entries that are buffer or view-related are not
going to be disabled. I'll try to solve that last issue later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33380
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 11:52:06 +0000 (11:52 +0000)]
* WordLangTuple.h: better initialization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33379
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 9 Feb 2010 11:26:49 +0000 (11:26 +0000)]
* store the full Language in WordLangTuple.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33378
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 9 Feb 2010 11:16:17 +0000 (11:16 +0000)]
fix assertion in Inset::getLayout when there is no buffer (bug #6497)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33377
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 9 Feb 2010 08:42:12 +0000 (08:42 +0000)]
qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33376
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 9 Feb 2010 08:35:19 +0000 (08:35 +0000)]
Link fix, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33375
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 9 Feb 2010 01:10:18 +0000 (01:10 +0000)]
Spanish Math.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33373
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 8 Feb 2010 22:20:02 +0000 (22:20 +0000)]
Fix compilation with 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33371
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 8 Feb 2010 22:09:40 +0000 (22:09 +0000)]
* Migrate InsetFloat to InsetDialog
* Bug fix and clean up InsetFloat parameter handling: this is still not very clean as the float type is not really a parameter still... The solution is to defer the float type reading to the actual inset reading, not its creation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33370
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 8 Feb 2010 17:39:55 +0000 (17:39 +0000)]
Patch by John McCabe-Dansted to fix bug #6502:
Wrong line count with parent math macros:
* TeXRow.{cpp,h}:
- new helper function to insert multiple newline at once.
* mathed/MacroTable.{cpp,h}:
* mathed/MacroTemplate.{cpp,h}:
- make write() an int, returning number of newlines
* Buffer.cpp (writeLaTeXSource):
- update texrow's newline on parent macro output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33367
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 8 Feb 2010 17:15:00 +0000 (17:15 +0000)]
Allow to switch buffer languages via the menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33366
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 8 Feb 2010 13:52:08 +0000 (13:52 +0000)]
* de.po: resolve a few shortcut conflicts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33365
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 8 Feb 2010 13:24:30 +0000 (13:24 +0000)]
Const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33364
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 8 Feb 2010 11:19:48 +0000 (11:19 +0000)]
cleanup handling of LFUN_REGEXP_MODE ; cleanup Text::getStatus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33363
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 8 Feb 2010 10:52:16 +0000 (10:52 +0000)]
fix compilation with qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33362
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 8 Feb 2010 07:19:48 +0000 (07:19 +0000)]
Next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33361
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 8 Feb 2010 07:19:43 +0000 (07:19 +0000)]
Unneeded include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33360
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 8 Feb 2010 03:17:49 +0000 (03:17 +0000)]
Math.lyx: add description of \displaystyle and friends
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33358
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 7 Feb 2010 22:11:32 +0000 (22:11 +0000)]
Fix inset creation, the inset name code was already passed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33357
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 7 Feb 2010 21:46:40 +0000 (21:46 +0000)]
ERT and Box insets: simplify dialog creation and don't hide the dialogs upon destruction anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33356
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 7 Feb 2010 21:44:31 +0000 (21:44 +0000)]
Most common cases with regexps seem to work, at least with ignore-format on.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33355
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 7 Feb 2010 21:41:39 +0000 (21:41 +0000)]
Migrate ERT dialog to InsetDialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33354
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 7 Feb 2010 21:12:46 +0000 (21:12 +0000)]
GuiBox: don't call applyView twice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33353
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 7 Feb 2010 21:06:43 +0000 (21:06 +0000)]
Dialog: move method to protected area
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33352
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 7 Feb 2010 20:28:41 +0000 (20:28 +0000)]
Box dialog: migrate to the new InsetDialog architecture. This simplifies the code and allows for immediate application of any change in the dialog. This is quite a complicated and non intuitive dialog still...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33351
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 7 Feb 2010 20:25:53 +0000 (20:25 +0000)]
* Dialog:
- transfer ans simplify a bit the CheckedLineEdit class from ButtonController.
* InsetDialog:
- Pimpl private data
- applyView(): now a slot, check widget before applying.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33350
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 7 Feb 2010 20:13:30 +0000 (20:13 +0000)]
GuiInfo: simplify code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33349
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 6 Feb 2010 16:49:38 +0000 (16:49 +0000)]
Fix shortcut target for the Contents combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33343
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 6 Feb 2010 14:58:52 +0000 (14:58 +0000)]
Spanish Math.lyx, UserGuide.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33341
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 6 Feb 2010 14:38:02 +0000 (14:38 +0000)]
GuiProgressView.cpp:
- fix #6509: All Progressview levels should be set
after selecting 'All' radio button
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33340
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sat, 6 Feb 2010 12:14:54 +0000 (12:14 +0000)]
Completing r33336 (coloured box around regexp visible also if InsetPreview enabled).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33339
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Fri, 5 Feb 2010 18:34:01 +0000 (18:34 +0000)]
Now the coloured box around the regexp is visible also if InsetPreview is enabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33336
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Fri, 5 Feb 2010 14:49:58 +0000 (14:49 +0000)]
Extracting also strings containing dash from languages-file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33334
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 5 Feb 2010 09:25:49 +0000 (09:25 +0000)]
revert r33327.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33331
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Fri, 5 Feb 2010 09:00:40 +0000 (09:00 +0000)]
Improved appearence of regexp insets (at least I hope so), also suggested in #6498 (Regex looks like math).
- added a frame around regexp insets, with a customizable dedicated color code
- regexp insets font turned to texttt
- recovered back the preamble snippet allowing for latex compilation of regexp insets, something that happens if you have instant preview on.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33329
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 4 Feb 2010 23:03:48 +0000 (23:03 +0000)]
Automate the setting of the ascii only flag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33328
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Thu, 4 Feb 2010 19:40:51 +0000 (19:40 +0000)]
Change, so that lyx_pot.py is extracting this string too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33327
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 4 Feb 2010 19:08:17 +0000 (19:08 +0000)]
Fix bug #3325: Labels with special characters in equations do not work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33325
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 4 Feb 2010 10:32:58 +0000 (10:32 +0000)]
Fix bug #2872: reference in math to label with "underscore"...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33324
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 4 Feb 2010 05:26:08 +0000 (05:26 +0000)]
* doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33323
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 4 Feb 2010 01:18:47 +0000 (01:18 +0000)]
Math.lyx: update typographic advice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33321
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 4 Feb 2010 00:07:08 +0000 (00:07 +0000)]
elsarticle.lyx: don't use the geometry package because this leads to option clashes when global document class options are used, see this thread: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg79184.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33319
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Tue, 2 Feb 2010 20:36:12 +0000 (20:36 +0000)]
Fixed crash on searching for empty list inside empty list with ignore-format off (bug #6500).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33318
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 2 Feb 2010 19:26:04 +0000 (19:26 +0000)]
remove variables initializations that are immediately overridden
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33317
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 2 Feb 2010 15:57:59 +0000 (15:57 +0000)]
Try to mitigate shortcut collisions in it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33315
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 1 Feb 2010 17:13:30 +0000 (17:13 +0000)]
remove tautology
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33313
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 1 Feb 2010 17:09:58 +0000 (17:09 +0000)]
resolve shortcut conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33312
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 1 Feb 2010 15:58:29 +0000 (15:58 +0000)]
Finally add some comments to the currentBufferView() and documentBufferView() functions.
Text from Tommaso (adjusted to my own taste) from the devel-list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33311
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 1 Feb 2010 14:44:12 +0000 (14:44 +0000)]
* GuiDocument.cpp: before accessing the buffer() in paramsToDialog(), check
if we have a bufferview() (fixes bug 6499)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33310
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Mon, 1 Feb 2010 09:54:41 +0000 (09:54 +0000)]
Use better include for 'struct QHeaderView'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33309
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Mon, 1 Feb 2010 06:00:46 +0000 (06:00 +0000)]
Make it compilable for QT4.3. (/usr/include/QtGui/qtreeview.h:51: error: forward declaration of ‘struct QHeaderView’)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33308
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Mon, 1 Feb 2010 01:07:32 +0000 (01:07 +0000)]
According to André, QLatin1String is cheaper.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33306
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 31 Jan 2010 23:49:00 +0000 (23:49 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33305
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 31 Jan 2010 22:18:21 +0000 (22:18 +0000)]
Removed obsolete FIXME (the invoked isInternal() method already does that).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33304
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 31 Jan 2010 22:12:23 +0000 (22:12 +0000)]
Refactor of r33302 (addressing #6457) according to vfr comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33303
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 31 Jan 2010 21:38:18 +0000 (21:38 +0000)]
Inhibits insertion of Regexp insets within InsetERT context (and fixes #6495).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33302
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 31 Jan 2010 20:51:15 +0000 (20:51 +0000)]
Revert r33295. This seems to be a not so great idea. The assert already fires when copying something.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33301
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 31 Jan 2010 18:22:58 +0000 (18:22 +0000)]
UserGuide.lyx: fix some typos and add an information
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33299
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 31 Jan 2010 17:52:51 +0000 (17:52 +0000)]
- EmbeddedObjects.lyx: fix spelling of the KOMA-Script package
- English EmbeddedObjects.lyx: fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33297
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 31 Jan 2010 17:23:50 +0000 (17:23 +0000)]
UserGuide.lyx:
- accept most of Richard's changes
- fix some typos
(again: please add all non LyX 2.0-specific stuff only to the docs in branch.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33296
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 31 Jan 2010 16:20:47 +0000 (16:20 +0000)]
Add an assert to check for a fully loaded Buffer before trying to save it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33295
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 31 Jan 2010 16:17:17 +0000 (16:17 +0000)]
Fix bug #6491: Empty .emergency file causes crash.
If the load fails, we should not try to save an emergency file as the file was not yet fully loaded and weird things may happen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33294
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 31 Jan 2010 15:59:23 +0000 (15:59 +0000)]
Return failure if the file ended unexpectedly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33293
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 31 Jan 2010 13:38:47 +0000 (13:38 +0000)]
Please Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33292
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 31 Jan 2010 13:15:26 +0000 (13:15 +0000)]
* GuiSetBorder.cpp: lighter colour for disabled borders (not used currently).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33291
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 31 Jan 2010 13:03:31 +0000 (13:03 +0000)]
Fix bug #6489: Assertion triggered when deleting contents of math ERT. (probably a stdlib assertion).
Do not access name_[0] if name_ has size 0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33290
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 31 Jan 2010 04:14:11 +0000 (04:14 +0000)]
EmbeddedObjects.lyx: fix several typos I have overwritten with r33287
(Please apply changes to the docs that are not LyX 2.0-specific only to branch, otherwise I loose the track.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33289
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 31 Jan 2010 03:53:31 +0000 (03:53 +0000)]
EmbeddedObjects.lyx: fix a typo spotted by a user
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33287
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 31 Jan 2010 01:44:49 +0000 (01:44 +0000)]
Fix bug #5446: Cursor gets stuck in InsetInfo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33285
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 31 Jan 2010 00:21:52 +0000 (00:21 +0000)]
Use Change::isSimilarTo to find a change when merging changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33284
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 30 Jan 2010 23:42:30 +0000 (23:42 +0000)]
scons_manifest.py: fix SCons (tabs are invalid in this Python script)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33283
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 30 Jan 2010 18:11:51 +0000 (18:11 +0000)]
Fix r33279.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33282
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 30 Jan 2010 16:41:28 +0000 (16:41 +0000)]
Move the message() function from lfunUiToggle to GuiView::dispatch(). Also, let the lfunUiToggle return a bool and let the parameter be a string instead of the FuncRequest.
(Pavel, what was "FuncRequest fr(LFUN_INSET_INSERT, "fullscreen")" supposed to mean ?).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33279
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 30 Jan 2010 16:07:53 +0000 (16:07 +0000)]
Do not set the statusbar message in GuiView::toolbar(). We don't really want to see the statusbar message when this function is called from initToolbars or from LFUN_COMMAND_EXECUTE. Instead, set the message in getStatus to indicate why the LFUN cannot be executed.
Also, disable the LFUN if the toolbar is not found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33278
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 30 Jan 2010 15:40:18 +0000 (15:40 +0000)]
Use the DispatchResult also for LFUN_MESSAGE and LFUN_BUFFER_WRITE_ALL.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33277
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 30 Jan 2010 15:30:49 +0000 (15:30 +0000)]
GuiInfo: Migrate [New] push button slot to InsetDialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33276
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 30 Jan 2010 15:12:44 +0000 (15:12 +0000)]
Fix assertions when there is no document open and the LFUN is handled by GuiView::dispatch().
This was forgotten in r33258.
(also reported as bug #6484)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33275
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 30 Jan 2010 12:13:00 +0000 (12:13 +0000)]
GuiRef.cpp: sort categories.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33273
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 30 Jan 2010 11:34:28 +0000 (11:34 +0000)]
CMake: fix merged build, seems GCC could not handle the namespaces correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33272
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 30 Jan 2010 11:19:48 +0000 (11:19 +0000)]
* GuiRef: improve filter UI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33271
a592a061 -630c-0410-9148-
cb99ea01b6c8