]> git.lyx.org Git - features.git/log
features.git
14 years ago* Migrate InsetFloat to InsetDialog
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

14 years agoPatch by John McCabe-Dansted to fix bug #6502:
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

14 years agoAllow to switch buffer languages via the menu.
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

14 years ago* de.po: resolve a few shortcut conflicts
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

14 years agoConst.
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

14 years agocleanup handling of LFUN_REGEXP_MODE ; cleanup Text::getStatus
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

14 years agofix compilation with qt 4.2
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

14 years agoNext one
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

14 years agoUnneeded include
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

14 years agoMath.lyx: add description of \displaystyle and friends
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

14 years agoFix inset creation, the inset name code was already passed.
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

14 years agoERT and Box insets: simplify dialog creation and don't hide the dialogs upon destruct...
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

14 years agoMost common cases with regexps seem to work, at least with ignore-format on.
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

14 years agoMigrate ERT dialog to InsetDialog.
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

14 years agoGuiBox: don't call applyView twice
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

14 years agoDialog: move method to protected area
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

14 years agoBox dialog: migrate to the new InsetDialog architecture. This simplifies the code...
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

14 years ago* Dialog:
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

14 years agoGuiInfo: simplify code.
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

14 years agoFix shortcut target for the Contents combo.
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

14 years agoSpanish Math.lyx, UserGuide.lyx: translations by Ignacio
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

14 years agoGuiProgressView.cpp:
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

14 years agoCompleting r33336 (coloured box around regexp visible also if InsetPreview enabled).
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

14 years agoNow the coloured box around the regexp is visible also if InsetPreview is enabled.
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

14 years agoExtracting also strings containing dash from languages-file
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

14 years agorevert r33327.
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

14 years agoImproved appearence of regexp insets (at least I hope so), also suggested in #6498...
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

14 years agoAutomate the setting of the ascii only flag.
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

14 years agoChange, so that lyx_pot.py is extracting this string too
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

14 years agoFix bug #3325: Labels with special characters in equations do not work
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

14 years agoFix bug #2872: reference in math to label with "underscore"...
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

14 years ago* doxy
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

14 years agoMath.lyx: update typographic advice
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

14 years agoelsarticle.lyx: don't use the geometry package because this leads to option clashes...
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

14 years agoFixed crash on searching for empty list inside empty list with ignore-format off...
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

14 years agoremove variables initializations that are immediately overridden
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

14 years agoTry to mitigate shortcut collisions in it.po
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

14 years agoremove tautology
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

14 years agoresolve shortcut conflict
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

14 years agoFinally add some comments to the currentBufferView() and documentBufferView() functions.
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

14 years ago* GuiDocument.cpp: before accessing the buffer() in paramsToDialog(), check
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

14 years agoUse better include for 'struct QHeaderView'
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

14 years agoMake it compilable for QT4.3. (/usr/include/QtGui/qtreeview.h:51: error: forward...
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

14 years agoAccording to André, QLatin1String is cheaper.
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

14 years agoUpdate it.po
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

14 years agoRemoved obsolete FIXME (the invoked isInternal() method already does that).
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

14 years agoRefactor of r33302 (addressing #6457) according to vfr comments.
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

14 years agoInhibits insertion of Regexp insets within InsetERT context (and fixes #6495).
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

14 years agoRevert r33295. This seems to be a not so great idea. The assert already fires when...
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

14 years agoUserGuide.lyx: fix some typos and add an information
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

14 years ago- EmbeddedObjects.lyx: fix spelling of the KOMA-Script package
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

14 years agoUserGuide.lyx:
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

14 years agoAdd an assert to check for a fully loaded Buffer before trying to save it.
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

14 years agoFix bug #6491: Empty .emergency file causes crash.
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

14 years agoReturn failure if the file ended unexpectedly.
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

14 years agoPlease Abdel.
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

14 years ago* GuiSetBorder.cpp: lighter colour for disabled borders (not used currently).
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

14 years agoFix bug #6489: Assertion triggered when deleting contents of math ERT. (probably...
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

14 years agoEmbeddedObjects.lyx: fix several typos I have overwritten with r33287
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

14 years agoEmbeddedObjects.lyx: fix a typo spotted by a user
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

14 years agoFix bug #5446: Cursor gets stuck in InsetInfo.
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

14 years agoUse Change::isSimilarTo to find a change when merging changes.
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

14 years agoscons_manifest.py: fix SCons (tabs are invalid in this Python script)
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

14 years agoFix r33279.
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

14 years agoMove the message() function from lfunUiToggle to GuiView::dispatch(). Also, let the...
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

14 years agoDo not set the statusbar message in GuiView::toolbar(). We don't really want to see...
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

14 years agoUse the DispatchResult also for LFUN_MESSAGE and LFUN_BUFFER_WRITE_ALL.
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

14 years agoGuiInfo: Migrate [New] push button slot to InsetDialog.
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

14 years agoFix assertions when there is no document open and the LFUN is handled by GuiView...
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

14 years agoGuiRef.cpp: sort categories.
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

14 years agoCMake: fix merged build, seems GCC could not handle the namespaces correctly
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

14 years ago* GuiRef: improve filter UI
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

14 years agoInset::validateModifyArgument(): new virtual interface for using LFUN_INSET_MODIFY.
Abdelrazak Younes [Sat, 30 Jan 2010 11:15:05 +0000 (11:15 +0000)]
Inset::validateModifyArgument(): new virtual interface for using LFUN_INSET_MODIFY.
GuiInfo: extract generic code into new class InsetDialog.

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

14 years ago* FindAndReplaceUi.ui: adapt tooltips
Jürgen Spitzmüller [Sat, 30 Jan 2010 10:56:20 +0000 (10:56 +0000)]
* FindAndReplaceUi.ui: adapt tooltips

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

14 years agoAdd search and grouping facility to Crossref dialog (bug #6304).
Jürgen Spitzmüller [Sat, 30 Jan 2010 10:51:24 +0000 (10:51 +0000)]
Add search and grouping facility to Crossref dialog (bug #6304).

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

14 years agoMade replace behaviour more standard: when pressing replace (next or previous) button:
Tommaso Cucinotta [Sat, 30 Jan 2010 10:11:24 +0000 (10:11 +0000)]
Made replace behaviour more standard: when pressing replace (next or previous) button:
-) if a selection exists, and it matches, then it is replaced;
-) next match is searched for and, if found, it is selected.
After a replace, next match is searched for only beyond the replaced text
(and not inside the replaced text).

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

14 years agoFix a crash when the child document is already closed.
Vincent van Ravesteijn [Sat, 30 Jan 2010 00:50:36 +0000 (00:50 +0000)]
Fix a crash when the child document is already closed.

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

14 years agoUse the Buffer::reload() function also in buffer_func.cpp::checkAndLoadLyXFile().
Vincent van Ravesteijn [Fri, 29 Jan 2010 21:09:59 +0000 (21:09 +0000)]
Use the Buffer::reload() function also in buffer_func.cpp::checkAndLoadLyXFile().

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

14 years agorevert unintended commit parts.
Jürgen Spitzmüller [Fri, 29 Jan 2010 14:52:15 +0000 (14:52 +0000)]
revert unintended commit parts.

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

14 years ago* fix spelling in comments to please John.
Jürgen Spitzmüller [Fri, 29 Jan 2010 14:44:21 +0000 (14:44 +0000)]
* fix spelling in comments to please John.

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

14 years agoMake LFUN_HELP_OPEN open the document in read-only mode.
Jean-Marc Lasgouttes [Fri, 29 Jan 2010 12:01:17 +0000 (12:01 +0000)]
Make LFUN_HELP_OPEN open the document in read-only mode.

This fixes problems where Mac users can modify the documentation
by mistake. Note that it is still possible to open those document by
explicit path or to toggle off the read-only status (but this is only
useful to documentors anyway).

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

14 years agoGet rid of the errorstat and dispatch_buffer members of LyXFunc.
Jean-Marc Lasgouttes [Fri, 29 Jan 2010 11:22:33 +0000 (11:22 +0000)]
Get rid of the errorstat and dispatch_buffer members of LyXFunc.

This required to make Cursor::disp_ mutable.

Also, the server parts now pass a DispatchResult object to dispatch (which is
a good thing anyway).

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

14 years agoadd a dispatchresult parameter to lyxview::dispatch
Jean-Marc Lasgouttes [Fri, 29 Jan 2010 10:42:39 +0000 (10:42 +0000)]
add a dispatchresult parameter to lyxview::dispatch

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

14 years ago* de.po: resolve some conflicting shortcuts
Jürgen Spitzmüller [Fri, 29 Jan 2010 10:06:58 +0000 (10:06 +0000)]
* de.po: resolve some conflicting shortcuts

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

14 years ago* po/*.po: remerge.
Jürgen Spitzmüller [Fri, 29 Jan 2010 09:04:24 +0000 (09:04 +0000)]
* po/*.po: remerge.

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

14 years ago* FindAndReplace.cpp:
Jürgen Spitzmüller [Fri, 29 Jan 2010 08:59:09 +0000 (08:59 +0000)]
* FindAndReplace.cpp:
- correct strings, following the attempt at r33252.

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

14 years ago* GuiView.cpp:
Jürgen Spitzmüller [Fri, 29 Jan 2010 08:19:45 +0000 (08:19 +0000)]
* GuiView.cpp:
- use tabbed dock area for multiple docks (such as "source" and "messages")
  by default (requires Qt 4.3).

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

14 years agoMake the fake sequence for braces highly unlikely (addressing #6478).
Tommaso Cucinotta [Fri, 29 Jan 2010 07:35:13 +0000 (07:35 +0000)]
Make the fake sequence for braces highly unlikely (addressing #6478).

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

14 years agoChanged "from begin" to "from the beginning", as suggested by gmatht (in #6478)
Tommaso Cucinotta [Fri, 29 Jan 2010 07:29:25 +0000 (07:29 +0000)]
Changed "from begin" to "from the beginning", as suggested by gmatht (in #6478)

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

14 years agoCorrect the mess introduced in r33250.
Vincent van Ravesteijn [Thu, 28 Jan 2010 20:03:09 +0000 (20:03 +0000)]
Correct the mess introduced in r33250.

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

14 years agoExpand the string "regexp" to something user will better be able to understand.
Vincent van Ravesteijn [Thu, 28 Jan 2010 19:56:12 +0000 (19:56 +0000)]
Expand the string "regexp" to something user will better be able to understand.

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

14 years ago* Implement updateLabels in mathed and add the MathRef insets to the references cache.
Jürgen Spitzmüller [Thu, 28 Jan 2010 17:37:22 +0000 (17:37 +0000)]
* Implement updateLabels in mathed and add the MathRef insets to the references cache.

This fixes bug #1560.

The diverse setBuffer / updateLabels calls need auditing. See FIXMEs.

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

14 years agoOpen or closed braces ({ or }) are now translated to non-braces fake constructs while...
Tommaso Cucinotta [Thu, 28 Jan 2010 17:26:18 +0000 (17:26 +0000)]
Open or closed braces ({ or }) are now translated to non-braces fake constructs while searching (fixes #6478, avoiding assert).

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

14 years ago* InsetTabular.cpp (addToToc):
Jürgen Spitzmüller [Thu, 28 Jan 2010 12:25:43 +0000 (12:25 +0000)]
* InsetTabular.cpp (addToToc):
- pass correct iterator (and prevent assertion).

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

14 years ago* InsetMathHull.h: constness, as suggested by Abdel.
Jürgen Spitzmüller [Thu, 28 Jan 2010 09:18:15 +0000 (09:18 +0000)]
* InsetMathHull.h: constness, as suggested by Abdel.

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

14 years ago* InsetTabular.{cpp, h}:
Jürgen Spitzmüller [Thu, 28 Jan 2010 08:33:14 +0000 (08:33 +0000)]
* InsetTabular.{cpp, h}:
- implement addToToc (bug 6372).

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

14 years agoRewrite FindAndReplace::eventFilter() and make it more human-readable.
Vincent van Ravesteijn [Wed, 27 Jan 2010 19:17:18 +0000 (19:17 +0000)]
Rewrite FindAndReplace::eventFilter() and make it more human-readable.

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

14 years agoGet rid of non-existent slot warning after removal of Close button.
Tommaso Cucinotta [Wed, 27 Jan 2010 18:38:43 +0000 (18:38 +0000)]
Get rid of non-existent slot warning after removal of Close button.

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

14 years agoFix doxygen output for grouped items. Without the /name tag doxygen shows the group...
Vincent van Ravesteijn [Wed, 27 Jan 2010 18:10:33 +0000 (18:10 +0000)]
Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized.

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

14 years agoLet the tag affect other sides too
Pavel Sanda [Wed, 27 Jan 2010 17:23:40 +0000 (17:23 +0000)]
Let the tag affect other sides too

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