15416 Commits

Author SHA1 Message Date
Enrico Forestieri
eee77cd0ad Fix compiler warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33233 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 13:18:05 +00:00
Jürgen Spitzmüller
0a7df344a3 * BufferView.cpp:
- Fix crash when performing word-replace while the cursor has a selection
	  in mathed (bug 6437)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33205 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 17:35:32 +00:00
Vincent van Ravesteijn
254a3f9650 branch: Fix bug #6433: read-only status is not refreshed when reloading a buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33203 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 17:31:20 +00:00
Jürgen Spitzmüller
c67fa0732f * add support for the enchant spell checker (bug 6226).
Patch by Caolán McNamara.

SCons users please test

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33188 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 10:04:52 +00:00
Enrico Forestieri
01da7a61c0 Fix bug #5525: Windows XP doesn't shut down with LyX open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33179 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 18:42:00 +00:00
Jürgen Spitzmüller
daed127a08 really fix the Diamond toolbar item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33175 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 09:56:39 +00:00
Richard Heck
c5721fdd50 Backport r33142 to branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33156 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 14:01:41 +00:00
Uwe Stöhr
66ad612769 MathData: fix #6388 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33103 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 02:10:29 +00:00
Jürgen Spitzmüller
e4d6e56d5a * Add support for aspell language varieties.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33092 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 10:22:08 +00:00
Jürgen Spitzmüller
01ab6d7f94 * Text3.cpp:
- While in ERT, disable non-functional sub- and superscript functions that
 	  crashed LyX (bug 6459).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33090 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 08:50:35 +00:00
Jürgen Spitzmüller
181a9338f4 * GuiSpellchecker:
- implement event filter and allow selection of suggestions with the keyboard
	  (second part of bug 6460).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33079 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 10:06:40 +00:00
Jürgen Spitzmüller
806a476bd1 * Add more keyboard accelerators to the spellchecker dialog (part of bug 6460).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33064 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 10:50:30 +00:00
Jürgen Spitzmüller
91e020e6fb * revert r32451 which broke polytonic Greek.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33054 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 09:51:27 +00:00
Pavel Sanda
fa4be31b0c Backport svn quirks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33053 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 09:26:29 +00:00
Enrico Forestieri
772a032cd0 Query the cygdrive prefix only if the cygwin mount command is available.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33026 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 13:13:05 +00:00
Enrico Forestieri
b90410b40f Don't use a hourglass cursor while diplaying alerts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32978 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 00:30:43 +00:00
Enrico Forestieri
c1a6dc73cb Add support for the newly released Cygwin 1.7.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32921 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 19:25:36 +00:00
Uwe Stöhr
2b961775f7 tex2lyx/preamble.cpp: - recognize the correct type of quotes dependent on the document language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32864 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 23:40:57 +00:00
Uwe Stöhr
233dc0ac1b tex2lyx/preamble.cpp: - code simplification: don't evaluate synonym languages at three different places. Do this right before writing the LyX file header; no status entry necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32863 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 23:36:10 +00:00
Uwe Stöhr
97037fba02 tex2lyx/preamble.cpp: - don't specially handle the document encoding any longer (tex2lyx supports fileformat 264 since a while now and support for ascii was added in fileformat 262); no status entry necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32862 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 23:34:15 +00:00
Uwe Stöhr
e1f26b4274 tex2lyx/preamble.cpp:
- accept Kazakh as document language
- fix a few comments 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32861 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 23:31:27 +00:00
Enrico Forestieri
6287499b16 Allow spaces in path names for LFUN_SERVER_GOTO_FILE_ROW.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32828 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 13:10:37 +00:00
Vincent van Ravesteijn
1f1de383a7 branch: Fix bug #2948: Drag and drop support for all importable file types.
see r32492.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32810 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:21:28 +00:00
Vincent van Ravesteijn
237be3e41d branch: Fix bug #6387: Incorrect selectlanguage command at end of document.
see r32792.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32808 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:02:07 +00:00
Vincent van Ravesteijn
39d43fcd78 branch: Fix bug #6426: Language not set correctly when inserting an Inset.
see r32750.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32807 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:56:15 +00:00
Vincent van Ravesteijn
7554c40dbb branch: Do not clear the default master setting when cancelling the browse dialog.
see r32737.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32806 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:20:22 +00:00
Vincent van Ravesteijn
0c3357e510 branch: Refresh the contents of some dialogs when the document is read-only.
Update the view also when the document is read-only.

see r32694.

Update the GuiInfo dialog also when the document is read-only. A dialog that does not dispatch a single LFUN (see getLfun()) but is buffer dependent (see isBufferDependent()) should implement the canApply function (if I'm correct).

see r32695.

Update the GuiLabel view when the document is read-only. Also disable the text field.

see r32696.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32802 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:11:45 +00:00
Vincent van Ravesteijn
58ca8035bb branch: Fix bug #6332: Do not paint the cursor after a resize event when it should be invisible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32801 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:58:37 +00:00
Vincent van Ravesteijn
0f58260014 branch: Update the status bar when starting LyX (creating a new view) and when the last document is closed.
see r32652.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32800 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:53:05 +00:00
Vincent van Ravesteijn
300611ec43 branch: Fix bug #6400.
Shift+mouse click loses the existing selection instead of extending it.

see r32578.

After selecting a word by double-clicking it, extending the selection by a single mouse-click should also select only whole words.

see r32580.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32799 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:49:53 +00:00
Vincent van Ravesteijn
851e1b2b85 branch: Set the current font when moving into a table or between two table cells.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32798 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:42:49 +00:00
Vincent van Ravesteijn
db3e9e58cb branch: Compute the font_scaling_factor every time a preview is created (we can afford a few multiplications I guess). Now, the newly generated previews use the possibly updated zoom, dpi and preview_scale_factor.
see r32563.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32797 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:40:02 +00:00
Enrico Forestieri
42fadd42c4 Fix bug #4063: LyX cannot handle apostrophe characters ' in path names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32773 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 19:37:49 +00:00
Pavel Sanda
c6ddbaf8d2 Backport r32617, no status entry needed, this was new in 1.6.6.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32618 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 12:48:36 +00:00
Jürgen Spitzmüller
485ae5821a * BiblioInfo.cpp (convertLaTeXCommands):
- fix parsing of thin space (\,).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32505 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 09:53:12 +00:00
Vincent van Ravesteijn
65ca18f336 branch: Do not save an emergency file after choosing to revert the document to the version saved on disk.
Now also when the user tries to load the document when it's already loaded.

see r32170 and r32485.

(No status entry needed).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32497 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 00:33:20 +00:00
Enrico Forestieri
756862c37c Fix bug #6382: Wrong cursor placement when inserting math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32480 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 18:05:12 +00:00
Vincent van Ravesteijn
4b5f45a6b9 Restore the encoding after messing with it in r32418.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 14:18:46 +00:00
Vincent van Ravesteijn
ad291caa99 Correct encoding (Hope it works).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32455 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 13:49:59 +00:00
Vincent van Ravesteijn
3cd6a2b0b7 branch: Fix bug #740: Wish for added menu item: File->Close all.
see r30882, r30883, r30890.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32454 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 13:27:21 +00:00
Jürgen Spitzmüller
2545764716 Simplify the definition of multi-accented polytonic Greek, patch by Günter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32451 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 08:26:52 +00:00
Vincent van Ravesteijn
443846282c branch: Fix bug #6365: tex2lyx uses wrong encoding in the preamble.
Everything is ok while reading the file, but when the lyxfile is written, only the first byte of a double-byte character is written to the file. This is because t.character() is sort of defined as cs_[0] in which cs_ is a docstring. This thus seems to fail for multi-byte characters.

see r32441.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-09 13:50:14 +00:00
Vincent van Ravesteijn
45c3ece046 branch: Fix bug #6113: Customized font color in footnote is not rendered in LyX.
It seems we realized the font in the wrong order. If the layout font specifies "Font Size Small", we should be able to make it large if we want to.

see: r32129 and r32413, and
http://thread.gmane.org/gmane.editors.lyx.devel/122682

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32437 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-09 02:15:51 +00:00
Jürgen Spitzmüller
00085df291 indicate that we're opening a dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32429 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-08 08:34:18 +00:00
Pavel Sanda
625879d3c2 Backport fixes for #5211 - r32179, r32180 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32428 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-08 02:07:48 +00:00
Vincent van Ravesteijn
2b81ec5c0d branch: Do not save an emergency file after choosing to revert the document to the version saved on this.
see r32170.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 22:00:56 +00:00
Vincent van Ravesteijn
e0c1663e39 branch: Fix bug #4360: Instant preview does not render formulas which contain math-macro from input file.
see r32157, r32200, r32352 and r32353.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32418 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 21:56:58 +00:00
Vincent van Ravesteijn
e97f967744 branch: Fix bug #2179: GuiErrorList resets to first item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32417 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 21:46:09 +00:00
Vincent van Ravesteijn
c736659a90 branch: Fix bug #6356: Reloading image does not work for compiling.
- Add a FileName::refresh function and replace one call to lastModified which was just meant to refresh the file info.

- Refresh the file info, otherwise InsetGraphics::latex might still think that the file does not exist.

see r32354 and r32355.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32415 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 21:37:48 +00:00
Jürgen Spitzmüller
e854d3c75c ParagraphUi.ui: layout fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32383 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 07:06:43 +00:00