Commit Graph

23967 Commits

Author SHA1 Message Date
Richard Heck
3906792378 We were doing this twice, and I think there's also a bug here, namely,
that we weren't re-enabling if we returned early.

Someone tell me if this is wrong.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33585 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 19:56:08 +00:00
Richard Heck
805231ccbe This can just take a FuncCode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33584 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 19:51:06 +00:00
Richard Heck
c127d83b66 A little cleanup while perusing TocWidget....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33583 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 19:48:20 +00:00
Vincent van Ravesteijn
834115c920 Fix bug #6552: Crash when inserting TeX-code in math mode and scrolling
Avoid an assertion when accessing the CoordCache while the Inset is in a paragraph which is not visible on screen.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33582 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 15:59:08 +00:00
Jean-Marc Lasgouttes
6d671bf5f2 Fix compilation with qt 4.2: QString::operator[] returns a QCharRef,
which is supposedly like a QChar... except that some methods like isUpper 
were forgotten in the process.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33580 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 14:46:42 +00:00
Vincent van Ravesteijn
4aeca63887 Fix bug #6464: Crash when exiting LyX from second window when first window has changed buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33579 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 14:07:21 +00:00
Jürgen Spitzmüller
f31298fd7c * GuiSpellchecker.cpp:
- fix bug #6561 (null pointer).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33578 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 13:34:36 +00:00
Uwe Stöhr
408e3c971e installer: support for Greek aspell dictionary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33575 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 01:15:00 +00:00
Uwe Stöhr
6537e306ff installer: support for Greek menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33573 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 01:10:52 +00:00
Uwe Stöhr
d9575540d5 el.po: some "translations"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33571 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 01:02:27 +00:00
Uwe Stöhr
4993c7b315 el.po: new Greek translations of LyX menus. Patch sent by Ulysse Danglis
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33570 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 00:58:16 +00:00
Jürgen Spitzmüller
86f1641299 * Buffer.cpp (getLanguages):
- assure the buffer language is in the list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33569 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 18:00:43 +00:00
Jürgen Spitzmüller
9f67cede58 Menus.cpp: priorize capitals as language accelerators.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33566 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 12:56:12 +00:00
Jürgen Spitzmüller
ea6b96dfc5 * Menus.cpp: hide Language item if only one language is used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33565 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 12:46:16 +00:00
Jean-Marc Lasgouttes
c224f085ce avoid crash when there is no buffer (bug #6548)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33564 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 11:36:31 +00:00
Jean-Marc Lasgouttes
04336d45d8 fix compilation with qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33563 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 11:35:41 +00:00
Uwe Stöhr
d4b5638fcb scons: fix remaining issues that was not covered by r33560, patch by Bo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33562 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 02:09:04 +00:00
Enrico Forestieri
3fce202517 On Windows, allow loading documents with non-ascii chars in their path
also from command line and from explorer windows.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33561 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 00:20:31 +00:00
Uwe Stöhr
056a614830 scons/SConstruct: fix compiling with SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33560 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 20:45:12 +00:00
Vincent van Ravesteijn
36c1de09a7 Do not output a warning about missing the width of a nomencl_print. The width will not be outputted if it's empty and this is the case when the nomencl_print has "set_width" set to auto or none.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33559 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 18:14:23 +00:00
Vincent van Ravesteijn
b9e45ab91f Remove the bogus fixme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33558 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 17:54:15 +00:00
Vincent van Ravesteijn
ccf2080ae8 Fix bug #6556: Exporting .lyx to .lyx15 or lyx16 report error, yet succeeds.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33557 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 17:02:52 +00:00
Jürgen Spitzmüller
a15a58b51c * Menus.cpp:
- exclude spaces from accelerator construction.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33556 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 14:21:30 +00:00
Jürgen Spitzmüller
1f97351716 * Menus.cpp:
- add accelerators to the language selector submenu (bug 6558)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33555 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 14:06:40 +00:00
Jürgen Spitzmüller
c2ef290547 * enable instant preview with XeTeX (requires preview-latex v.11.86) [bug #5577]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33554 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 10:47:35 +00:00
Uwe Stöhr
8207c3e82a UserGuide.lyx: fix another typo (was only in trunk)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33553 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 02:38:34 +00:00
Uwe Stöhr
1500c79c11 - UserGuide.lyx: fix typos spotted by a user
- Abstract.pdf: fix typo in this image
- Resumen.pdf: correct PDF-crop box

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33551 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 00:45:39 +00:00
Uwe Stöhr
1bf64ccfb7 German Intro.lyx: fix a typo spotted by a user
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33549 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-23 22:44:09 +00:00
Abdelrazak Younes
85c782bde8 Migrate GuiBibitem to InsetParamsWidget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33547 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-23 21:24:24 +00:00
Abdelrazak Younes
656caf4078 Fix Windows/cmake build.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33546 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-23 21:15:22 +00:00
Enrico Forestieri
ab77356a6a When using CREATE_NEW, CreateFile fails if the file already exists.
I intended that, but was forgetting to account for it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33545 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-23 16:22:27 +00:00
Jean-Marc Lasgouttes
a9d094bcce fix compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33544 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-23 08:00:29 +00:00
Pavel Sanda
06b4dfb24d Revert r33533.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33543 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-23 03:51:49 +00:00
Tommaso Cucinotta
a7f63005f0 Fixed #6555 (crash when trying to replace starting from multi-par selection with end pos < beg pos).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33542 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 21:44:59 +00:00
Uwe Stöhr
038b7e2b19 scons/scons_manifest.py: fix SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33541 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 20:46:26 +00:00
Uwe Stöhr
1c9a6f8b49 GuiView.cpp: fix compilation after r33533
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33540 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 20:31:13 +00:00
Enrico Forestieri
10f1370464 On windows, allow saving a document whose pathname contains unicode chars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33539 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 19:34:25 +00:00
Pavel Sanda
4ae7fa0e3c At least basic ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33537 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 06:12:53 +00:00
Pavel Sanda
fee4215a73 Add images to makefiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33536 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 05:40:45 +00:00
Pavel Sanda
56e0928eb8 Revision info into toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33535 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 05:40:39 +00:00
Pavel Sanda
21379cbef9 At least basic capability for VC comparison.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33533 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:01:04 +00:00
Pavel Sanda
5cb1a6a08d Forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33532 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:00:59 +00:00
Pavel Sanda
ddd4cb6152 Kill files unused for long time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33531 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:00:55 +00:00
Pavel Sanda
3b120c8eeb Also menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33530 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:00:51 +00:00
Pavel Sanda
ce27e0ced0 Fingerpainting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33529 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:00:46 +00:00
Pavel Sanda
6271278749 Icons for VCS comparison
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33528 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:00:40 +00:00
Enrico Forestieri
d472d8ddc0 Win95 is not supported by a long time now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-21 18:38:17 +00:00
Enrico Forestieri
220f0f9f5b This should have gone in r33524.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33526 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-21 13:51:06 +00:00
Abdelrazak Younes
5d235f5251 Migrate GuiHSPace to InsetParamsDialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33525 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-21 09:28:33 +00:00
Enrico Forestieri
37974532f6 Fix bug #5238: LyX 1.6 fails with non-ascii chars in path (on Windows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33524 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-21 04:51:27 +00:00