A bool is added to the entry of a last opened file in the Session file. This bool, indicates whether the file was the last one being edited.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29591 a592a061-630c-0410-9148-cb99ea01b6c8
- reduce flickering,
- improved disabling and enabling of controls.
see also r29477.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29588 a592a061-630c-0410-9148-cb99ea01b6c8
(no status entry needed. This is due to a new feature)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29570 a592a061-630c-0410-9148-cb99ea01b6c8
DVI viewer passes back the resolved path, such that the search fails,
as internally LyX uses the unresolved path.
This patch fixes this bug by using the new method FileName::realPath
which resolves a path by getting rid of any '.', '..', or symlink
path components.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29504 a592a061-630c-0410-9148-cb99ea01b6c8
Author: younes
Date: Fri Apr 24 23:04:51 2009
New Revision: 29394
URL: http://www.lyx.org/trac/changeset/29394
Log:
Simple fix for bug 4464
http://www.lyx.org/trac/ticket/4464
Thanks to Vincent for showing the way.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29396 a592a061-630c-0410-9148-cb99ea01b6c8
The wmf_mime_ object was deleted both when deleting GuiApplication::Private as from
QWindowsMimeList::~QWindowsMimeList().
see r29326.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29328 a592a061-630c-0410-9148-cb99ea01b6c8
Revert r29002 and r29003. This fix introduced a regression. The new fix will be postponed to 1.6.4.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29327 a592a061-630c-0410-9148-cb99ea01b6c8
of these, taken together, is to improve the display of information in
InsetCitation and GuiCitation, by gathering missing data from the
crossref, if one is defined, basically as BibTeX does.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29312 a592a061-630c-0410-9148-cb99ea01b6c8
- add missing mathmlize routine for \binom (we already support mathml for \tbinom and \dbinom)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29263 a592a061-630c-0410-9148-cb99ea01b6c8
marked as mathalpha in the unicodesymbols file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29122 a592a061-630c-0410-9148-cb99ea01b6c8
when a text-in-math environment is used, such that super and subscripts
are typeset in the correct size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29103 a592a061-630c-0410-9148-cb99ea01b6c8
Unwrapped symbols can be obtained either by dissolving the text inset or by
verbatim paste (Ctrl+Shift+V). In such a case, the symbols are wrapped in
\lyxmathsym when exporting to latex, as usual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29102 a592a061-630c-0410-9148-cb99ea01b6c8
- Auto popup of math toolbar hides the math editor
www.lyx.org/trac/ticket/4733
- Do not scroll to the cursor without a reason
www.lyx.org/trac/ticket/4174
* GuiWorkArea?: This adds "buffer_view_->scrollToCursor();" to GuiWorkArea::resizeBufferView() to make sure that the cursor remains visible.
* BufferView?: Make sure that we can call the scrollToCursor function without causing a new repaint.
* BufferView?: Make sure that we only scroll when the cursor was in the view (bug 4174: www.lyx.org/trac/ticket/4174).
see:
http://www.lyx.org/trac/changeset/28946http://www.lyx.org/trac/changeset/29066
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29076 a592a061-630c-0410-9148-cb99ea01b6c8
- re-assign a master's children if a child was reloaded (bug 5873)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29047 a592a061-630c-0410-9148-cb99ea01b6c8
(Vincent have you tested r28754 works correctly in branch?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29032 a592a061-630c-0410-9148-cb99ea01b6c8
* the menu-item should also be enabled when the buffer is still unnamed (it will be saved anyway), and
* no buffer-reload after user cancel.
see:
http://www.lyx.org/trac/changeset/28028
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29027 a592a061-630c-0410-9148-cb99ea01b6c8
* CacheItem::Impl::tryDisplayFormat
- Enhance description of the return value.
- Negate the return values to match the description.
* CacheItem::tryDisplayFormat
- Impl::tryDisplayFormat returns whether a conversion is needed, not whether the try was successful. Therefore, we should check the status as well.
see: http://www.lyx.org/trac/changeset/28754.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29021 a592a061-630c-0410-9148-cb99ea01b6c8
* src/support/os*.{cpp,h}:
- new function is_valid_strftime that validates strftime arguments,
OS dependant (win32 differs here)
* src/Text3.cpp:
- use is_valid_strftime in LFUN_DATE_INSERT status check.
* src/frontends/qt4/GuiPrefs.{cpp, h}:
- new GUI validator for strftime.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28933 a592a061-630c-0410-9148-cb99ea01b6c8
Author: spitz
Date: Sun Jan 25 18:04:57 2009
New Revision: 28280
URL: http://www.lyx.org/trac/changeset/28280
Log:
* GuiApplication.cpp:
- use the first command in sequence as icon name for command-alternatives.
* lib/ui/stdtoolbars.inc:
- use command-alternatives for the alignment buttons in the tabular toolbar (bug 5709).
* lib/images/tabular-feature_align-*.png:
* lib/images/tabular-feature_valign-*.png:
- rename to tabular-feature_m-[v]align-*.png:
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28872 a592a061-630c-0410-9148-cb99ea01b6c8
In Qt 4.2, QLocale::toString(QDate, ...) returns an invalid but not empty date
when QDate is invalid. So, check whether QDate is valid before conversion.
(status.16x is already updated)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28864 a592a061-630c-0410-9148-cb99ea01b6c8
- some spelling and grammar fixes (a native EN speaker will have to double-check).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28838 a592a061-630c-0410-9148-cb99ea01b6c8
Introduce new LFUN_MATH_FONT_STYLE which takes one of the font styles as an argument. A dispatch is being redirected to math-insert.
see:
http://www.lyx.org/trac/changeset/28181.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28836 a592a061-630c-0410-9148-cb99ea01b6c8
- perform extra LaTeX run when requested by lettre.cls (bug 5818).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28829 a592a061-630c-0410-9148-cb99ea01b6c8
- status.16x: some updates and whitespace fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28827 a592a061-630c-0410-9148-cb99ea01b6c8
http://bugzilla.lyx.org/show_bug.cgi?id=5819.
If no call to setCurrentIndex is made, we should make sure ourselves that the currentWorkArea switches to the clicked TabWorkArea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28806 a592a061-630c-0410-9148-cb99ea01b6c8
Japanese char between math insets becomes wrong in TeX output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28797 a592a061-630c-0410-9148-cb99ea01b6c8
* the history is stored in the session file and restored in the next LyX session,
* the lists now disappear when the mouse is released in stead of pressed,
* correct enabling/disabling of the up/down button,
* hide the lists when clicked outside the list. Now using the function event() and check for a mouseButtonPressEvent instead of using mouseReleaseEvent(). The latter is only called when the mouse button is released inside the widget, but we want to use this event to detect a mouseclick outside the list.
see:
http://www.lyx.org/trac/changeset/28250http://www.lyx.org/trac/changeset/28794
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28796 a592a061-630c-0410-9148-cb99ea01b6c8
- do not auto-apply if "match" is not chosen (bug 5789).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28793 a592a061-630c-0410-9148-cb99ea01b6c8
http://bugzilla.lyx.org/show_bug.cgi?id=5629.
Backport of:
- (r28420) Add a new Color class. This class makes it possible to specify a color as a merging of two other colors.
- (r28421) Use the new Color class in the Painter code.
- (r28422) Add a new member to FontInfo? denoting the color to be used when painting.
- (r28423) Add a new customizable color that indicates the merge color for deletion.
See also:
http://thread.gmane.org/gmane.editors.lyx.devel/114189
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28785 a592a061-630c-0410-9148-cb99ea01b6c8
Copy content vanishes on Quit.
The work-around to clear the clipboard was needed to work around bug 4846. This bug has been resolved by the fix for bug 5472, so the work-around isn't needed anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28783 a592a061-630c-0410-9148-cb99ea01b6c8
http://bugzilla.lyx.org/show_bug.cgi?id=5088
After executing DEPM to remove a double space, the position of the cursor was only 'fixed' if the cursor remained in the same par. This patch corrects this
to fix the position of the cursor also when the cursor is in a nested inset which is in the same par. This is needed because otherwise the cursor would not
point to the inset but one pos after it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28780 a592a061-630c-0410-9148-cb99ea01b6c8
* allows the selection of a whole cell with shift+key
* shift-movement between empty cells with a single keystroke
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28779 a592a061-630c-0410-9148-cb99ea01b6c8
In Qt4.5, QFileInfo::operator==() always returns true when comparing two non-existing files. Therefore, an extra check is needed.
see
http://www.lyx.org/trac/changeset/28748
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28768 a592a061-630c-0410-9148-cb99ea01b6c8
- fix another dataloss crash when undoing a resolved branch in a child
(patch by rgheck).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28759 a592a061-630c-0410-9148-cb99ea01b6c8
* Buffer.{cpp, h}:
- new method getChildren() that returns included (and sub-included) files
* GuiView.cpp (closeEvent):
- do not just close dirty child documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28713 a592a061-630c-0410-9148-cb99ea01b6c8
- correctly set buffer on paste. This fixes a crash on pasting branches
within child documents (bug 5813)
(patch by rgheck)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28709 a592a061-630c-0410-9148-cb99ea01b6c8
[visual cursor] Crash when cutting a figure caption and moving the cursor.
Avoid negative positions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28638 a592a061-630c-0410-9148-cb99ea01b6c8
[visual cursor] Crash when moving left in table in an RTL document
Avoid negative positions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28637 a592a061-630c-0410-9148-cb99ea01b6c8
Synchronizing insets asserts with two views open
This finishes the change of http://www.lyx.org/trac/changeset/28587.
Replace the setButtonLabels functions that need a BufferView by buttonLabel functions. These functions modify the label at drawing time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28624 a592a061-630c-0410-9148-cb99ea01b6c8
Branch names with spaces impossible
Read the whole line to catch the whole branch name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28623 a592a061-630c-0410-9148-cb99ea01b6c8
Crash with completion in mathed.
When deleting an inset, the stored DocIterator might contain a reference to a non-existent Inset and Text. Therefore, if we detect that the depth has changed, we are (for sure) not in the same paragraph, but we should make sure not to ask for the innerParagraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28608 a592a061-630c-0410-9148-cb99ea01b6c8
This was due to a thinko in http://www.lyx.org/trac/changeset/26002
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28606 a592a061-630c-0410-9148-cb99ea01b6c8
GetStatus of an InsetCollapsable asserts for unhandled commands.
When you add a command to the context menu of an InsetCollapsable of which the getStatus method does not handle this command, an assertion will be raised. This happens when getStatus doesn't handle a command it is forwarded to text::getStatus which asserts because cur.text() is the text the inset is in, while this is the text of the inset. So, we only dispatch to text_ if the cursor is inside the text_. This is not the case for e.g. context menus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28591 a592a061-630c-0410-9148-cb99ea01b6c8
Synchronizing insets asserts with two views open
It changes the autoOpen_ member of InsetCollapsable into a map, such that an autoOpen value can be specified for each bufferView. Now, the assertion is avoided and insetCollapsable can be open in one bufferview and be closed in the other in very special cases that the cursor end up in a closed inset.
Compare with the MathMacro::editing_ member.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28587 a592a061-630c-0410-9148-cb99ea01b6c8
- fix thinko that caused tex2lyx to silently drop custom preamble entries in non-LyX-generated tex files.
(bug 5788). Patch from Jean-Marc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28568 a592a061-630c-0410-9148-cb99ea01b6c8
Reference dialog update crash for read-only documents.
Comments:
* -1 is a valid return of bufferCO->currentIndex() so we need to test for it.
* set the correct enabling of the button in case no call to updateContents follows.
* remove unneeded call to setFocusProxy. The widget is either disabled or the focus proxy is set in updateRefs.
See also:
http://www.lyx.org/trac/changeset/28547
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28565 a592a061-630c-0410-9148-cb99ea01b6c8
The problem was that, if the master is not opened, no respective guiDelegate exists, and the functions that update the toc do not trigger. The fix is to update the child's toc backend and toc items directly in such cases.
All credits (for both detecting and fixing the problem) go to Vincent, who is going to submit the (slightly different) fix to trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28527 a592a061-630c-0410-9148-cb99ea01b6c8
- avoid wrong console message while loading a child from a master
that lead me on the wrong track when debugging bug 5699.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28490 a592a061-630c-0410-9148-cb99ea01b6c8
(Sorry for all my mistakes in committing the last days.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28484 a592a061-630c-0410-9148-cb99ea01b6c8
Crash when setting caption on a row with a multicolumn.
If there is already a multicolumn on the row, the number of cells is different from column_info.size().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28436 a592a061-630c-0410-9148-cb99ea01b6c8
Add button in Citation dialog grayed out when key matches the start of an already selected key.
One parameter of match() was forgotten, so the MatchFlags? were basically ignored, i.e. the standard flags were used always.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28435 a592a061-630c-0410-9148-cb99ea01b6c8
Crash when selecting a row and doing "Delete column" in a table with multicolumns.
The check "column + 1 < column_info.size()" checks whether there is at least one column after this one. However, this check is no longer valid if we remove the column from column_info first.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28434 a592a061-630c-0410-9148-cb99ea01b6c8
- improve performance with Outliner open with Qt >= 4.3 by using native methods instead of home-brewn code.
This should especially pay off on the Mac, if the Outliner shows as a drawer (bug 4443).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28431 a592a061-630c-0410-9148-cb99ea01b6c8
Wrong width display of multicolumn cells.
When changing a custom width cell into a multicolumn, the isFixedWidth bool should be set to false. Now, the function setFixedWidth could only set isFixedWidth to true when needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28415 a592a061-630c-0410-9148-cb99ea01b6c8
Later, this can be replaces by a backpointer approach, as proposed at bugzilla (note that there are already similar cases such as InComment or InTableCell, so a backpointer approach would need to adapt the OutputParams methos anyway).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28383 a592a061-630c-0410-9148-cb99ea01b6c8
Insert column after the current one, then copy the current one to the new one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28343 a592a061-630c-0410-9148-cb99ea01b6c8
If the current TextMetrics does not contain the paragraph the cursor is in, the screen is recentered. Now, the current TextMetrics should be updated to one that does contain the cursor (as we have just recentered)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28342 a592a061-630c-0410-9148-cb99ea01b6c8
- limit workaround for Qt bug that was fixed in Qt 4.3.4 to previous Qt versions
(related to bug 4513).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28337 a592a061-630c-0410-9148-cb99ea01b6c8
Sorry for this mess, my terminals baffled me :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28265 a592a061-630c-0410-9148-cb99ea01b6c8
- make lyxarrow robust, since \@ifstar is fragile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28236 a592a061-630c-0410-9148-cb99ea01b6c8
New feature from Stefan. See also http://www.lyx.org/trac/changeset/27575.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28206 a592a061-630c-0410-9148-cb99ea01b6c8
- use ISO format for LYX_DATE
* GuiAbout.cpp:
- make release date translatable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28174 a592a061-630c-0410-9148-cb99ea01b6c8
- remove the useless "none" special length from the combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28157 a592a061-630c-0410-9148-cb99ea01b6c8
http://bugzilla.lyx.org/show_bug.cgi?id=4741
Create a new LFUN selection-paste (to paste the internal selection), and bind
middle mouse button to
command-alternatives selection-paste ; primary-selection-paste paragraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28156 a592a061-630c-0410-9148-cb99ea01b6c8
- use model/view infrastructure to store reliable data
- use real unit name, not i18n strings, for all comparision purposes
- remove unit "mu" in default contruction (bug 5682)
- add some helpers to add and remove units
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28147 a592a061-630c-0410-9148-cb99ea01b6c8
(first part of fix to bug 5386)
* also fix the mess in LaTeXConfig.lyx caused by rev. 28115. Sorry about that!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28143 a592a061-630c-0410-9148-cb99ea01b6c8
* InsetSpecialChar.cpp:
- make the menu separator direction aware (in LaTeX output), bug 3560.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28086 a592a061-630c-0410-9148-cb99ea01b6c8
- set a proper file filter in the file dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28046 a592a061-630c-0410-9148-cb99ea01b6c8
- do not set master buffer and warn if the master does not include child
- issue warning if the master could not be loaded.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28035 a592a061-630c-0410-9148-cb99ea01b6c8
- do not set master_file as master buffer if the document s no real child (bug 5653).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28021 a592a061-630c-0410-9148-cb99ea01b6c8
This occurs frequently when the temporary directory cannot be created because it already exists. The temporary directory can exist as a result of previous crashes of LyX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27997 a592a061-630c-0410-9148-cb99ea01b6c8
Allow users to paste text from e.g. MS Word. This text can be paste from clipboard both as text and as graphics. LyX should prefer to paste it as text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27996 a592a061-630c-0410-9148-cb99ea01b6c8
to the method does not match any of the known unicode symbols.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27970 a592a061-630c-0410-9148-cb99ea01b6c8
- unbind existing shortcuts before binding new ones (bug 5444).
Patch submitted and tested by Bennett.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27949 a592a061-630c-0410-9148-cb99ea01b6c8
- pass graphics driver to geometry (bug 5613)
- put papersize options to package call, not in \geometry
which broke compilation in some cases (bug 3838)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27918 a592a061-630c-0410-9148-cb99ea01b6c8
overwrites the existing definition, instead of updating it, as our Style
declarations do. This patch fixes this behavior, so that e.g.:
#\DeclareLyXModule{ERT}
#DescriptionBegin
#Make ERT Classic
#DescriptionEnd
Format 11
InsetLayout ERT
Decoration classic
End
will do as advertised.
Also includes changes to minimalistic.module that are then made possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27903 a592a061-630c-0410-9148-cb99ea01b6c8
they are in the row -- major spedup (bug 4443).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27884 a592a061-630c-0410-9148-cb99ea01b6c8
- do not release buffer, but simply re-read Document (fix bug 5389).
Patch reviewed by Abdel.
Alas, this doesn't work in trunk (triggers another crash). I suspect this is due to the updateLabels change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27780 a592a061-630c-0410-9148-cb99ea01b6c8
- add optional bool "acceptDirty" to checkAndLoadLyXFiles.
If true, the method doesn't care for buffer dirtiness
* src/Buffer.cpp:
- when checking for master buffer, do not care if it's dirty
(fix bug 5514)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27775 a592a061-630c-0410-9148-cb99ea01b6c8
- perform an additional bibtex cycle if requested
(e.g. by Biblatex)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27742 a592a061-630c-0410-9148-cb99ea01b6c8
http://bugzilla.lyx.org/show_bug.cgi?id=5472
In GuiApplication.cpp the function cfFromMime returns an invalid FORMATETC struct with uninitialized members when the mimeType is not emf or wmf.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27739 a592a061-630c-0410-9148-cb99ea01b6c8
to flex-insert so that CharStyles, etc, with spaces in their names
will work properly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27707 a592a061-630c-0410-9148-cb99ea01b6c8
http://bugzilla.lyx.org/show_bug.cgi?id=5295
- set the bc status to INITIAL when the dialog is initialized, and
- enable the restore button in the Document dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27686 a592a061-630c-0410-9148-cb99ea01b6c8
- add missing dialog update to fix a problem reported on the users list
and here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506183
(missing package error not shown).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27680 a592a061-630c-0410-9148-cb99ea01b6c8
- allow repeated shift-up in a multi-line column,
- finish r27581: we have to call cur.selHandle ourselves now,
- do not dispatch to the cell in multicell selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27675 a592a061-630c-0410-9148-cb99ea01b6c8
This is in preparation of some changes to be made in this function, now the change will only have to be done once...
(backport of http://www.lyx.org/trac/changeset/27656)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27670 a592a061-630c-0410-9148-cb99ea01b6c8
bugs 5216, 5280, and 5489 to the ISO-2022-JP encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27661 a592a061-630c-0410-9148-cb99ea01b6c8
- new member internalFontEncoding() that indicates if a language
switches the font encoding internally.
* src/Paragraph.cpp (latexSpecialChar):
- don't call latexSpecialT1 if the internal font encoding isn't T1.
This fixes the output of straight quotation marks in Hebrew and Greek.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27659 a592a061-630c-0410-9148-cb99ea01b6c8
properly fix bugs 5216 and 5280. The best thing to do would be recognizing
at configure time a buggy iconv and #defining WORKAROUND_ICONV_BUG in
config.h, but I don't know how that could be done.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27620 a592a061-630c-0410-9148-cb99ea01b6c8
- revert rev. 27412. This is more complicated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27436 a592a061-630c-0410-9148-cb99ea01b6c8
and default modules. The lesson, in the end, is that we need to do all the
removal of modules that no longer `fit', for whatever reason, before we
do anything else. So the patch basically just moves the `removal' code
into a new routine that gets called before the routines that add default
modules and then check consistency.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27281 a592a061-630c-0410-9148-cb99ea01b6c8
We want to do all the excluding before we do any of the adding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27278 a592a061-630c-0410-9148-cb99ea01b6c8
avoid the ugly blue line).
Fixes part of http://bugzilla.lyx.org/show_bug.cgi?id=5348
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27267 a592a061-630c-0410-9148-cb99ea01b6c8
http://bugzilla.lyx.org/show_bug.cgi?id=5407
This patch makes insetfloat search its styles using "Float:<floatname>" (or
"Float" if this fails). This allows to define a default behaviour for new
floats that makes sense.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27266 a592a061-630c-0410-9148-cb99ea01b6c8