]> git.lyx.org Git - lyx.git/log
lyx.git
13 years ago* g-brief2.layout:
Jürgen Spitzmüller [Thu, 19 Aug 2010 08:33:48 +0000 (08:33 +0000)]
* g-brief2.layout:
- add some missing standard environments (bug #6857)

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

13 years agoAvoid memory leak when the label is on the first row.
Enrico Forestieri [Thu, 19 Aug 2010 08:17:36 +0000 (08:17 +0000)]
Avoid memory leak when the label is on the first row.

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

13 years agoCREDITS: fix Reuben Thomas' entry.
Jürgen Spitzmüller [Thu, 19 Aug 2010 08:17:07 +0000 (08:17 +0000)]
CREDITS: fix Reuben Thomas' entry.

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

13 years ago* de.po: update.
Jürgen Spitzmüller [Thu, 19 Aug 2010 08:13:30 +0000 (08:13 +0000)]
* de.po: update.

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

13 years ago* sk.po
Kornel Benko [Thu, 19 Aug 2010 07:50:24 +0000 (07:50 +0000)]
* sk.po

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

13 years agoFix crash when mutating eqnarray-like environments with labeled lines
Enrico Forestieri [Thu, 19 Aug 2010 07:28:49 +0000 (07:28 +0000)]
Fix crash when mutating eqnarray-like environments with labeled lines
to display equations.

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

13 years agoReplace the deprecated os.popen3 with the subprocess module.
Enrico Forestieri [Thu, 19 Aug 2010 07:00:41 +0000 (07:00 +0000)]
Replace the deprecated os.popen3 with the subprocess module.

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

13 years agoRemerge po files
Enrico Forestieri [Thu, 19 Aug 2010 06:56:44 +0000 (06:56 +0000)]
Remerge po files

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

13 years ago* sk.po
Kornel Benko [Thu, 19 Aug 2010 05:38:56 +0000 (05:38 +0000)]
* sk.po

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

13 years agoUpdate it.po
Enrico Forestieri [Sat, 14 Aug 2010 22:57:15 +0000 (22:57 +0000)]
Update it.po

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

13 years agoBetter fix for bug #6851.
Enrico Forestieri [Sat, 14 Aug 2010 17:57:06 +0000 (17:57 +0000)]
Better fix for bug #6851.
The old-style font changing macros really inherit the mode, so we have
to account for this.

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

13 years ago* TabularUI.ui:
Jürgen Spitzmüller [Sat, 14 Aug 2010 17:13:57 +0000 (17:13 +0000)]
* TabularUI.ui:
- add accelerator
- better labeling

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

13 years agoAdd some accelerators.
Jürgen Spitzmüller [Sat, 14 Aug 2010 17:08:57 +0000 (17:08 +0000)]
Add some accelerators.

NOTE: some new elements in the dialogs still lack accelerators. People, please think of keyboard users when adding UI!

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

13 years ago* de.po: fix spellings
Jürgen Spitzmüller [Sat, 14 Aug 2010 16:35:20 +0000 (16:35 +0000)]
* de.po: fix spellings

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

13 years ago* po/*.po: remerge
Jürgen Spitzmüller [Sat, 14 Aug 2010 16:20:23 +0000 (16:20 +0000)]
* po/*.po: remerge
* de.po: translations

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

13 years ago* Output.ui: clearer labeling
Jürgen Spitzmüller [Sat, 14 Aug 2010 15:27:05 +0000 (15:27 +0000)]
* Output.ui: clearer labeling

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

13 years ago* GuiPrefs.cpp: casing fixes.
Jürgen Spitzmüller [Sat, 14 Aug 2010 15:19:05 +0000 (15:19 +0000)]
* GuiPrefs.cpp: casing fixes.

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

13 years ago* GuiTabular.cpp:
Jürgen Spitzmüller [Sat, 14 Aug 2010 15:10:53 +0000 (15:10 +0000)]
* GuiTabular.cpp:
- fix enabling of decimal separator item by using proper gui/data separation
- better labeling

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

13 years ago* InsetTabular.cpp: do not attempt to access an empty DocIterator (bug 6810).
Jürgen Spitzmüller [Sat, 14 Aug 2010 14:32:52 +0000 (14:32 +0000)]
* InsetTabular.cpp: do not attempt to access an empty DocIterator (bug 6810).

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

13 years agolayout files: partly revert r35139: setspace is not part of all LaTeX distributions...
Uwe Stöhr [Sat, 14 Aug 2010 12:32:51 +0000 (12:32 +0000)]
layout files: partly revert r35139: setspace is not part of all LaTeX distributions by default, sorry

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

13 years agog-brief layouts: they require the europs package
Uwe Stöhr [Sat, 14 Aug 2010 03:00:00 +0000 (03:00 +0000)]
g-brief layouts: they require the europs package

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

13 years agog-brief2.layout: fix format and thus #6856, sorry for the noise
Uwe Stöhr [Sat, 14 Aug 2010 02:24:06 +0000 (02:24 +0000)]
g-brief2.layout: fix format and thus #6856, sorry for the noise

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

13 years agobroadway.layout: there are no styles Abstract and Date that can be deleted
Uwe Stöhr [Sat, 14 Aug 2010 02:17:03 +0000 (02:17 +0000)]
broadway.layout: there are no styles Abstract and Date that can be deleted

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

13 years agog-brief2.lyout: whitespace
Uwe Stöhr [Sat, 14 Aug 2010 02:13:38 +0000 (02:13 +0000)]
g-brief2.lyout: whitespace

Note that LyX does no longer accept this layout, see #6856 )

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

13 years agomoderncv.layout: whitespace
Uwe Stöhr [Sat, 14 Aug 2010 01:41:57 +0000 (01:41 +0000)]
moderncv.layout: whitespace

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

13 years agoCustomization.lyx:
Uwe Stöhr [Sat, 14 Aug 2010 01:36:40 +0000 (01:36 +0000)]
Customization.lyx:
- make it compilable
- clarify a statement

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

13 years agolayout files:
Uwe Stöhr [Sat, 14 Aug 2010 01:28:47 +0000 (01:28 +0000)]
layout files:
- remove dependencies of standard LaTeX-packages like article, fontenc, babel, etc.
- The class need only be specified as optional argument if the name of the LaTeX class file and the name of the layout file are different or if there are no packages to load.

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

13 years agode.po:
Uwe Stöhr [Sat, 14 Aug 2010 01:02:29 +0000 (01:02 +0000)]
de.po:
- fix a shortcut conflict
- some translations

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

13 years agoFix bug #6851: Wrong screen fonts with old style macros such as \bf and \rm.
Enrico Forestieri [Sat, 14 Aug 2010 00:22:04 +0000 (00:22 +0000)]
Fix bug #6851: Wrong screen fonts with old style macros such as \bf and \rm.

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

13 years agoKOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbas...
Uwe Stöhr [Sat, 14 Aug 2010 00:09:07 +0000 (00:09 +0000)]
KOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbase and typearea are already part of KOMA-script

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

13 years ago* scrclass.inc: add support for \subtitle.
Jürgen Spitzmüller [Fri, 13 Aug 2010 11:32:07 +0000 (11:32 +0000)]
* scrclass.inc: add support for \subtitle.

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

13 years agoInsetGraphics.cpp: fix a comment
Uwe Stöhr [Fri, 13 Aug 2010 00:17:12 +0000 (00:17 +0000)]
InsetGraphics.cpp: fix a comment

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

13 years agoColor.cpp: use the same frame color for inset frames and captions frames
Uwe Stöhr [Thu, 12 Aug 2010 12:31:05 +0000 (12:31 +0000)]
Color.cpp: use the same frame color for inset frames and captions frames

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

13 years agoremove unused headers
Jean-Marc Lasgouttes [Thu, 12 Aug 2010 09:38:22 +0000 (09:38 +0000)]
remove unused headers

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

13 years ago* sk.po
Kornel Benko [Wed, 11 Aug 2010 17:12:55 +0000 (17:12 +0000)]
* sk.po

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

13 years ago* configure.py:
Jürgen Spitzmüller [Wed, 11 Aug 2010 16:44:48 +0000 (16:44 +0000)]
* configure.py:
- properly separate platex and latex.

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

13 years agotranslate new context menu item: Remove from personal dictionary
Stephan Witt [Wed, 11 Aug 2010 15:41:15 +0000 (15:41 +0000)]
translate new context menu item: Remove from personal dictionary

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

13 years agoconfigure.py:
Uwe Stöhr [Wed, 11 Aug 2010 00:57:48 +0000 (00:57 +0000)]
configure.py:
- use eLyXer not only for HTML but also for HTML (MS Word) if it is found; this is simply the same code as we are already using for HTML converter check
- fix a bug that the copier calling would be wrong if neither eLyXer nor tex4ht is found (this is already fixed in the HTML converter check

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

13 years agojss.layout:
Uwe Stöhr [Wed, 11 Aug 2010 00:43:01 +0000 (00:43 +0000)]
jss.layout:
- remove a4wide because this package is obsolete since about 15 years and listed in l2tabu, one get get a correct A4 layout with the geometry package that is already fully supported by LyX
- fix web link to the JSS package

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

13 years agolittle cleanup to memoir class
Jean-Marc Lasgouttes [Tue, 10 Aug 2010 22:34:08 +0000 (22:34 +0000)]
little cleanup to memoir class

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

13 years agoImprove the error reporting, or checking, in configure.py.
Richard Heck [Tue, 10 Aug 2010 21:43:08 +0000 (21:43 +0000)]
Improve the error reporting, or checking, in configure.py.

There doesn't seem to be any way to report an error other than by
exiting.

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

13 years agoFix a syntax error in the class declaration. This created an error in
Jean-Marc Lasgouttes [Tue, 10 Aug 2010 19:01:28 +0000 (19:01 +0000)]
Fix a syntax error in the class declaration. This created an error in
configure.py, without any good explanation. Annoying.

Thanks to Jean-Pierre for spotting it.

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

13 years agobuffer_ --> buffer()
Richard Heck [Tue, 10 Aug 2010 14:44:59 +0000 (14:44 +0000)]
buffer_ --> buffer()

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

13 years agoloadIfNeeded() returns a pointer to the loaded child, so it's silly to
Richard Heck [Tue, 10 Aug 2010 14:39:12 +0000 (14:39 +0000)]
loadIfNeeded() returns a pointer to the loaded child, so it's silly to
throw away its return value and then go find a pointer to the loaded
child!!

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

13 years agoInvalidate caches when the parent is reset.
Richard Heck [Tue, 10 Aug 2010 14:37:06 +0000 (14:37 +0000)]
Invalidate caches when the parent is reset.

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

13 years agobuffer_ --> buffer()
Richard Heck [Tue, 10 Aug 2010 14:28:24 +0000 (14:28 +0000)]
buffer_ --> buffer()

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

13 years agoComments on the caching mechanism.
Richard Heck [Tue, 10 Aug 2010 14:26:34 +0000 (14:26 +0000)]
Comments on the caching mechanism.

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

13 years agoFix some bugs in the bibinfo caching mechanism. Comments to follow.
Richard Heck [Tue, 10 Aug 2010 14:12:48 +0000 (14:12 +0000)]
Fix some bugs in the bibinfo caching mechanism. Comments to follow.

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

13 years agoMissing invalidations of bibfile cache.
Richard Heck [Mon, 9 Aug 2010 21:35:44 +0000 (21:35 +0000)]
Missing invalidations of bibfile cache.

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

13 years agoIntroduce new tag ParbreakIsNewline in Layout and InsetLayout (not yet used)
Jean-Marc Lasgouttes [Mon, 9 Aug 2010 21:20:29 +0000 (21:20 +0000)]
Introduce new tag ParbreakIsNewline in Layout and InsetLayout (not yet used)

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

13 years agofix bug #6786: InsetLayout name containing spaces is incompatible with keybindings...
Jean-Marc Lasgouttes [Mon, 9 Aug 2010 20:37:31 +0000 (20:37 +0000)]
fix bug #6786: InsetLayout name containing spaces is incompatible with keybindings/toolbars

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

13 years agoRevert r35106.
Richard Heck [Mon, 9 Aug 2010 19:17:44 +0000 (19:17 +0000)]
Revert r35106.

Help needed here. Why isn't this equivalent?

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

13 years agoRestore language handling
Kornel Benko [Mon, 9 Aug 2010 18:49:34 +0000 (18:49 +0000)]
Restore language handling

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

13 years agoDon't need this argument, since it was only ever called thus:
Richard Heck [Mon, 9 Aug 2010 18:00:46 +0000 (18:00 +0000)]
Don't need this argument, since it was only ever called thus:
it->fillWithBibKeys(d->bibinfo_, it);
This could be useful later, if we decide to try to do the work that
fillWithBibKeys did from updateLabels().

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

13 years agoChange error message. Reason why appears later.
Richard Heck [Mon, 9 Aug 2010 17:33:43 +0000 (17:33 +0000)]
Change error message. Reason why appears later.

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

13 years agoMinor cleanup. We don't need the deleted call, as that is done at the
Richard Heck [Mon, 9 Aug 2010 17:14:45 +0000 (17:14 +0000)]
Minor cleanup. We don't need the deleted call, as that is done at the
beginning of updateBuffer() anyway.

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

13 years agoMore work toward speeding up the bibfile caching stuff.
Richard Heck [Mon, 9 Aug 2010 17:01:51 +0000 (17:01 +0000)]
More work toward speeding up the bibfile caching stuff.

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

13 years agoDo not invalidate cache unless we find some BibTeX insets. Part of
Richard Heck [Mon, 9 Aug 2010 16:18:57 +0000 (16:18 +0000)]
Do not invalidate cache unless we find some BibTeX insets. Part of
#6846.

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

13 years agoFinish implementation of "use system colors" checkbox.
Jean-Marc Lasgouttes [Mon, 9 Aug 2010 12:15:02 +0000 (12:15 +0000)]
Finish implementation of "use system colors" checkbox.

ColorCache:
  * method isSystem() allows to know whether a color can be overridden by system colors
  * method get() has a variant that accepts a bool (system color or not)
  * code simplifications
GuiPrefs:
  * hide colors set from the system when they are inherited
  * syncronize list of colors and checkbox

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

13 years agocut and paste error
Jean-Marc Lasgouttes [Mon, 9 Aug 2010 09:41:36 +0000 (09:41 +0000)]
cut and paste error

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

13 years ago* es.po: update from Ignacio.
Jürgen Spitzmüller [Mon, 9 Aug 2010 07:11:29 +0000 (07:11 +0000)]
* es.po: update from Ignacio.

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

13 years agoAdd new pref use_system_colors (defaults to true).
Jean-Marc Lasgouttes [Sun, 8 Aug 2010 23:11:02 +0000 (23:11 +0000)]
Add new pref use_system_colors (defaults to true).

What is missing is some feedback on what colors are
set from the system (they should be disabled in the
color list).

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

13 years agoRemove DPI from preference dialog. The variable is kept in
Jean-Marc Lasgouttes [Sun, 8 Aug 2010 20:32:26 +0000 (20:32 +0000)]
Remove DPI from preference dialog. The variable is kept in
LyXRC, since we do need the value in the code. If this is
a problem, I can define some QApplication::getDPI() and give
up configurability altogether.

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

13 years agoReplace ugly wavy line with a dotted line for misspelled words.
Jean-Marc Lasgouttes [Sun, 8 Aug 2010 17:41:28 +0000 (17:41 +0000)]
Replace ugly wavy line with a dotted line for misspelled words.
I hope this one is not going to be controversial.

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

13 years agospacing
Jean-Marc Lasgouttes [Sun, 8 Aug 2010 14:48:15 +0000 (14:48 +0000)]
spacing

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

13 years agofix oversight
Jean-Marc Lasgouttes [Sun, 8 Aug 2010 14:34:59 +0000 (14:34 +0000)]
fix oversight

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

13 years agoClean-up the code with respect to PassThru insets and layouts.
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 22:07:49 +0000 (22:07 +0000)]
Clean-up the code with respect to PassThru insets and layouts.
The goal is first to remove explicit testing against ERT_CODE,
and second to allow to define layouts with the same properties as ERT insets.

This commit does not change behaviour
* rename OutputParams::verbatim to pass_thru
* disable encoding switch inside pass_thru layouts

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

13 years ago* de.po: some updates.
Jürgen Spitzmüller [Sat, 7 Aug 2010 14:43:05 +0000 (14:43 +0000)]
* de.po: some updates.

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

13 years ago* po/.*po: remerge.
Jürgen Spitzmüller [Sat, 7 Aug 2010 14:36:18 +0000 (14:36 +0000)]
* po/.*po: remerge.

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

13 years ago* sk.po
Kornel Benko [Sat, 7 Aug 2010 13:43:38 +0000 (13:43 +0000)]
* sk.po

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

13 years agoBug #6842, part II
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 11:42:27 +0000 (11:42 +0000)]
Bug #6842, part II

Make sure that Package can be initialized several time.s
Make sure that Package is not used before being initialized.

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

13 years ago* GuiPrefs.cpp:
Jürgen Spitzmüller [Sat, 7 Aug 2010 11:31:28 +0000 (11:31 +0000)]
* GuiPrefs.cpp:
- do not allow to change a format's short name if the format is used by a converter (fixes crash issue #6815).

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

13 years agoset locale correctly before parsing command line (bug #6842)
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 11:18:04 +0000 (11:18 +0000)]
set locale correctly before parsing command line (bug #6842)

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

13 years agoset more colors from qt palette
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 10:48:32 +0000 (10:48 +0000)]
set more colors from qt palette

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

13 years agoMake sure that the current undo element is finished before marking stacks dirty
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 10:40:25 +0000 (10:40 +0000)]
Make sure that the current undo element is finished before marking stacks dirty

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

13 years agoFix default colors for workarea.
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 09:21:44 +0000 (09:21 +0000)]
Fix default colors for workarea.

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

13 years ago- InsetTabular.cpp: floats must not be inserted to tables, fixes #6844
Uwe Stöhr [Sat, 7 Aug 2010 03:16:38 +0000 (03:16 +0000)]
- InsetTabular.cpp: floats must not be inserted to tables, fixes #6844
- InsetCaption.cpp: margin notes and footnotes are not allowed in captions

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

13 years agoSpanish EmbeddedObjects.lyx: translations by Ignacio
Uwe Stöhr [Sat, 7 Aug 2010 02:33:51 +0000 (02:33 +0000)]
Spanish EmbeddedObjects.lyx: translations by Ignacio

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

13 years agoEmbeddedObjects.lyx: some corrections by J.R. Hudson
Uwe Stöhr [Sat, 7 Aug 2010 01:39:34 +0000 (01:39 +0000)]
EmbeddedObjects.lyx: some corrections by J.R. Hudson

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

13 years agoFix bug #3733: 'undo' does not revert 'changed' status for file
Jean-Marc Lasgouttes [Fri, 6 Aug 2010 23:54:04 +0000 (23:54 +0000)]
Fix bug #3733: 'undo' does not revert 'changed' status for file

* src/LyXAction.cpp: add ReadOnly flag to LFUN_UNDO and LFUN_REDO, since
  we do not want the dispatch mechanism to mark buffer dirty after them.
* src/BufferView.cpp: handle "by hand" the activation of undo/redo
* src/Undo.cpp: add lyx_clean member to UndoElement and make sure to
  maintain it with undo operations; add a new markDirty() member for UndoStack
* src/Buffer.cpp: when saving a document, mark the undo and redo stacks
  elements as dirty.

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

13 years agoMove layout i18n stuff into its own section.
Richard Heck [Fri, 6 Aug 2010 21:37:45 +0000 (21:37 +0000)]
Move layout i18n stuff into its own section.

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

13 years agoIEEEtran provides theorems.
Richard Heck [Fri, 6 Aug 2010 20:49:15 +0000 (20:49 +0000)]
IEEEtran provides theorems.

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

13 years agoLocalLayout.ui:
Uwe Stöhr [Fri, 6 Aug 2010 16:54:18 +0000 (16:54 +0000)]
LocalLayout.ui:
- set the SVN EOL style
- add SCons entry

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

13 years agoForgot this file.
Richard Heck [Fri, 6 Aug 2010 11:30:18 +0000 (11:30 +0000)]
Forgot this file.

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

13 years agoA UI for document-local layout information. LyX has supported this for a
Richard Heck [Thu, 5 Aug 2010 22:47:42 +0000 (22:47 +0000)]
A UI for document-local layout information. LyX has supported this for a
while, but without any UI for it. (There has been local layout in the
Customization manual for a long time, in fact.)

Yes, this is an advanced feature. But, absent a layout editor, it is the
one thing that will make it easier, and possible, for "normal users" to
experiment with layout without having to go through reconfiguration,
etc, etc. To keep too many people from shooting themselves, we validate
the layout information before allowing the user to apply it.

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

13 years agoInitialize some LyX colors from Qt. Currently what is done is plain text and selectio...
Jean-Marc Lasgouttes [Thu, 5 Aug 2010 22:41:34 +0000 (22:41 +0000)]
Initialize some LyX colors from Qt. Currently what is done is plain text and selection (both font and background).

I am not sure that there is something else that we can get from QPalette. Maybe
cursor color, if someone tells me how to get it.

Only tested on mac. I can revert if this causes problems on linux or windows.

I have to check too that it still works in non-gui mode.

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

13 years agoMake sure the layout has actually been closed. Otherwise, you can have:
Richard Heck [Thu, 5 Aug 2010 21:32:19 +0000 (21:32 +0000)]
Make sure the layout has actually been closed. Otherwise, you can have:
Style NewStyle
all by itself at the end of a file, and LyX is perfectly happy.

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

13 years agoRemove unused variables, add questions. Anyone know?
Richard Heck [Thu, 5 Aug 2010 20:25:29 +0000 (20:25 +0000)]
Remove unused variables, add questions. Anyone know?

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

13 years agoRenaming.
Richard Heck [Thu, 5 Aug 2010 20:25:04 +0000 (20:25 +0000)]
Renaming.

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

13 years agoImprove the error message a bit. LyX CAN produce output in such cases,
Richard Heck [Thu, 5 Aug 2010 20:15:29 +0000 (20:15 +0000)]
Improve the error message a bit. LyX CAN produce output in such cases,
just not PDF, etc.

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

13 years agoImplement LFUN_SPELLING_REMOVE (patch from switt)
Jean-Marc Lasgouttes [Thu, 5 Aug 2010 20:10:40 +0000 (20:10 +0000)]
Implement LFUN_SPELLING_REMOVE (patch from switt)

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

13 years agoLayout dependencies patch from Julien Rioux.
Richard Heck [Thu, 5 Aug 2010 20:07:56 +0000 (20:07 +0000)]
Layout dependencies patch from Julien Rioux.

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

13 years agosilence some warnings by removing unused parameters
Jean-Marc Lasgouttes [Thu, 5 Aug 2010 19:00:57 +0000 (19:00 +0000)]
silence some warnings by removing unused parameters

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

13 years agoRemove some obsolete "if you're using Qt" language.
Richard Heck [Thu, 5 Aug 2010 15:18:18 +0000 (15:18 +0000)]
Remove some obsolete "if you're using Qt" language.

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

13 years agoRemove \Nameref entry. Forgotten before....
Richard Heck [Thu, 5 Aug 2010 02:17:07 +0000 (02:17 +0000)]
Remove \Nameref entry. Forgotten before....

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

13 years ago* linguistics.lyx:
Jürgen Spitzmüller [Wed, 4 Aug 2010 12:08:19 +0000 (12:08 +0000)]
* linguistics.lyx:
* de/linguistics.lyx:
- indicate if required packages are installed (via info inset)

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

13 years ago* Check for float.sty, which is a required package.
Jürgen Spitzmüller [Wed, 4 Aug 2010 11:53:23 +0000 (11:53 +0000)]
* Check for float.sty, which is a required package.

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

13 years agotiny simplification
Jean-Marc Lasgouttes [Tue, 3 Aug 2010 22:31:16 +0000 (22:31 +0000)]
tiny simplification

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

13 years ago* fr-po: update from Jean-Pierre
Jürgen Spitzmüller [Tue, 3 Aug 2010 15:29:40 +0000 (15:29 +0000)]
* fr-po: update from Jean-Pierre

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

13 years agoFix bug #6736: 2.0.0 alpha 3, spell check on the fly bug
Jean-Marc Lasgouttes [Mon, 2 Aug 2010 21:20:59 +0000 (21:20 +0000)]
Fix bug #6736: 2.0.0 alpha 3, spell check on the fly bug

This bug is related to the fact that the cusor remember the current font.

The on-the-fly spell status should really not be kept in the Font object, but
rather in metrics, IMO.

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