Commit Graph

455 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
75dabc75f9 branch: Fix bug #5390. Copy from a deleted section with change tracking.
Do not accept the changes in the selection, if it is completely deleted.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 15:14:51 +00:00
Enrico Forestieri
5b103485d5 Fix bug #6063: Keylogger lyx::lyxbreaker: Crash in Math.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30508 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 15:10:14 +00:00
Jürgen Spitzmüller
d78bc34d3b * InsetTabular.cpp: fix bug 6057: longtable captions must always be in a first header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30501 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 13:43:30 +00:00
Vincent van Ravesteijn
4813d3ae41 branch: Fix bug #4952: Multiple cells pasting fails if cells are selected.
When the clipboard contains a tabular selection, dirty_tabular_stack_ is true. However, it is set to false when the user clears a selection (without copying). After this (mostly accidental) action, pasting the tabular contents goes wrong.

So, we only clear the dirty_tabular_stack_ flag when a 'real' copy to clipboard has been made.

see r29717, r29718, r29719



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30499 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 13:31:05 +00:00
Vincent van Ravesteijn
e49fed46fc branch: Fix bug #3918: "Toggle Outline" button does not toggle back when clicking 'x' button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30498 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 13:22:40 +00:00
Vincent van Ravesteijn
059d5ee830 branch: Fix bug #2034: Inconsistent behavior of cursor inside mathed.
When closing the macromode, do the same trick as in lines 835--838.

see r29686

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30492 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 17:57:25 +00:00
Vincent van Ravesteijn
4abaf35bad branch: Fix bug #3706: Mathed builtin/macro expansion not performed when clicking away.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30491 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 17:53:26 +00:00
Enrico Forestieri
955716dfa5 Fix bug #5923: Math macro expansion not performed when modifying the macro identifier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30450 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 14:48:16 +00:00
Jürgen Spitzmüller
e41e2ac1b0 * status.16x: document r30436.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30447 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 08:47:37 +00:00
Enrico Forestieri
a8b29819e9 Fix bugs #6047, #4043, and #5394.
6047: Lyx 1.6.3 unable to typeset the third chemical equation of the
      file mhchem.lyx (package mhchem)
4043: mhchem support
5394: support for the mhchems's \ce command
The \ce and \cf insets are text mode environments that allow entering
spaces and mathmode commands. LyX leaves them alone and doesn't try to
be smart, i.e., the behaviour is exactly the same we had in the old days
with text-in-math mode environments, before the introduction of the
\ensuremath and \lyxmathsym macros. This means that in those environments
one has to know what he is doing, as LyX will not offer any protection.
The hack of enclosing \ce and \cf in a \text{} environment in order to
be able to enter spaces is no longer necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30439 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 20:51:21 +00:00
Jürgen Spitzmüller
28988d22bc * GuiLog.{cpp,h}:
* LogUi.ui:
	- add some basic navigation facilities.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 15:54:13 +00:00
Jürgen Spitzmüller
cfeab7476f * InsetBranch.cpp:
- fix display of "child only" suffix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30424 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:49:16 +00:00
Jean-Marc Lasgouttes
c88dd9924e Backport r30399 in order to fix #6013 (I am not sure how to be more cryptic yet still useful)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30413 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 11:03:41 +00:00
Jürgen Spitzmüller
a05115102e * NomenclUi.ui: set acceptRichText to false.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30403 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 12:27:51 +00:00
Jürgen Spitzmüller
c6c0c87eba * PreambleUi.ui:
- fix bug #3936: Paste into preamble gives wrong font size.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30397 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:17:18 +00:00
Enrico Forestieri
09eb90bd3e Fix bug #6041: "tabular-feature align-" in a math-matrix.
Also fix display of centered vertical alignment status and smash
unnecessary debug output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30374 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 14:01:53 +00:00
Uwe Stöhr
9f7ba61cb3 Spanish documentation and translation updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30333 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-02 12:27:28 +00:00
Enrico Forestieri
8359be573d Add some cygwin stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30332 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-01 21:10:00 +00:00
Jürgen Spitzmüller
b78412f8a8 * GuiApplication.cpp (readUiFiles):
- only reset settings if a file with Toolbars has changed. This should significantly decrease
	  the number of circumstances where the settings are lost unnecessarily.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30324 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 13:12:28 +00:00
Uwe Stöhr
df207989f2 status.16x: tipo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30316 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 09:41:06 +00:00
Uwe Stöhr
a95cb6fb02 EmbeddedObjects.lyx: new section about subfloats (This is already explained elsewhere but users requested to have it here with an example that every type can have subfloats and to have an example for the two different placements.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30314 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 09:35:15 +00:00
Jean-Marc Lasgouttes
e079ef7d69 fix setonoff for inset-modify on InsetInclude
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30308 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 13:33:47 +00:00
Jean-Marc Lasgouttes
3e6401ac2b Fix assertion when selection with Shift-button in math editor (bug #6026)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30307 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 13:03:04 +00:00
Jean-Marc Lasgouttes
a2e081eb84 Fix context menu for insets inside a branch inset (bug 6022)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30306 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 12:58:08 +00:00
Jürgen Spitzmüller
620453460a * id.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30303 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 12:12:36 +00:00
Jürgen Spitzmüller
235d85d6f2 * do not change name of QSettings config file on LyX version change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30302 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 08:45:03 +00:00
Pavel Sanda
4eb10e4681 Backport gui for svn locking property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30271 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 14:54:37 +00:00
Jürgen Spitzmüller
44fc2d3680 * id.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30264 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 12:24:46 +00:00
Jürgen Spitzmüller
f2feb12944 * status.16x: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30260 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 11:02:22 +00:00
Jürgen Spitzmüller
0ea45d2659 * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30259 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 11:01:28 +00:00
Pavel Sanda
7ef3a4a6eb Missing status entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30253 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-25 10:01:45 +00:00
Enrico Forestieri
ac9587e6e1 Fix bug #6033: Initial character sometimes eaten by math-insert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30250 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-24 08:29:50 +00:00
Jürgen Spitzmüller
39acc4f645 * status.16x: small tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30249 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-24 07:30:40 +00:00
Jean-Marc Lasgouttes
80f0206b86 backport r30242 (bug 2566)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30243 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 13:29:41 +00:00
Jean-Marc Lasgouttes
e0972b529d fix trivial documentation bug (bug 5881)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30219 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 10:55:38 +00:00
Enrico Forestieri
9d46e0b6e5 Fix bug #6020: Reverse DVI/PDF search fails with child documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30216 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 06:18:12 +00:00
Enrico Forestieri
56b70e512b Fix bug #6030: LyX does not take into account BOM.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30215 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 06:15:20 +00:00
Jürgen Spitzmüller
9bcc9f47ed * status.16x: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30202 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-20 13:06:30 +00:00
Jürgen Spitzmüller
001b2b1624 * LaTeX.cpp (deplog):
- fix regex so that rexeg_search finds more than one match in a line.
	  This fixes a bug where files which were output in the log file in a 
	  line which already listed another file were not dependency tracked.
	  I.e., cases such as
	  (./child1.tex) (./child2.tex)
	  (bug 6024).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30200 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-20 13:03:19 +00:00
Uwe Stöhr
74fc41c076 branch: tex2lyx/preamble.cpp: support for fileformat 263: support for the document languages Brazilian and Portuguese
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30175 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 00:44:43 +00:00
Jean-Marc Lasgouttes
877808064d Backport http://www.lyx.org/trac/changeset/28814
New commands inset-begin/end (bound to Ctrl-Alt-Home/End) allow to jump 
  to begin/end of insets (and outside of the inset if the cursor is already 
  in place). There are also versions that select text.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:47:01 +00:00
Jürgen Spitzmüller
b498fa1b05 * Paragraph.cpp:
- we do not output alignment begin for the default alignment,
	  so we must not output the end tag (bug 5995)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30152 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 06:52:59 +00:00
Jürgen Spitzmüller
8aa09ebafe status.16x: tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30150 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 06:33:20 +00:00
Pavel Sanda
e0c5df56a6 backport r30144
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30149 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-17 22:07:32 +00:00
Enrico Forestieri
943eb2a6f1 Reintroduce workaround for dealing with nested math hulls, as it is
not guaranteed that LyX is always able to replace $...$ constructs
with \ensuremath{...}.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30147 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-17 17:36:41 +00:00
Pavel Sanda
4c8faf8543 Wrong section
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30134 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 08:24:44 +00:00
Jürgen Spitzmüller
223a977954 * configure.py:
- change eLyXer command and copier to copy images
	  to the appropriate places on view and export
	  (requires eLyXer 0.27).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30133 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 08:08:34 +00:00
Pavel Sanda
98a3aba0b9 Backport r30130.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30131 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 07:58:04 +00:00
Uwe Stöhr
39e7d0b210 status.16x: another typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30129 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 21:59:37 +00:00
Uwe Stöhr
2c528caa70 status.16x: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30128 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 21:14:08 +00:00