Commit Graph

15454 Commits

Author SHA1 Message Date
Abdelrazak Younes
8f1b42984d Better compil fix than previous commit. Sorry...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:44:35 +00:00
Abdelrazak Younes
fa6dae88f2 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29458 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:35:59 +00:00
Abdelrazak Younes
23fded1fc0 New FontList::setMisspelled() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:17:23 +00:00
Abdelrazak Younes
30c70c1670 Transfer word locating code from Text to Paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29455 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 07:26:12 +00:00
Abdelrazak Younes
ce0c09d1ae potential compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29454 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 06:42:25 +00:00
Abdelrazak Younes
e2025f59dc CMake/Windows compilation fix. Aiksaurus.h was not visible in frontend/qt4:
* pimpl the implementation details. Next step would probably be to have a virtual base class instead.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29453 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 06:33:19 +00:00
Enrico Forestieri
4053db1858 Speed up FileName operator==, such that working with child documents on
Windows and Solaris is again possible.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29444 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 22:42:26 +00:00
Pavel Sanda
85eaa03492 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29434 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 09:11:48 +00:00
Pavel Sanda
477d0aa004 Disambiguate call for monolithic build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29424 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 11:56:13 +00:00
Jürgen Spitzmüller
dd930b4535 * final splitindex feature addition: support for \printindex* and \printsubindex*
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 06:10:25 +00:00
Enrico Forestieri
a7e1aac652 Don't try to load a nonexisting file when executing server-goto-file-row
as this leads to a crash.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29418 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 22:52:22 +00:00
Jürgen Spitzmüller
0bd5c5fca8 * Add support for splitindex's \printsubindex command. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29409 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 11:24:38 +00:00
Pavel Sanda
a329ab84a6 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29405 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 08:39:18 +00:00
Abdelrazak Younes
3a502dfbec Simple fix for bug 4464
http://www.lyx.org/trac/ticket/4464

Thanks to Vincent for showing the way.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29394 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-24 21:04:51 +00:00
Jean-Marc Lasgouttes
26b1c55e03 whitespace only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29393 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-24 12:37:56 +00:00
Jean-Marc Lasgouttes
fcc4a0f794 Sometimes, iconv on windows returns -1, but sets errno to 0. I do not
know what this means, but tex2lyx did not like it at all.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29392 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-24 12:28:00 +00:00
Jean-Marc Lasgouttes
0a99e817f1 Fix bug #5912: http://www.lyx.org/trac/ticket/5912
The problem was that \" was forgotten in the list of accents to check
in unicodesymbols (because it used to have its own german-centric derogatory
handling).

I took the Comprehensive LaTeX Symbols List (table 6) and added all the
missing accents.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29387 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-23 13:08:31 +00:00
Vincent van Ravesteijn
b44f8eb2ef * cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29378 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:17:49 +00:00
Vincent van Ravesteijn
96174d2d66 Fix bug that you can't change Info insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:16:51 +00:00
Vincent van Ravesteijn
2bc9c7c9c4 * Revert the noise.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29376 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:02:05 +00:00
Vincent van Ravesteijn
4c9fe33c83 * Move handling of LFUN_INSET_SETTINGS to Inset,
* Remove the EDITABLE enum,
* add functions hasSettings() for all insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29375 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 20:55:13 +00:00
Uwe Stöhr
f6b85a17de InsetHyperlink.cpp:
- fix #5908
 - break too long code lines

OK for branch too?  

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29366 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 00:55:55 +00:00
Pavel Sanda
3ea345b90f Patch from Edwin - spellcheck typos.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150327.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29365 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-21 21:06:21 +00:00
Jean-Marc Lasgouttes
adab0618e7 fix crash when importing LaTeX file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29364 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-21 09:01:33 +00:00
Jean-Marc Lasgouttes
f3038bed06 Remove bogus ifdocstream constructor argument, which _may_ be the cause of
tex2lyx woes under windows. It may also help chktex under windows
(does it works currently?)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29361 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 15:40:01 +00:00
Jean-Marc Lasgouttes
ac5a6ac79a I did this one all by myself; naughty jmarc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29358 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 11:00:30 +00:00
Jean-Marc Lasgouttes
4b32876be0 revert 29349; Abdel made me do it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29356 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 10:00:54 +00:00
Jean-Marc Lasgouttes
19e6f30b18 cut-and-paste made me do it, I swear
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29355 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 09:46:52 +00:00
Jean-Marc Lasgouttes
9c61ea54ef compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29351 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 23:03:50 +00:00
Uwe Stöhr
0ff6c86ee1 Counters.cpp: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29350 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 22:44:46 +00:00
Jean-Marc Lasgouttes
b20965dd83 please Abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29349 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 22:24:48 +00:00
Jean-Marc Lasgouttes
2e45185cd5 improve tex2lyx Usage display (on error...); describe option -e on man page; remove non-implemented -p and -r options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29346 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 22:13:43 +00:00
Jean-Marc Lasgouttes
8d0fcad676 Speedup the expandLabel by avoiding the recursive part. The labelstrings
are computed recursively to get rid of any \thexxx string by the method
flattenLabelString. The values are cached in Counter objects.

On my mac, the total time (updatelabels+redraw) goes down by 30%. YMMV.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29342 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 20:05:26 +00:00
Vincent van Ravesteijn
4e685e3565 Fix bug #5758: Crash when closing the dosbox from which LyX was started
The wmf_mime_ object was deleted both when deleting GuiApplication::Private as from 
QWindowsMimeList::~QWindowsMimeList().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29326 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 13:43:00 +00:00
Jürgen Spitzmüller
8d97f1c6d2 * ToggleWarningUi.ui:
- string change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29325 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 12:30:19 +00:00
Jürgen Spitzmüller
605f6bebf2 Implement a warning dialog with a "Do not show this warning again!" checkbox.
Since Qt does not provide this, we have to roll our own dialog.
Hidden warnings are stored in sessions.

The dialog is currently only used in the case where an included file
has a different textclass then the master (bug 3218).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29324 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 11:57:52 +00:00
Jean-Marc Lasgouttes
22e92f0d6f constify counters code and rename private variable counterList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29323 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 10:06:17 +00:00
Abdelrazak Younes
ef5f53017a transform the SpellChecker gui into a dock widget.
This commit introduces a new way to use the ui file in a more transparent way with regards to header inclusion.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29322 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 08:57:43 +00:00
Vincent van Ravesteijn
ee4e7db35e Add context menus to the toc for child-documents, listings and indices.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29319 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 18:53:39 +00:00
Vincent van Ravesteijn
b6ce46fb94 InsetInfo: simplify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29317 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 17:02:48 +00:00
Jürgen Spitzmüller
521577ba4c * InsetIndex.cpp:
- fix InsetPrintIndex::getStatus logic (detected by Vincent).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29316 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 16:20:08 +00:00
Vincent van Ravesteijn
6192d3dbbf InsetPrintIndex: Fix getStatus() for INSET_MODIFY.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29315 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 16:02:36 +00:00
Vincent van Ravesteijn
ac6a7ed432 InsetInfo is editable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29310 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 12:14:08 +00:00
Jürgen Spitzmüller
051a50439d remember the last selection on the view/update popup button.
This introduces a new "sticky" popup button.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29309 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 10:44:44 +00:00
Jürgen Spitzmüller
30961c95d9 * InsetInfo: fix bug 5901.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29305 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 05:57:02 +00:00
Jürgen Spitzmüller
d12426a340 New inset dialog for InsetPrintIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 14:29:32 +00:00
Jürgen Spitzmüller
de22184d97 New inset dialog for InsetIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29285 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:22:44 +00:00
Jürgen Spitzmüller
c090147654 * BrnachUi.ui: minor tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29284 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:18:51 +00:00
Jürgen Spitzmüller
c9a0462954 * GuiBranch.cpp: remove duplicated include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29277 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 07:47:09 +00:00
Jean-Marc Lasgouttes
37d6ef964c fix compiler warnings in new mathfrac/binom code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29257 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 09:15:24 +00:00