Commit Graph

27246 Commits

Author SHA1 Message Date
Stephan Witt
26e7593a8b #7292 revert the use MetaModifier for AltModifier on mac - we have to look for a proper solution to make the keyboard navigation (Option-Arrow) and the input of accented characters possible. For now the working standard keyboard navigation has higher priority.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37707 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-17 07:49:16 +00:00
Vincent van Ravesteijn
9bebb8945d Fix bug #7308: Table settings dialog broken.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37706 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 23:09:29 +00:00
Vincent van Ravesteijn
21992716e5 Revert r37704. It enabled SET_TABULAR_WIDTH for all longtables (new fix coming soon)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37705 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 23:06:43 +00:00
Enrico Forestieri
4c44ddad01 Don't disable apply button if one (or more) of vertical alignment, rotation,
or long table settings are changed. Fixes bug #7308.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37704 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 22:19:49 +00:00
Joost Verburg
6db49535bf Do not set all CMake files as C header files. This fixes resource compilation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37702 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 20:51:40 +00:00
Joost Verburg
688feff625 no longer needed because of upgrade to MSVC 2010 and CMake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37701 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 20:47:40 +00:00
Joost Verburg
4cbcffe291 remove old files from list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37700 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 20:44:58 +00:00
Joost Verburg
75218491f9 fix replacement of multiple environment variables (result was not cleared for next iteration)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37699 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 18:59:19 +00:00
Joost Verburg
fbdf441a93 Delete outdated patches. Source code of the dependencies is available at ftp://ftp.devel.lyx.org/pub/contrib/windows/src
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37698 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 17:30:12 +00:00
Pavel Sanda
c77647cfb3 Define LYX_(MAJOR|MINOR)_VERSION also for scons build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37697 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 17:15:51 +00:00
Jürgen Spitzmüller
c020978d18 * PreviewLoader.cpp:
- use pdflatex route for preview snippet generation if hyperref is used.

This works around a bug in hyperref and/or preview-latex via DVI route (bug #7303).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37696 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 16:59:22 +00:00
Jürgen Spitzmüller
ebebdef6c9 * lyxpreview2bitmap.py:
- recognize foreground color in pdf route. This is not nice, but there's no better way, AFAICS.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37695 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 16:57:02 +00:00
Jürgen Spitzmüller
7a7676e3fe Menus.cpp: use proper ifdefs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37693 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 15:56:07 +00:00
Jürgen Spitzmüller
f450acaefe Menus.cpp: QProyStyle was introduced in Qt 4.6.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37692 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 15:50:39 +00:00
Richard Heck
a4e42fe8e7 Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37691 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 14:54:06 +00:00
Richard Heck
7ea8f5c34a FORMAT for last change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37684 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 18:05:01 +00:00
Richard Heck
6127141d4b Introduce BufferParam to control whether CSS is output in the header of
the XHTML file or to a separate style file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37682 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 17:44:17 +00:00
Vincent van Ravesteijn
d77fc1668c Fix bug #7263: Instant Preview crash.
I guess this deserves to be sorted out better, because we are doing tricky things by deleted the object from itself.

Problem:
 
PreviewImage? has a member PreviewLoader?. PreviewImage::Impl::statusChanged() calls PreviewLoader::remove. PreviewLoader::Impl::remove removes a snippet from the cache. In the cache is a map of the snippet and a shared pointer to PreviewImage?. This means that removing the snippet from the cache, destroys the PreviewImage?. When we get back to PreviewImage::Impl::statusChanged() this will start to crash.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37681 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 17:11:03 +00:00
Vincent van Ravesteijn
66ca99798b Squeeze warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37680 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 17:09:15 +00:00
Peter Kümmel
1a363f80e6 try a autosave next time even when currently no buffer is open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37679 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 17:07:01 +00:00
Vincent van Ravesteijn
b9e7a9b269 Fix bug #5414: Show context menu accelerators when the context menu is shown after pressing the keyboard context menu key.
This should have been done by qt, but we can override qt by adapting the style on the windows platform.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37678 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 16:53:37 +00:00
Peter Kümmel
8486940675 use more common millisecond notation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37677 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 15:25:16 +00:00
Jürgen Spitzmüller
1f21f0f2dc * src/InsetTabular.cpp: revert r36415.
This went in without discussion and is IMHO wrong (bug #7055 is invalid).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37676 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 11:43:04 +00:00
Peter Kümmel
ef1444b8df cmake: complete renaming of LYX_3RDPARTY_DOWNLOAD
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37675 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 09:46:14 +00:00
Peter Kümmel
ed4bebf698 suppress abbreviated descriptions in document dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37674 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 09:37:19 +00:00
Jürgen Spitzmüller
3634ae6c1f * lyxpreview-platex2bitmap.py:
- we might call this with 7 args, although the 7th will just be ignored (which is fine).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37673 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 08:52:37 +00:00
Richard Heck
ccb0a36e08 Fix stupid typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37672 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 22:14:42 +00:00
Joost Verburg
6f765737f8 update for new MSVC 2010 dependencies package lyx20-deps-msvc2010-x86.zip (all dependencies in one zip)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37670 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 22:04:58 +00:00
Vincent van Ravesteijn
fbaba7782a Fix bug #7209: Crash when clicking on unfinished command in math.
This was a similar problem as for bug #5796 in r30807. There I made sure that the position that is used for the context menu is set at mousepress. That was because also the cursor was set at mousepress and we want to get the context menu at the place where the mousebutton was pressed, and not where the mousebutton was released.

However, in this case, the position of the context menu is stored on mousepress, but we don't take into account that the cursor might move afterwards due to the DEPM.

So, the solution is not to save the position of the mouseclick, but to save the name of the context menu we requested.

PS. Perhaps we could save the cursor position, but this seems to work too.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37669 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 21:30:12 +00:00
Joost Verburg
d6d4a80fc6 update info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37668 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 21:26:44 +00:00
Tommaso Cucinotta
8faded55d9 Replaced the Ctrl+Shft+r sequences for entering regexp-mode with [Alt+x]regexp-mode[Ret],
as the shortcut has gone.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37667 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 20:41:46 +00:00
Pavel Sanda
13bb781dcd Give new shortcut for default viewing.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165590.html

Closing #5258.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37666 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 20:31:46 +00:00
Joost Verburg
cc7c0b83f8 updated MiKTeX detection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37664 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:57:24 +00:00
Joost Verburg
05ec5c321a LyXLauncher is no longer used in LyX 2.0. This resolves Windows 7 taskbar issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37663 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:55:01 +00:00
Peter Kümmel
6b24870ab5 fix msvc warning, somehow msvc thinks !line[0] is a boolean
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37662 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:54:04 +00:00
Joost Verburg
e254eec97b Compatibility update for Adobe Reader X. The new pdfview should be used with the updated versions of pdfopen/pdfclose.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37661 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:53:44 +00:00
Stephan Witt
2c7d38a55c #7292 use MetaModifier for AltModifier on mac - alt is used to reach many special symbols, now they are usable for regular text input. Note: with swapped Command/Ctrl keys Ctrl is the MetaModifier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37659 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:41:23 +00:00
Peter Kümmel
898eaf4ac7 cmake: give a hint that it is possible to download 3rd party libs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37658 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:26:33 +00:00
Enrico Forestieri
05491c58cc Also catch the endl manipulator for automatic line counting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37657 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 17:09:39 +00:00
Richard Heck
5d774518c6 Remove obsolete comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37648 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 12:43:56 +00:00
Richard Heck
b7c21b6ac6 More has_key replacements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37647 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 02:30:44 +00:00
Richard Heck
e6ec7bdce5 Simple fixes to get layout2layout working with Python 3. These are all that the 2to3 script reported.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37646 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 02:28:13 +00:00
Richard Heck
50f845e479 Two simple changes for Python 3 compatibility.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37645 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 02:17:50 +00:00
Richard Heck
4a6647d091 Fix bug #7298. Patch from Patrick Atamaniuk. Thanks!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37644 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 01:36:00 +00:00
Enrico Forestieri
46028a6914 Due to the increased accuracy of line counting and registering, when a
latex error occurs inside a table, the exact faulty table row is spotted.
However, if all cells of a table row are output on the same line, lyx is
not able to tell what cell caused the error and highlights the last cell
of the row. This patch allows to output each cell of a table on its own
line, such that the exact point where the error occurred can be highlighted.
Note that this is only done when exporting for preview, and in normal (nice)
exports everything goes as usual.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37643 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 01:02:12 +00:00
Richard Heck
13126b8060 Fix bug #6302: Allow setting of on-screen paragraph indentation when
alignment is LEFT.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37642 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 00:58:44 +00:00
Enrico Forestieri
c6648aaeb9 Complete integration of texrow with otexstream and allow automatic line
counting also when outputting the latex preamble.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37641 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 21:41:44 +00:00
Enrico Forestieri
88bd4b30f2 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37640 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 12:19:12 +00:00
Pavel Sanda
0c47ab6300 * ANNOUNCE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37639 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 11:23:48 +00:00
Pavel Sanda
39f9ca806b cs.po - glitch from Kornel, thanks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37638 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:45:50 +00:00