Commit Graph

17451 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Edwin Leuven
3c765c6bc5 bit of clean up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33522 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 22:00:54 +00:00
Abdelrazak Younes
4db2685cbe Migrate Branch dialog to InsetParamsWidget
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33521 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 20:57:25 +00:00
Abdelrazak Younes
bebd53821a Implement Vincent's suggestions:
- [New Inset] button even in non synchronous mode
- Get rid of the horizontal spacer for improved layout under Windows.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33520 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 20:44:59 +00:00
Enrico Forestieri
f5cc73f583 Avoid unnecessary exceptions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33516 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 16:31:15 +00:00
Jürgen Spitzmüller
90e28136b6 * Buffer.cpp:
- Issue a warning if a path contains uncodable characters (bug 6301).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33514 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 14:47:19 +00:00
Abdelrazak Younes
3ec48cce2a Fix single table action (from toolbar).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33511 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 12:21:49 +00:00
Abdelrazak Younes
10e22f9eab Following previous commit, the dialog now needs to be reinitialized when
called...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33510 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 11:17:00 +00:00
Abdelrazak Younes
3efb329cb0 InsetParamsDialog: don't update the inset widget if we are not un
synchronised mode.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33509 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 11:04:15 +00:00
Abdelrazak Younes
3776d8ec89 Fix cell width initial fill-in.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33508 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 10:25:20 +00:00
Abdelrazak Younes
addba25b98 r33506: better fix for table borders.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33507 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 10:03:03 +00:00
Abdelrazak Younes
15e19deed3 Really fix table borders toggling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33506 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 09:03:39 +00:00
Abdelrazak Younes
98ed6f399e Tabular dialog: fix border setting/unsetting bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33505 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 08:20:58 +00:00
Abdelrazak Younes
816b7fdd91 Simplify featureAsString()... I don't understand why some people insist
on those complicated, verbose STL code...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33504 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 08:11:09 +00:00
Abdelrazak Younes
e92aed709b Fix gcc warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33503 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 11:52:18 +00:00
Enrico Forestieri
e26331dd35 Remove obsolete source file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33500 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 09:58:20 +00:00
Pavel Sanda
7f8f613a11 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33497 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 09:01:33 +00:00
Abdelrazak Younes
b5049e769b * InsetTabular cleanup:
- proper message passing for all tabular features
- properly define which feature needs an argument

* replace LFUN_TABULAR_FEATURE with LFUN_INSET_MODIFY
- The math tables are also affected. In the future a common base class
between math and text table will solve this inconsistency.
- There is a hack in GuiApplication in order to not rename the toolbar
icons. This will have to be cleaned up with a general icon naming for
LFUN_INSET_MODIFY... to be discussed.

* Tabular Dialog:
- big cleanup, lots and lots of bug fixing here
- migrated to InsetParamsWidget


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 08:28:46 +00:00
Abdelrazak Younes
8613f66a1d InsetParamsWidget(): fix method constness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33493 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 07:56:38 +00:00
Enrico Forestieri
4c92ec8383 Operator new[] should always be matched by operator delete[],
even when allocating POD types.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33488 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-17 19:33:52 +00:00
Abdelrazak Younes
6490dd8636 Factorize showInsetDialog() for InsetParamsDialog based dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33487 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-16 13:35:40 +00:00
Abdelrazak Younes
175c03336e InsetBox:
* update the button label when a parameter is changed.
* Get rid of unused LFUN_INSET_DIALOG_UPDATE dispatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33486 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-16 12:55:05 +00:00
Abdelrazak Younes
3a26a8d9d7 some moreInsetParamsDialog bug fixing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33485 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-16 10:50:06 +00:00
Abdelrazak Younes
c775690b58 InsetParamsDialog bug fixing:
* OK button now creates an inset if none is present
* Fix some enabling/disabling of buttons.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33484 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-16 09:39:14 +00:00
Abdelrazak Younes
06e19de13b Fix autotools for r33480.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33483 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-16 08:05:49 +00:00