Commit Graph

22117 Commits

Author SHA1 Message Date
Enrico Forestieri
abb1ff4a66 MacroData has a buffer_ member, so use this instead of a dummy one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30871 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 10:25:48 +00:00
Enrico Forestieri
d53c2ec215 Fix bug #6014: Assertion when pasting "\def" into 2.0svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30870 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 09:53:06 +00:00
Jürgen Spitzmüller
3a8121ddee * lyx2lyx/lyx_1_6.py: fix convert_url routine (bug 6121).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30869 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 08:05:31 +00:00
Vincent van Ravesteijn
3114ce609c Some small code simplications.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30866 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 23:01:06 +00:00
Vincent van Ravesteijn
b86942b4f4 Uniform naming of functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30865 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 22:50:36 +00:00
Vincent van Ravesteijn
27a0ac410f Remove some unnecessary negated logic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30864 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 22:44:23 +00:00
Vincent van Ravesteijn
dfabfe49c6 Hide some internals of Changes:
* no one has to know that the current author has by default id 0,

Forgot this in the previous commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30863 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 22:37:19 +00:00
Vincent van Ravesteijn
6d8f1aa244 Hide some internals of Changes:
* no one has to know that the current author has by default id 0,
* avoid unnecessary use of the Type enum.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30862 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 22:15:17 +00:00
Kornel Benko
ad8a353281 Add use of installed boost libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30861 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 20:56:14 +00:00
Vincent van Ravesteijn
11c3f2d1bc Fix the math output mess I caused in r30822.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30860 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 20:34:53 +00:00
Pavel Sanda
c1fa134b90 Upgrade to autoconf 2.64
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 11:49:24 +00:00
Enrico Forestieri
7771fedf9c White space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30857 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 10:37:14 +00:00
Pavel Sanda
7c170d8fa8 Please Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30856 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 09:26:46 +00:00
Vincent van Ravesteijn
0bac4a686d Fix shortcuts context menu after r30296.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30855 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-03 22:45:06 +00:00
Uwe Stöhr
ea02a9db1c Spanish UserGuide.lyx, Math.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30853 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-03 20:18:20 +00:00
Uwe Stöhr
eacb23587a Hebrew Intro.lyx: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30851 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-03 20:07:24 +00:00
Vincent van Ravesteijn
997d8ba557 Fix bug #6119: Keyboard map still shows up after deleting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30850 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-03 19:54:32 +00:00
Enrico Forestieri
898c621b84 Properly restore the file encoding after a LaTeX environment with local scope.
Fixes bug #5690: Hebrew file cannot be exported to dvi or pdf.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30848 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-03 18:31:20 +00:00
Jean-Marc Lasgouttes
ca7b18a5db Try to implement properly recursive setBuffer. Normally, implmenting
for InsetMathNest and InsetMathHull is enough.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30847 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-03 10:30:34 +00:00
Uwe Stöhr
9833b35aa5 UserGuide.lyx: add info how to ascertain the author of a tracked change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30846 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 23:54:05 +00:00
Uwe Stöhr
dbd8d89fba UserGuide.lyx: actualize the change tracking section
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30843 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 23:09:16 +00:00
Uwe Stöhr
bfb7785f65 Extended.lyx: only whitespace (and update to latest file format)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30841 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 22:35:01 +00:00
Uwe Stöhr
2f62763e99 Customization.lyx: only whitespace (and update to latest file format)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30840 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 22:22:44 +00:00
Uwe Stöhr
a40d601ebe UserGuide.lyx: issues spotted by JR Hudson - part 3 of 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30839 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 22:21:56 +00:00
Uwe Stöhr
0586f96144 UserGuide.lyx, Math.lyx: issues spotted by JR Hudson - part 2 of 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30836 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 21:41:34 +00:00
Uwe Stöhr
12fc778c62 UserGuide.lyx: corrections of bugs spotted by JR Hudson - part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30835 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 17:02:56 +00:00
Uwe Stöhr
02b81fb226 UserGuide.lyx: update to current file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30833 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 16:57:44 +00:00
Abdelrazak Younes
aafa4532d4 CMake: Define USE_HUNSPELL in case the library is found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30832 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 16:45:33 +00:00
Abdelrazak Younes
0316c01d24 Win32 Hunspell Link fix by Kornel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30831 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 16:38:39 +00:00
Uwe Stöhr
0b23fcce1e Hebrew documentation files: set the encoding explicitly to "cp1255" for trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30830 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 14:08:26 +00:00
Vincent van Ravesteijn
8e3f8fccfa * PageLayoutUi: Squeeze warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30828 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 13:08:47 +00:00
Kornel Benko
d74fffa363 Added hunspell library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30826 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 10:44:05 +00:00
Abdelrazak Younes
c53d9099c1 Optimization: don't do suggestion if we only want to mark misspelled words.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30825 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 10:09:29 +00:00
Abdelrazak Younes
1f53de6592 SpellChecker work:
* Move suggestion searching out of check() and onto suggest().
* Cleanup a bit AspellChecker
* Begin Hunspell support (not tested and does not link yet)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30824 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 09:17:32 +00:00
Uwe Stöhr
17e6ab45b0 SConstruct: fix SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30823 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 01:21:41 +00:00
Vincent van Ravesteijn
13bb684eb0 Improve LaTeX output of arrays in math. Always output a '\n' except in the case that the line is completely empty.
see also:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153349.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30822 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 22:03:12 +00:00
Vincent van Ravesteijn
7e624928ef Add a pending space after math if it is not the last of the selection. This fixes problems like in bug #6094.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30821 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 21:54:13 +00:00
Vincent van Ravesteijn
ca66ebb1b0 Squeeze warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30820 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 21:49:26 +00:00
Vincent van Ravesteijn
93e39157b6 Add const versions of Inset::asInsetMath.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30819 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 21:39:14 +00:00
Vincent van Ravesteijn
95fb3513ca Remove useless tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30818 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 21:34:24 +00:00
Abdelrazak Younes
22380826d5 Fix MSVC warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30817 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 18:03:26 +00:00
Abdelrazak Younes
96e456d864 * Pimpl AspellChecker internal salsa...
* set eolstyle for HunspellChecker.*


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30816 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 17:48:33 +00:00
Abdelrazak Younes
28c22d4305 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30815 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 17:34:44 +00:00
Abdelrazak Younes
2bab03e557 I forgot to rename those in previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30814 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 17:25:49 +00:00
Abdelrazak Younes
0d626b0008 * Rename HunspellSpellChecker to HunspellChecker and ASpell to AspellChecker for consistency.
* Cleanup a bit associated CMakefile 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30813 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 17:24:13 +00:00
Abdelrazak Younes
6b6cb3fe18 Factorize some code in getStatus() for LFUN_DIALOG_SHOW.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30812 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 16:55:15 +00:00
Abdelrazak Younes
76a7314279 InsetText::fixParagraphsFont(): return early and save Font instantiation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30811 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 16:53:58 +00:00
Abdelrazak Younes
a9b2b7f55d Fix an assertion with Inset::buffer():
The "character" dialog is only useful in texted.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30810 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 16:06:02 +00:00
Uwe Stöhr
712b0b29ac German UserGuide.lyx: resync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30809 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 12:09:11 +00:00
Vincent van Ravesteijn
6e39c317fb Fix bug #5796: Context menu of one inset asks status of another inset.
Store the position for the context menu on mouse press. This is also done in qt but then only on the widget level. 

This avoids that e.g. the edit menu will call getStatus() of math (which causes a crash actually).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30807 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-30 18:12:29 +00:00