]> git.lyx.org Git - lyx.git/log
lyx.git
15 years agoUpdate RELEASE-NOTES and LFUN documentation for the changes in LFUN_INSET_TOGGLE...
Vincent van Ravesteijn [Wed, 15 Apr 2009 21:41:07 +0000 (21:41 +0000)]
Update RELEASE-NOTES and LFUN documentation for the changes in LFUN_INSET_TOGGLE and LFUN_INSET_SETTINGS.

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

15 years agoFix bug #5435.
Vincent van Ravesteijn [Wed, 15 Apr 2009 20:20:42 +0000 (20:20 +0000)]
Fix bug #5435.
Revert the previous fix and fix the DEPM regression.

This reverts r28910.

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

15 years ago* LyXAction.cpp: doxy.
Vincent van Ravesteijn [Wed, 15 Apr 2009 17:14:48 +0000 (17:14 +0000)]
* LyXAction.cpp: doxy.

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

15 years agoInsetListings.cpp: simplify.
Vincent van Ravesteijn [Wed, 15 Apr 2009 17:00:43 +0000 (17:00 +0000)]
InsetListings.cpp: simplify.

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

15 years agoFix bug 5894: Inserting tabs with inline selections.
Vincent van Ravesteijn [Wed, 15 Apr 2009 16:42:38 +0000 (16:42 +0000)]
Fix bug 5894: Inserting tabs with inline selections.

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

15 years agoTry to avoid use of perl, if there is no perl-command available
Kornel Benko [Wed, 15 Apr 2009 07:28:37 +0000 (07:28 +0000)]
Try to avoid use of perl, if there is no perl-command available

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

15 years agoCopy po-files only if realy changed.
Kornel Benko [Wed, 15 Apr 2009 07:14:29 +0000 (07:14 +0000)]
Copy po-files only if realy changed.
Avoids annoying po re-building.

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

15 years agoupdate
Kornel Benko [Mon, 13 Apr 2009 14:58:37 +0000 (14:58 +0000)]
update

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

15 years ago* Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex...
Jürgen Spitzmüller [Mon, 13 Apr 2009 09:53:40 +0000 (09:53 +0000)]
* Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex)
   from the standard LaTeX programs.
  These programs are only used now if the document actually uses Japanese, not always if they are found.
  (bug 5601 a.o.).

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

15 years agonext attempt for PageLayoutUi
Pavel Sanda [Mon, 13 Apr 2009 09:28:34 +0000 (09:28 +0000)]
next attempt for PageLayoutUi

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

15 years agoPageLayoutUi.ui: correct space between buttons and remove some strange three dots
Uwe Stöhr [Mon, 13 Apr 2009 01:35:55 +0000 (01:35 +0000)]
PageLayoutUi.ui: correct space between buttons and remove some strange three dots

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

15 years ago1.) some white spaces removed
Kornel Benko [Sun, 12 Apr 2009 15:01:08 +0000 (15:01 +0000)]
1.) some white spaces removed
2.) Using direct call to uic-qt4. This was needed to enable translated
    strings to appear in many dialogs.
    I needed some time to find out, why strings form autocof-build made
    it into the dialogs, but strings from cmake-build did not.

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

15 years agoNext ui tweaks
Pavel Sanda [Sun, 12 Apr 2009 14:25:51 +0000 (14:25 +0000)]
Next ui tweaks

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

15 years agoPageLayoutUi.ui: add tooltip for the new push button
Uwe Stöhr [Sun, 12 Apr 2009 13:19:11 +0000 (13:19 +0000)]
PageLayoutUi.ui: add tooltip for the new push button

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

15 years agoCorrect naming
Pavel Sanda [Sun, 12 Apr 2009 12:56:38 +0000 (12:56 +0000)]
Correct naming

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

15 years agoadd tooltip
Pavel Sanda [Sun, 12 Apr 2009 12:46:14 +0000 (12:46 +0000)]
add tooltip

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

15 years agoChange button type for proper color in linux
Pavel Sanda [Sun, 12 Apr 2009 12:40:25 +0000 (12:40 +0000)]
Change button type for proper color in linux

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

15 years agoFix background of color dialog
Pavel Sanda [Sun, 12 Apr 2009 12:33:35 +0000 (12:33 +0000)]
Fix background of color dialog
(inherit from dialog and not button for which we changed stylesheet)

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

15 years agoPlease Andre'.
Vincent van Ravesteijn [Sun, 12 Apr 2009 10:11:54 +0000 (10:11 +0000)]
Please Andre'.

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

15 years agoCosmetics for r29220.
Vincent van Ravesteijn [Sun, 12 Apr 2009 09:13:46 +0000 (09:13 +0000)]
Cosmetics for r29220.

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

15 years agoGuiDocument.cpp: remove unneeded conversion
Uwe Stöhr [Sun, 12 Apr 2009 00:43:05 +0000 (00:43 +0000)]
GuiDocument.cpp: remove unneeded conversion

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

15 years agoGuiDocument.cpp: fix whitespace
Uwe Stöhr [Sun, 12 Apr 2009 00:37:25 +0000 (00:37 +0000)]
GuiDocument.cpp: fix whitespace

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

15 years agosupport for \pagecolor, fileformat change
Uwe Stöhr [Sat, 11 Apr 2009 21:40:11 +0000 (21:40 +0000)]
support for \pagecolor, fileformat change

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

15 years agolyx_1_6.py: remove wrong comment
Uwe Stöhr [Sat, 11 Apr 2009 21:17:58 +0000 (21:17 +0000)]
lyx_1_6.py: remove wrong comment

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

15 years agoEnable dialogs that can apply for read-only documents.
Vincent van Ravesteijn [Sat, 11 Apr 2009 18:34:03 +0000 (18:34 +0000)]
Enable dialogs that can apply for read-only documents.

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

15 years ago* LFUNs.lyx
Pavel Sanda [Sat, 11 Apr 2009 18:18:06 +0000 (18:18 +0000)]
* LFUNs.lyx

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

15 years agoUpdate credits
Pavel Sanda [Sat, 11 Apr 2009 18:13:22 +0000 (18:13 +0000)]
Update credits

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

15 years agoMirror Kornel's changes in trunk
Pavel Sanda [Sat, 11 Apr 2009 18:08:51 +0000 (18:08 +0000)]
Mirror Kornel's changes in trunk

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

15 years agoBind M-plus(M-equal) and M-minus to buffer-zoom-in/out.
Vincent van Ravesteijn [Sat, 11 Apr 2009 14:26:47 +0000 (14:26 +0000)]
Bind M-plus(M-equal) and M-minus to buffer-zoom-in/out.

If someone knows how to do this better..

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

15 years ago* InsetGraphics.cpp (findTargetFormat):
Jürgen Spitzmüller [Sat, 11 Apr 2009 13:00:10 +0000 (13:00 +0000)]
* InsetGraphics.cpp (findTargetFormat):
- consider XeTeX.

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

15 years agoHide disabled item from context menus of toc.
Vincent van Ravesteijn [Sat, 11 Apr 2009 11:50:12 +0000 (11:50 +0000)]
Hide disabled item from context menus of toc.

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

15 years ago* InsetLabel: Return the status for LFUN_INSERT_LABEL_AS_REF.
Vincent van Ravesteijn [Sat, 11 Apr 2009 11:45:11 +0000 (11:45 +0000)]
* InsetLabel: Return the status for LFUN_INSERT_LABEL_AS_REF.

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

15 years agoImplement the getStatus mechanism for the context menu of the toc.
Vincent van Ravesteijn [Sat, 11 Apr 2009 11:43:13 +0000 (11:43 +0000)]
Implement the getStatus mechanism for the context menu of the toc.

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

15 years ago* InsetBranch.cpp:
Jürgen Spitzmüller [Sat, 11 Apr 2009 07:11:37 +0000 (07:11 +0000)]
* InsetBranch.cpp:
- indicate branch status in the tooltip.

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

15 years ago* GuiDocument.cpp:
Jürgen Spitzmüller [Sat, 11 Apr 2009 06:52:55 +0000 (06:52 +0000)]
* GuiDocument.cpp:
- reintroduce prefix to fix gcc warning.

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

15 years agoGuiDocument.cpp: remove unneeded prefix since we are there already in namespace lyx
Uwe Stöhr [Sat, 11 Apr 2009 00:59:13 +0000 (00:59 +0000)]
GuiDocument.cpp: remove unneeded prefix since we are there already in namespace lyx

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

15 years agoShow the current type of Phantom in the Phantom context menu.
Vincent van Ravesteijn [Fri, 10 Apr 2009 17:21:40 +0000 (17:21 +0000)]
Show the current type of Phantom in the Phantom context menu.

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

15 years agoFix qt assertion when requesting settings dialog of an InsetPhantom.
Vincent van Ravesteijn [Fri, 10 Apr 2009 17:15:02 +0000 (17:15 +0000)]
Fix qt assertion when requesting settings dialog of an InsetPhantom.

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

15 years ago* GuiDocument.cpp:
Jürgen Spitzmüller [Fri, 10 Apr 2009 14:39:22 +0000 (14:39 +0000)]
* GuiDocument.cpp:
- minor xetex UI tweaks.

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

15 years agoThese insets are NOT_EDITABLE.
Vincent van Ravesteijn [Fri, 10 Apr 2009 14:11:39 +0000 (14:11 +0000)]
These insets are NOT_EDITABLE.

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

15 years ago* compile_uic.sh: Add OutputUi.
Vincent van Ravesteijn [Fri, 10 Apr 2009 12:43:35 +0000 (12:43 +0000)]
* compile_uic.sh: Add OutputUi.

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

15 years agoMove handling of LFUN_MOUSE_RELEASE up to Inset and remove the edit() functions for...
Vincent van Ravesteijn [Fri, 10 Apr 2009 12:38:32 +0000 (12:38 +0000)]
Move handling of LFUN_MOUSE_RELEASE up to Inset and remove the edit() functions for insets that do not derive from InsetCollapsable.

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

15 years ago* remove outdated RC_CUSTOM_EXPORT_COMMAND and RC_CUSTOM_EXPORT_FORMAT.
Jürgen Spitzmüller [Fri, 10 Apr 2009 11:11:14 +0000 (11:11 +0000)]
* remove outdated RC_CUSTOM_EXPORT_COMMAND and RC_CUSTOM_EXPORT_FORMAT.

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

15 years agoShow inset-toggle in the ShortCuts dialog. (Why was this Hidden ?)
Vincent van Ravesteijn [Fri, 10 Apr 2009 11:07:54 +0000 (11:07 +0000)]
Show inset-toggle in the ShortCuts dialog. (Why was this Hidden ?)

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

15 years ago* new per-document default output format. File format change.
Jürgen Spitzmüller [Fri, 10 Apr 2009 11:06:53 +0000 (11:06 +0000)]
* new per-document default output format. File format change.

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

15 years agoRemove last bits of LFUN_INSET_TOGGLE that is used to show the inset settings.
Vincent van Ravesteijn [Fri, 10 Apr 2009 01:40:16 +0000 (01:40 +0000)]
Remove last bits of LFUN_INSET_TOGGLE that is used to show the inset settings.

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

15 years agoChange all inset-toggle into inset-settings.
Vincent van Ravesteijn [Fri, 10 Apr 2009 01:18:42 +0000 (01:18 +0000)]
Change all inset-toggle into inset-settings.

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

15 years agoAdd context menus to the Toc for labels(settings), branches, graphics, citations...
Vincent van Ravesteijn [Fri, 10 Apr 2009 00:42:24 +0000 (00:42 +0000)]
Add context menus to the Toc for labels(settings), branches, graphics, citations, figures, tables.

This is now possible because we can dispatch all the necessary LFUNs to the insets.

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

15 years agoMake the insets accept LFUN_INSET_SETTINGS. These insets did not yet respond to LFUN_...
Vincent van Ravesteijn [Fri, 10 Apr 2009 00:20:12 +0000 (00:20 +0000)]
Make the insets accept LFUN_INSET_SETTINGS. These insets did not yet respond to LFUN_INSET_SETTINGS. One had to use LFUN_INSET_TOGGLE to show the settings dialog. Now, this dependency on LFUN_INSET_TOGGLE can be removed.

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

15 years agoMake the insets accept LFUN_INSET_SETTINGS. For these insets, LFUN_INSET_SETTINGS...
Vincent van Ravesteijn [Fri, 10 Apr 2009 00:17:34 +0000 (00:17 +0000)]
Make the insets accept LFUN_INSET_SETTINGS. For these insets, LFUN_INSET_SETTINGS was already used to show the settings dialog (in contrast to the insets in the next commit).

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

15 years ago* Inset: Dispatch FuncRequest.
Vincent van Ravesteijn [Fri, 10 Apr 2009 00:13:20 +0000 (00:13 +0000)]
* Inset: Dispatch FuncRequest.

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

15 years agoMake sure we also dispatch the doDispatch() and getResult() to Inset when Text could...
Vincent van Ravesteijn [Fri, 10 Apr 2009 00:08:50 +0000 (00:08 +0000)]
Make sure we also dispatch the doDispatch() and getResult() to Inset when Text could not process the request.

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

15 years agoCompil fix
Pavel Sanda [Thu, 9 Apr 2009 23:36:34 +0000 (23:36 +0000)]
Compil fix

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

15 years agoMove handling of LFUN_INSET_SETTINGS to Inset.cpp
Vincent van Ravesteijn [Thu, 9 Apr 2009 23:17:20 +0000 (23:17 +0000)]
Move handling of LFUN_INSET_SETTINGS to Inset.cpp

* Inset
Handle LFUN_INSET_SETTINGS.

* LyXAction
Use the AtPoint command flag.

* BufferView
* Text3
Remove code that handled LFUN_INSET_SETTINGS. The inset/next-inset part is handled by the AtPoint lfun flag. showInsetDialog is called by Inset::doDispatch and getStatus will be handled by all insets themselves.

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

15 years agoBuffer.cpp: fix due to compiler warning
Uwe Stöhr [Thu, 9 Apr 2009 22:58:51 +0000 (22:58 +0000)]
Buffer.cpp: fix due to compiler warning

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

15 years ago* whitespace
Vincent van Ravesteijn [Thu, 9 Apr 2009 22:17:32 +0000 (22:17 +0000)]
* whitespace

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

15 years agoAllow LFUNs to be relayed from InsetText to Inset if they are not supposed to be...
Vincent van Ravesteijn [Thu, 9 Apr 2009 22:15:06 +0000 (22:15 +0000)]
Allow LFUNs to be relayed from InsetText to Inset if they are not supposed to be handled by the Text.

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

15 years agoRemove unwanted comment.
Vincent van Ravesteijn [Thu, 9 Apr 2009 22:09:06 +0000 (22:09 +0000)]
Remove unwanted comment.

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

15 years agoImplement InsetCommand::showInsetDialog() (declared in Inset).
Vincent van Ravesteijn [Thu, 9 Apr 2009 22:08:00 +0000 (22:08 +0000)]
Implement InsetCommand::showInsetDialog() (declared in Inset).

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

15 years agoTOC context menu (part 4)
Vincent van Ravesteijn [Thu, 9 Apr 2009 18:51:07 +0000 (18:51 +0000)]
TOC context menu (part 4)

* TocWidget: Relay the LFUNs to the appropriate inset.

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

15 years agoTOC context menu (part 4)
Vincent van Ravesteijn [Thu, 9 Apr 2009 18:42:59 +0000 (18:42 +0000)]
TOC context menu (part 4)

* TocBackend: Give public access to the docIterator of the TocItem. In this way, the TocWidget can find the Inset which is related to the TocItem.

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

15 years agoLeave handling of LFUN_COPY_LABEL_AS_REF to InsetLabel and move handling of LFUN_INSE...
Vincent van Ravesteijn [Thu, 9 Apr 2009 18:31:17 +0000 (18:31 +0000)]
Leave handling of LFUN_COPY_LABEL_AS_REF to InsetLabel and move handling of LFUN_INSERT_LABEL_AS_REF also to InsetLabel.

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

15 years agoTOC context menu (part 3)
Vincent van Ravesteijn [Thu, 9 Apr 2009 18:24:28 +0000 (18:24 +0000)]
TOC context menu (part 3)

* TocWidget: Deconstify cur in doDispatch because I need a non-const Cursor when dispatching to Insets.

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

15 years agoupdates to --enable-monolithic-build code
Jean-Marc Lasgouttes [Thu, 9 Apr 2009 16:25:26 +0000 (16:25 +0000)]
updates to --enable-monolithic-build code

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

15 years agoJust rearranging and adding some comments.
Richard Heck [Thu, 9 Apr 2009 12:55:47 +0000 (12:55 +0000)]
Just rearranging and adding some comments.

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

15 years agoAdd "Insert label as reference" to the context menu of the TOC.
Vincent van Ravesteijn [Wed, 8 Apr 2009 22:03:28 +0000 (22:03 +0000)]
Add "Insert label as reference" to the context menu of the TOC.

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

15 years agoAdd "Copy label as reference" to context menu of the TOC.
Vincent van Ravesteijn [Wed, 8 Apr 2009 21:40:42 +0000 (21:40 +0000)]
Add "Copy label as reference" to context menu of the TOC.

(Note: it is not perfect yet for references in the same model as the labels).

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

15 years agoTOC context menu (part 2)
Vincent van Ravesteijn [Wed, 8 Apr 2009 21:06:58 +0000 (21:06 +0000)]
TOC context menu (part 2)

* TocWidget: add context menu to toc.

* Menus: specify origin of cmd.

* GuiView: if cmd coming from toc, dispatch to GuiToc.

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

15 years agoTOC context menu (part 1): Only scroll the document to the item when the user left...
Vincent van Ravesteijn [Wed, 8 Apr 2009 17:39:14 +0000 (17:39 +0000)]
TOC context menu (part 1): Only scroll the document to the item when the user left-clicks on the item.

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

15 years ago* lyx_2_0.py: fix xetex routine.
Jürgen Spitzmüller [Wed, 8 Apr 2009 08:07:42 +0000 (08:07 +0000)]
* lyx_2_0.py: fix xetex routine.

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

15 years ago* InsetExternal.cpp:
Jürgen Spitzmüller [Wed, 8 Apr 2009 07:55:55 +0000 (07:55 +0000)]
* InsetExternal.cpp:
- add XETEX to switch.

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

15 years agoWhat about these icons?
Enrico Forestieri [Wed, 8 Apr 2009 00:45:33 +0000 (00:45 +0000)]
What about these icons?

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

15 years agoInsetMathFrac.cpp: add some comments and remove an unused code line
Uwe Stöhr [Wed, 8 Apr 2009 00:19:57 +0000 (00:19 +0000)]
InsetMathFrac.cpp: add some comments and remove an unused code line

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

15 years ago* Buffer.cpp (getDefaultOutputFormat):
Jürgen Spitzmüller [Tue, 7 Apr 2009 11:54:02 +0000 (11:54 +0000)]
* Buffer.cpp (getDefaultOutputFormat):
- prevent crash if no formats are found (and return an empty string).

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

15 years agoRevert r25174
Pavel Sanda [Tue, 7 Apr 2009 11:21:54 +0000 (11:21 +0000)]
Revert r25174
on users request http://www.mail-archive.com/lyx-users@lists.lyx.org/msg72822.html .

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

15 years ago* GuiPrefs.cpp:
Jürgen Spitzmüller [Tue, 7 Apr 2009 10:59:03 +0000 (10:59 +0000)]
* GuiPrefs.cpp:
- clear combo before refilling.

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

15 years ago* LyXAction.cpp: update doxy.
Jürgen Spitzmüller [Tue, 7 Apr 2009 08:49:48 +0000 (08:49 +0000)]
* LyXAction.cpp: update doxy.

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

15 years ago* GuiDocument.cpp:
Jürgen Spitzmüller [Tue, 7 Apr 2009 08:39:56 +0000 (08:39 +0000)]
* GuiDocument.cpp:
- minor UI fixes wrt XeTeX.

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

15 years agoFixed the e-mail address of Christian Ridderstrom in generate_contributions.py
Christian Ridderström [Tue, 7 Apr 2009 08:29:21 +0000 (08:29 +0000)]
Fixed the e-mail address of Christian Ridderstrom in generate_contributions.py

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

15 years ago* lyx2lyx/lyx_2_0.py:
Jürgen Spitzmüller [Tue, 7 Apr 2009 08:03:16 +0000 (08:03 +0000)]
* lyx2lyx/lyx_2_0.py:
- add reversion method for XeTeX.

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

15 years ago* First step towards default view format.
Jürgen Spitzmüller [Tue, 7 Apr 2009 05:01:08 +0000 (05:01 +0000)]
* First step towards default view format.
The icons could be replaced by something nicer.

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

15 years agoInsetMathFrac.cpp: some code optimization
Uwe Stöhr [Tue, 7 Apr 2009 01:02:34 +0000 (01:02 +0000)]
InsetMathFrac.cpp: some code optimization

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

15 years agoInsetMathNest.cpp: forgot this in last commit
Uwe Stöhr [Tue, 7 Apr 2009 00:23:38 +0000 (00:23 +0000)]
InsetMathNest.cpp: forgot this in last commit

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

15 years agoInsetMathFrac: reimplement \cfrac with its optional argument the way Enrico proposed...
Uwe Stöhr [Mon, 6 Apr 2009 23:58:42 +0000 (23:58 +0000)]
InsetMathFrac: reimplement \cfrac with its optional argument the way Enrico proposed (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg149855.html)

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

15 years agoIntroduce a helper function and use it.
Enrico Forestieri [Mon, 6 Apr 2009 22:12:22 +0000 (22:12 +0000)]
Introduce a helper function and use it.

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

15 years agoFix bug #4510: GuiInclude->Edit marks master as changed.
Vincent van Ravesteijn [Mon, 6 Apr 2009 20:10:13 +0000 (20:10 +0000)]
Fix bug #4510: GuiInclude->Edit marks master as changed.

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

15 years agoWhere did that go ?
Vincent van Ravesteijn [Mon, 6 Apr 2009 18:29:19 +0000 (18:29 +0000)]
Where did that go ?

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

15 years agoFix LFUN_MARK_TOGGLE, which actually did set the mark in stead of toggling it, remove...
Vincent van Ravesteijn [Mon, 6 Apr 2009 18:25:23 +0000 (18:25 +0000)]
Fix LFUN_MARK_TOGGLE, which actually did set the mark in stead of toggling it, remove some duplicated code (clearSelection() already calls resetAnchor()), and do some cosmetics.

(Is LFUN_MARK_TOGGLE actually used by anyone ?)

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

15 years agoThe --batch patch.
Richard Heck [Mon, 6 Apr 2009 12:13:33 +0000 (12:13 +0000)]
The --batch patch.

Introduces a "--batch" command line flag, so you can do this:
lyx --batch -x "buffer-print printer default dvips" myfile.lyx
The "--batch" flag basically means: no gui.

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

15 years agoThe Buffer::dispatch() patch.
Richard Heck [Mon, 6 Apr 2009 12:12:06 +0000 (12:12 +0000)]
The Buffer::dispatch() patch.

This patch enhances the Buffer::dispatch() method to make it a full-fledged
member of the dispatch sequence. The most immediate payoff is that LFUNs that
are handled in Buffer::dispatch() can be used from the command line.

We make better use of the DispatchResult object and return error information
through it, rather than using return values. (This was JMarc's suggestion.) We
also introduce a  corresponding Buffer::getStatus() method, and modify
BufferView::getStatus() to return a flag indicating whether a decision has been
made, as is already done in some other cases.

Finally, some LFUNs are moved to Buffer::dispatch(), including LFUN_BUFFER_PRINT.

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

15 years ago* XeTeX can be launched via the toolbar now
Jürgen Spitzmüller [Mon, 6 Apr 2009 09:27:05 +0000 (09:27 +0000)]
* XeTeX can be launched via the toolbar now
* non-functional view formats are now disabled in the toolbar

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

15 years agoDon't wrap characters marked as mathalpha in the unicodesymbols file.
Enrico Forestieri [Mon, 6 Apr 2009 09:04:00 +0000 (09:04 +0000)]
Don't wrap characters marked as mathalpha in the unicodesymbols file.

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

15 years ago* BufferParams.cpp:
Jürgen Spitzmüller [Mon, 6 Apr 2009 08:10:50 +0000 (08:10 +0000)]
* BufferParams.cpp:
- move loading of the xetex packages xunicode and xltxtra
  to the end of the preamble

Now the UserGuide compiles with XeTeX!

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

15 years agostart XeTeX support.
Jürgen Spitzmüller [Mon, 6 Apr 2009 06:58:30 +0000 (06:58 +0000)]
start XeTeX support.

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

15 years agoDon't create nested text-in-math environments.
Enrico Forestieri [Sun, 5 Apr 2009 23:34:22 +0000 (23:34 +0000)]
Don't create nested text-in-math environments.

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

15 years agoFix bug #2213 (part 5): GuiChanges lacks "Previous Change" button.
Vincent van Ravesteijn [Sun, 5 Apr 2009 20:16:32 +0000 (20:16 +0000)]
Fix bug #2213 (part 5): GuiChanges lacks "Previous Change" button.

Make sure we jump to the next or previous change when we switch search direction. Without this patch, the same Change will be found and only the cursor is moved from the end (or begin) to the begin (or end) of the selection.

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

15 years agomajor code cleanup for fractions:
Uwe Stöhr [Sun, 5 Apr 2009 19:52:53 +0000 (19:52 +0000)]
major code cleanup for fractions:

- InsetMathFrac.cpp/h:
    - InsetCFrac, InsetDFrac, and InsetTFrac are now included as kind of InsetMathFrac
    - InsetDBinom and InsetTBinum are now included as kind of InsetMathBinom
    - support for the optional argument of \cfrac (cursor position still needs to be fixed, see post in mailing list)

- stdtoolbars.inc:
    - add entries for \cfrac
    - remove entry for \atop since atop is outdated and only in LaTeX2e for compatibility reasons (according to the LaTeX companion, you get warnings from amsmath in the LaTeX log when using atop)

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

15 years agoFix bug #2213 (part 4): GuiChanges lacks "Previous Change" button.
Vincent van Ravesteijn [Sun, 5 Apr 2009 19:26:26 +0000 (19:26 +0000)]
Fix bug #2213 (part 4): GuiChanges lacks "Previous Change" button.

Also show the Merge dialog when we are behind the last change.

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

15 years agoFix bug #2213 (part 3): GuiChanges lacks "Previous Change" button.
Vincent van Ravesteijn [Sun, 5 Apr 2009 19:15:52 +0000 (19:15 +0000)]
Fix bug #2213 (part 3): GuiChanges lacks "Previous Change" button.

Add Button to GuiChanges.

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

15 years agoFix bug #2213 (part 1): GuiChanges lacks "Previous Change" button.
Vincent van Ravesteijn [Sun, 5 Apr 2009 19:14:37 +0000 (19:14 +0000)]
Fix bug #2213 (part 1): GuiChanges lacks "Previous Change" button.

Add LFUN_CHANGE_PREVIOUS.

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