Abdelrazak Younes
e8aa9311f4
potentially fix lyxrc.dist isssue with \gui_language
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25602 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 09:57:37 +00:00
Abdelrazak Younes
d6e9c4eec0
Stay on the safe side: prevent filename clashing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25599 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 09:00:11 +00:00
Abdelrazak Younes
e61643b43b
Fix again http://bugzilla.lyx.org/show_bug.cgi?id=5010
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 08:48:25 +00:00
Abdelrazak Younes
79beb91e3a
Sanitize LyX singleton access by getting rid of ref() and cref() methods.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25597 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 08:35:00 +00:00
Jürgen Spitzmüller
f67a9fac2e
* src/insets/InsetIndex.cpp (output_latex):
...
- sanitize the handling of index levels (most of bug 5014).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25596 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 08:20:24 +00:00
Abdelrazak Younes
647ac4a221
safeguards:
...
- move Previews singleton to LyX
- LyX.cpp: set singleton to zero at destruction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25594 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 07:16:00 +00:00
Abdelrazak Younes
7b7f95a439
temporarily fix http://bugzilla.lyx.org/show_bug.cgi?id=5026
...
This will reopen bug 5010 temporarily. Please don't touch this until I am finished.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25593 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 06:29:04 +00:00
Abdelrazak Younes
f04afc6585
reverting the safeguard in 25591. There is an awful lot of things to clean up before we can add this safeguard!!!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25592 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 06:22:41 +00:00
Abdelrazak Younes
10c7f636a6
Add safeguard
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25591 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 06:17:52 +00:00
Abdelrazak Younes
f3f99c354c
add const
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25590 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 05:33:14 +00:00
Abdelrazak Younes
e93fd11d41
Fix MSVC warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25589 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 05:19:39 +00:00
Pavel Sanda
a7a31dc392
Remove LFUN_BIBITEM_INSERT.
...
The last GUI trace for using this lfuns is here: http://www.lyx.org/trac/changeset/9966 .
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141812.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25588 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 01:28:06 +00:00
Pavel Sanda
bb236cbb0b
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25586 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 21:51:46 +00:00
Richard Heck
a24439b154
Redo 25580 the right way. (Failure to initialize bparams had caused constant crashes.)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25584 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 19:34:56 +00:00
Richard Heck
a692a56f4c
Revert 25580.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25583 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 19:33:05 +00:00
Richard Heck
ec86523845
Another small optimization: Don't bother copying the BufferParams unless we need it.
...
This may speed up repeated undos a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25580 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 19:04:44 +00:00
Richard Heck
9c6546fbd2
A small optimization: Don't do a copy here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25578 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 19:00:55 +00:00
Pavel Sanda
44d0356900
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 10:45:46 +00:00
Jean-Marc Lasgouttes
69080628a0
cleanup makefiles after config.h.in has been moved to top_srcdir
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25566 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 14:06:04 +00:00
Pavel Sanda
c29bd2ef53
Revert http://www.lyx.org/trac/changeset/25471 /2
...
This commit hasn't announced in http://bugzilla.lyx.org/show_bug.cgi?id=4749
and bring this bug in a different flavour, see comment 28.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25564 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 11:40:47 +00:00
Abdelrazak Younes
33b75ac079
Fix http://bugzilla.lyx.org/show_bug.cgi?id=5011
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25562 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 09:35:05 +00:00
Abdelrazak Younes
29253a74d5
Fix http://bugzilla.lyx.org/show_bug.cgi?id=5023
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25560 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 09:03:09 +00:00
Jürgen Spitzmüller
dcc4d58b66
*** Implement GUI names for encodings (part of bug 4971) ***
...
* lib/encodings:
- add new column "GUI names"
* src/Encoding.{cpp,h}:
- read in and handle GUI names
* src/frontends/qt4/GuiDocument.cpp:
- display GUI names instead of LaTeX names
* po/lyx_pot.py:
* po/Rules-lyx:
* development/scons/SConstruct:
- add encoding GUI names to the po files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 08:56:17 +00:00
Jürgen Spitzmüller
47e6b74e74
* src/insets/InsetSpace.cpp:
...
- proper visualization for negative hspaces, in analogy to negative vspaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25557 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 08:46:05 +00:00
Richard Heck
f854295dab
'Default'-->'Empty' in Bo's recent commit. Default means something else in the code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25556 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 03:41:56 +00:00
Bo Peng
763ef015ce
Improve the local layout feature by better handling of unknown textclass, unknown layouts, and switch between textclasses.
...
* src/TextClass.h[.cpp]: add addLayoutIfNeeded() and createDefaultLayout()
* src/Layout.h[.cpp]: add unknown_ to mark if a layout is a default layout for an unknown one.
* src/LayoutFile.cpp: add addDefaultClass and change addLayoutFile to addLocalLayout.
* src/Text.cpp: add unknown layouts that are not recognizable by a new textclass.
* src/frontends/qt4/GuiToolbar.cpp: display (unknown) for unknown layouts.
* src/frontends/qt4/GuiDocument.cpp: restore 'browse layout' button.
* src/frontends/qt4/ui/LaTeXUi.ui: restore 'browse layout' button.
* src/CutAndPaste.cpp: do not convert unknown layouts from pasted text
* src/BufferParams.cpp: add a default textclass when a document with unknown textclass is loaded.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 02:43:02 +00:00
Pavel Sanda
8dfd3c5ed4
* Doxy.
...
I myself don't understand the Notion line taken from the source code.
LFUN_ALL_CHANGES_REJECT is currently broken, so I can't test.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25554 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 00:31:41 +00:00
Pavel Sanda
08165a71bb
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5008 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25553 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 23:35:12 +00:00
Pavel Sanda
64dd1e4570
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25548 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 22:39:29 +00:00
Pavel Sanda
ff705e9b85
Add comment to avoid future clashes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25545 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 22:14:29 +00:00
Uwe Stöhr
3ceba1f8e4
InsetSpace.cpp:
...
- use another color for negative spaces to be able to distinguish it from "normal" positive one
- don't swap the inset drawing as this inconsistent to the other negative spaces and the ones in math mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25544 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 22:01:57 +00:00
Richard Heck
780bce0f96
Rename empty layout stuff to plain layout stuff.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25541 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 17:41:52 +00:00
Richard Heck
f57a0a5dac
Revert r25538.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25540 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 16:38:01 +00:00
Abdelrazak Younes
24a94f7254
Saves some more memory.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25538 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 16:13:43 +00:00
Abdelrazak Younes
11e1821284
Fix crash when tab group is closed while Outline is opened.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25537 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 12:44:50 +00:00
Pavel Sanda
f51305b047
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25535 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 12:21:51 +00:00
Abdelrazak Younes
ab5a4d4f0f
reverting 25454 and fix http://bugzilla.lyx.org/show_bug.cgi?id=4758 ; again!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25534 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 11:53:57 +00:00
Abdelrazak Younes
7122fd58d8
stupid me...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25533 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 11:45:16 +00:00
Abdelrazak Younes
f71ec170f7
Fix http://bugzilla.lyx.org/show_bug.cgi?id=5016
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25532 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 11:43:12 +00:00
Jürgen Spitzmüller
f10b67b09f
* src/insets/InsetSpace.cpp:
...
- comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 07:45:33 +00:00
Jürgen Spitzmüller
21f3fadbc1
* src/insets/InsetSpace.cpp:
...
- (simple) visual indication for negative hspaces.
- minimal metrics width for hspaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25530 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 07:43:21 +00:00
Pavel Sanda
04397b84f0
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25528 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 23:20:06 +00:00
Pavel Sanda
31ec62658f
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25527 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 23:17:28 +00:00
Richard Heck
aee1d2b0f7
Do this check before we start creating things.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 22:59:16 +00:00
Richard Heck
2b70ed0204
Thanks, Abdel.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25524 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 21:58:13 +00:00
Richard Heck
663043fd22
Fix the rest of bug 5010.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25523 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 21:27:15 +00:00
Richard Heck
9aa5b42262
Fix bug 5010, for the most part. There's no need to construct a default UndoElement,
...
which involves constructing a default BufferParams (this is expensive), only then to
over-write everything.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25522 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 18:42:41 +00:00
Pavel Sanda
f0c81b243f
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25521 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 18:37:24 +00:00
Pavel Sanda
e2974946f4
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25520 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 15:38:13 +00:00
Jürgen Spitzmüller
0160b75b4d
* src/insets/InsetSpace.cpp:
...
- use abs().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25516 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 10:31:16 +00:00
Abdelrazak Younes
9406eb0ff9
Fix crash reported in http://bugzilla.lyx.org/show_bug.cgi?id=4873
...
I don't think the crash is related to that bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25514 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 09:48:59 +00:00
Jürgen Spitzmüller
01fb1898ad
* src/insets/InsetSpace.cpp:
...
- correct metrics for negative hspaces (bug 5009).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25512 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 08:12:38 +00:00
Jürgen Spitzmüller
612e52b093
Back to CJK sanity I: Fix bug 4698 and 4696.
...
* lib/encodings:
* src/support/docstream.h:
- JIS is not a valid iconv name. Rename to ISO-2022-JP
* src/output_latex.cpp:
- fix wrong encoding switch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25510 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 07:21:02 +00:00
Richard Heck
53c764ed9b
More comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25507 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-08 18:13:47 +00:00
Richard Heck
b53dc7a033
Comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25506 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-08 17:57:20 +00:00
Jean-Marc Lasgouttes
1f9aaff77b
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25505 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-08 09:24:28 +00:00
Jean-Marc Lasgouttes
67774abaf2
* Text.cpp (cursorForwardOneWord, cursorBackwardOneWord): fix
...
moving in mac-like mode (a space is not a char)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25504 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-08 09:19:41 +00:00
Pavel Sanda
052b9a8874
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4943 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25503 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 23:41:19 +00:00
Richard Heck
ea5eb8cf85
Update doxy a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25500 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 21:45:54 +00:00
Pavel Sanda
dd2f66af0f
Add comment from Paul Rubin.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25499 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 21:25:59 +00:00
Pavel Sanda
59553ea2c7
Finish server lfuns doxyfication.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25494 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 19:23:53 +00:00
Pavel Sanda
391c3234ff
Removal of LFUN_SERVER_CHAR_AFTER.
...
This lfun do *nothing*.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25493 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 19:16:13 +00:00
Pavel Sanda
8823b29cd5
LFUN_SERVER_GET_NAME -> LFUN_SERVER_GET_FILENAME.
...
Make the naming unambiguous.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25491 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 19:09:06 +00:00
Pavel Sanda
41e45a8977
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25483 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 17:26:07 +00:00
Richard Heck
89695eb813
Fix bug 4976.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25481 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:48:36 +00:00
Pavel Sanda
12c72ac7fb
Forgot to remove the files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25480 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:37:38 +00:00
Pavel Sanda
20b9e0ba93
Remove InsetEnvironment. This is unfinished decade old stuff.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141609.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25479 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:34:55 +00:00
Richard Heck
341e4480df
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25476 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 15:41:36 +00:00
Jürgen Spitzmüller
939bb2f20c
* GraphicsUi.ui: re-save in qt designer 4.1 format.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25473 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 10:17:48 +00:00
Abdelrazak Younes
d6ee64599c
adjust comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25472 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 08:52:21 +00:00
Abdelrazak Younes
2fe39e6a2f
Use png as default conversion format.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25471 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 08:47:57 +00:00
Pavel Sanda
c077415c87
Next leftover.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-06 21:22:25 +00:00
Pavel Sanda
064c280f17
Leftover from http://www.lyx.org/trac/changeset/23471
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25467 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-06 21:03:05 +00:00
Uwe Stöhr
12d7a6d952
GraphicsUi.ui: don't open the dialog always with the Options tab but with the Graphics tab, fixes a regression
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25461 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-06 14:54:54 +00:00
André Pönitz
7934e9c224
wrong editor settings from wrong project...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25460 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-06 10:56:47 +00:00
André Pönitz
6ee64a4812
fix crash.
...
that's not a proper solution, though.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25459 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-06 10:55:47 +00:00
Enrico Forestieri
aabd9d03bb
Fix bug 4992
...
http://bugzilla.lyx.org/show_bug.cgi?id=4992
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25458 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-05 23:29:48 +00:00
Pavel Sanda
f4ed12ee7a
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25457 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-05 21:56:26 +00:00
Peter Kümmel
cb93ae8b61
fix memory leak
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25454 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-05 09:42:30 +00:00
Enrico Forestieri
cfe615d063
Ensure no trailing '/'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25453 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-05 09:09:50 +00:00
Jürgen Spitzmüller
2c5d1e9ebe
* src/frontends/qt4/GuiDocument.cpp:
...
* src/frontends/qt4/ui/LaTeXUi.ui:
- hide the "browse local layout" button as discussed on
http://bugzilla.lyx.org/show_bug.cgi?id=4812
because the local layout feature can result in dataloss.
Whether the feature itself should be removed for 1.6.0 has
to be discussed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25452 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-05 08:54:48 +00:00
Pavel Sanda
58de813a30
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25451 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 23:38:46 +00:00
Pavel Sanda
d9eaed1672
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25450 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 19:25:19 +00:00
Pavel Sanda
eba82d32d7
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25449 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 17:41:58 +00:00
Jürgen Spitzmüller
4573ae2261
* src/Paragraph.cpp: correct comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25447 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 14:28:13 +00:00
Edwin Leuven
dd6d173082
fix http://bugzilla.lyx.org/show_bug.cgi?id=4998
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25445 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 13:18:28 +00:00
Abdelrazak Younes
788893bdea
please JMarc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25444 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 13:14:20 +00:00
Abdelrazak Younes
81f63f6670
Remove double slash in system temporary path.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25442 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 12:28:55 +00:00
Abdelrazak Younes
979f5211a4
Fix PageDown/Up when at bottom/top of the document. Now the cursor moves to the bottom/top position. This also fixes http://bugzilla.lyx.org/show_bug.cgi?id=4384
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25441 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 11:33:28 +00:00
Abdelrazak Younes
639abeae66
Work around bug http://bugzilla.lyx.org/show_bug.cgi?id=4846
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25440 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 10:16:54 +00:00
Jürgen Spitzmüller
59390f9d08
* Paragraph.cpp:
...
- some cleanups and comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25438 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 06:44:37 +00:00
Jürgen Spitzmüller
05f7926109
* Paragraph.cpp:
...
- correct the kerning between two subsequent '<' or '>' characters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25436 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 06:01:45 +00:00
Pavel Sanda
46fbb7436b
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25435 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 00:03:52 +00:00
Jürgen Spitzmüller
750b9b8fa6
* src/Paragraph.cpp (latexSpecialTypewriter):
...
- do not assume that typewriter can encode any character (bug 4727).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25433 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-03 14:29:37 +00:00
Jürgen Spitzmüller
01c71419d9
*** Extend preview scripts to also handle PDF output (bug 2165) ***
...
* src/PreviewLoader.cpp:
- add conditions for preview with pdf output
* lib/scripts/legacy_lyxpreview2ppm.py:
- if no dvi preview file is available, check for a PDF file
and process that, if found
- also produce png output, if requested.
* lib/scripts/lyxpreview2bitmap.py:
- if no dvi preview file is available, check for a PDF file
and process that, if found
* lib/scripts/lyxpreview_tools.py:
- move some common functions here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25419 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-02 14:42:04 +00:00
Jürgen Spitzmüller
35e14de706
* src/output_latex.cpp:
...
- no blank lines before environments (bug 4993).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25416 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-02 08:34:55 +00:00
Jürgen Spitzmüller
5011d7c25f
* Paragraph.cpp: fix typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25415 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-01 15:16:09 +00:00
Jean-Marc Lasgouttes
32ccbb7f58
please Abdel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25414 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-01 15:12:28 +00:00
Jean-Marc Lasgouttes
5cef8b6887
* LyXRC.cpp:
...
* development/MacOSX/lyxrc.dist.in: new variable mac_like_word_movement,
set to true on Mac OS X. There is no GUI for it now.
* src/Paragraph.cpp (isSpace): new method
(isChar): return false for a space.
* src/Text.cpp (cursorForwardOneWord, cursorBackWardOneWord): implement
mac-like cursor movement.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25413 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-01 14:42:32 +00:00
Enrico Forestieri
1e801d0361
Fix bug 2721
...
http://bugzilla.lyx.org/show_bug.cgi?id=2721
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25409 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-01 12:46:46 +00:00
Abdelrazak Younes
66bd5be5fc
up-port fixes and cleanups from BRANCH.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25408 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-01 07:28:37 +00:00
Abdelrazak Younes
048efafe3c
Fix wheel mouse scrolling bug when speed is set to 'one page at a time'.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25406 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-30 17:18:41 +00:00
Jean-Marc Lasgouttes
0bc9149eda
one more step towards good word-level movement: let paragraph breaks be word boundaries
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25405 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-30 12:45:27 +00:00
Jean-Marc Lasgouttes
d3bf7155b8
rewrap long lines
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25404 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-30 11:02:21 +00:00
Enrico Forestieri
2477901f07
Fix color of math macros
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25403 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-28 22:49:40 +00:00
André Pönitz
0a24167e51
more robust. I get spurious crashes in this area... maybe c_str()
...
instead of data() would be in order, too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25402 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-28 18:34:19 +00:00
Pavel Sanda
e6e83a6272
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25392 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-26 21:42:39 +00:00
Pavel Sanda
2889cda870
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25391 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 23:59:19 +00:00
Abdelrazak Younes
a54850d762
GuiApplication::resetGui(): reset as many things as possible, including menus and toolbars (not sure about Mac global menubar yet). This means that except for already opened dialog, all ui rc settings are taken into account without the need to restart.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25390 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 18:03:38 +00:00
Abdelrazak Younes
1d109d8c6f
microptimisation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25389 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 16:18:27 +00:00
José Matox
1b2b5726be
Fix missing include (QMessageBox) and clean extra whitespaces.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25388 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 15:02:18 +00:00
Abdelrazak Younes
d748af0299
Add a preference combo box for the preferred user interface language. The rc variable gui_language now require a language name and not its code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25387 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 13:32:27 +00:00
Abdelrazak Younes
1c83bf9420
GUI language via RC: some bug corrections.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25386 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 11:10:10 +00:00
Abdelrazak Younes
39393bf788
Introduce Debug::LOCALE for locale debugging.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25385 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 10:53:34 +00:00
Abdelrazak Younes
162b3b3b30
Fix toc and source-view initial showing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25384 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 07:23:30 +00:00
Pavel Sanda
07af8fecb5
* Doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25383 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 23:07:38 +00:00
Pavel Sanda
a0918e4fae
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25382 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 17:28:35 +00:00
Abdelrazak Younes
ceb43a2d1f
revert 25377. That was not doing anything useful!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 13:29:15 +00:00
Abdelrazak Younes
43d9183798
Idea from JMarc:
...
Merge env_gui_language into gui_language. "auto" now means that the language will be retrieved from the environment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25380 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 13:23:44 +00:00
Abdelrazak Younes
b04c22ba67
Add two RC variables that can be used to set the GUI language:
...
- env_gui_language: set to true (default) if the language is to be retrieved from current environment variable.
- gui_language: specify language for GUI strings. Only used if env_gui_language is false
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25379 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 12:55:40 +00:00
Abdelrazak Younes
928c1daa55
Messages::get(): Add two error messages just in case.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 12:45:57 +00:00
Abdelrazak Younes
bcfedd4112
get_locale_dir(): add a fallback to po/ driectory in source tree in case LyX xas launched with '-sysdir' on a source tree lib/
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25377 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 12:43:30 +00:00
Jean-Marc Lasgouttes
2c0f0d3312
stupid off-by-one error in r25373
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25375 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 09:57:38 +00:00
Jean-Marc Lasgouttes
71860fbc86
suppress warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25374 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 09:52:43 +00:00
Jean-Marc Lasgouttes
cfbe5dd9e1
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=3580
...
* Paragraph.cpp (isChar): new method; returns true when pointer is on
a character that is not a letter. Note that a footnote inset, for
example is neither a letter nor a character.
* Text.cpp (cursorForwardOneWord, cursorBackwardOneWord): rewrite by
using 3 character categories: letters, characters and others.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25373 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 09:19:52 +00:00
Pavel Sanda
f6d0205398
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25372 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 08:45:52 +00:00
Pavel Sanda
78356819ea
Move LFUN_ALL_INSETS_TOGGLE dispatch to BufferView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25371 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 07:52:49 +00:00
Pavel Sanda
4080b7cc24
Move LFUN_GRAPHICS_GROUPS_UNIFY dispatch to BufferView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25370 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 07:43:47 +00:00
Pavel Sanda
f43129f315
Fix includes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25369 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 07:37:14 +00:00
Pavel Sanda
397afb607f
Move LFUN_NOTES_MUTATE dispatch to BufferView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25368 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 07:18:06 +00:00
Enrico Forestieri
4fa59cbd9b
Fix bug 4320
...
http://bugzilla.lyx.org/show_bug.cgi?id=4320
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25367 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 05:51:15 +00:00
Jürgen Spitzmüller
8cbc28d880
* src/Encoding.{cpp,h}:
...
- build an exception list of characters that must be output as LaTeX command in any case
(except in utf8-plain). I.e., the utf8 encodings now also honour the "force" flag.
* lib/unicodesymbols:
- add "force" flag to combine characters. Fixes rest of bug 4946.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25361 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 18:00:43 +00:00
Uwe Stöhr
e2e78fa20a
- support for polytonic Greek, fileformat incremented to 338, fixes bug 4969, patch by me and Jürgen
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25356 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 23:21:46 +00:00
Enrico Forestieri
419b5a1551
Fix the new incarnation of bug 4687
...
http://bugzilla.lyx.org/show_bug.cgi?id=4687
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25355 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 22:32:48 +00:00
Jürgen Spitzmüller
49e4763f6b
* Paragraph.cpp (latexSurrogatePair):
...
- do not use braces for combinated characters that are natively output (as unicode glyphs)
(fixes part of bug 4946)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25347 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 07:12:56 +00:00
Abdelrazak Younes
f033198c3f
Avoid any signal/slot communication when the graphic is directly showable on screen. This should complete the fix to http://bugzilla.lyx.org/show_bug.cgi?id=4829
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25340 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 16:12:48 +00:00
Abdelrazak Younes
e9e90558db
forgot this in prev commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25339 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 13:36:35 +00:00
Abdelrazak Younes
c75ff524bf
Fix ScrollBarAsNeeded
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25338 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 13:29:25 +00:00
Abdelrazak Younes
2a1b0968cb
more sensible value for max scrollbar value. Related to http://www.lyx.org/trac/changeset/24298 .
...
Should fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4901
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25337 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 12:52:38 +00:00
Abdelrazak Younes
46cb120300
Fix http://bugzilla.lyx.org/show_bug.cgi?id=4829
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25336 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 12:31:03 +00:00
Abdelrazak Younes
c3c49d8a0b
Fix http://bugzilla.lyx.org/show_bug.cgi?id=4954
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25335 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 11:57:43 +00:00
Jean-Marc Lasgouttes
3e5493ace1
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25333 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 08:26:03 +00:00
Jean-Marc Lasgouttes
25d1e35ff5
rewrite obsolete comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25332 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 08:25:13 +00:00
Abdelrazak Younes
c3727bc147
fix initial outline disabling.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25330 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 06:43:43 +00:00
Abdelrazak Younes
efd6dc8a0c
One view/doc: more fixes and cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25329 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 06:35:42 +00:00
Abdelrazak Younes
2ab92aba67
retro commit a bit. Should hopefully fix the crashes on Mac.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25328 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 20:48:49 +00:00
Abdelrazak Younes
65b37dfbb8
Some more fixes to multi-windows.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25327 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 17:30:30 +00:00
Abdelrazak Younes
4441cd8a4a
GuiView::on_lastWorkAreaRemoved(): the window closing doesn't have to be delayed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25326 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 15:55:34 +00:00
Abdelrazak Younes
fb47b716d7
Polish the one window per document user experience.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25325 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 15:39:15 +00:00
Abdelrazak Younes
82d467ea6d
CreateView(): Simplify id test and add a debug output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25324 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 14:22:32 +00:00
Abdelrazak Younes
ad68145492
Fix http://bugzilla.lyx.org/show_bug.cgi?id=4941
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25323 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 13:35:19 +00:00
Abdelrazak Younes
f29a8f54a4
Fix initial cursor visibility problem.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25322 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 13:10:25 +00:00
Pavel Sanda
963b2c48d4
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25321 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 11:45:20 +00:00
Abdelrazak Younes
26dbfbcf89
Present to Mac users: Session handling per document instead of per window when "open document in tabs" is disabled.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25320 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 11:28:11 +00:00
Enrico Forestieri
ab9a074f20
Trust Andre'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25319 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 09:17:57 +00:00
Enrico Forestieri
c691839abe
Fix bug 4687
...
http://bugzilla.lyx.org/show_bug.cgi?id=4687
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25318 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 09:16:05 +00:00
Abdelrazak Younes
312bb47dd5
Some more fixes to icon size and session settings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25317 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 07:40:29 +00:00
Abdelrazak Younes
1009aed25a
fix http://bugzilla.lyx.org/show_bug.cgi?id=4957
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25316 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-19 06:21:04 +00:00
Pavel Sanda
467281b334
No need to fit cursor here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25313 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 23:26:25 +00:00
Pavel Sanda
be9587f9d9
Comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25312 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 23:03:29 +00:00
Pavel Sanda
5d66da8887
markDirty is automatic.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25311 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 22:51:12 +00:00
Pavel Sanda
8018bef22b
Some hints from JMarc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25310 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 22:37:35 +00:00
Pavel Sanda
dcc50a2454
Fix include orderings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25309 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 18:54:31 +00:00
Pavel Sanda
7267b4bef2
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25308 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 18:27:45 +00:00
Pavel Sanda
1f1951e210
Add LFUN_NOTES_MUTATE for global change of note insets type.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141339.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25306 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 18:16:50 +00:00
Abdelrazak Younes
a7de101b64
Revert 25234: Even though this is not recommended, using repaint give a much better user experience when dragging the scrollbar slider. So I am changing it back. I've solved the problem leading to rev25234 thanks to the new TocModel anyway.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25305 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 14:15:48 +00:00
Abdelrazak Younes
bd569ada80
Local aware sorting of the toc type.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25304 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 11:35:24 +00:00
Pavel Sanda
ca1f3d29b5
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25299 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 23:44:00 +00:00
Pavel Sanda
faa41bfdf2
Delete LFUN_MATH_IMPORT_SELECTION.
...
This lfun is just duplicate of LFUN_MATH_MODE now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25296 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 19:44:10 +00:00
André Pönitz
5dd5d98473
make _GLIBCXX_DEBUG_PEDASSERT happy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25295 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 16:33:19 +00:00
André Pönitz
61aa683425
compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25294 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 16:26:43 +00:00
Abdelrazak Younes
cd877a3919
move a loc to where it's useful.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25293 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 15:49:14 +00:00
Abdelrazak Younes
81bc06db34
Navigator:
...
- some cleanup in TocWidget
- fix Read-only document navigation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25292 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 15:44:14 +00:00
Abdelrazak Younes
56f7a70e48
delete unused interface.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25291 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 15:18:34 +00:00
Abdelrazak Younes
6ad1b1cd09
General cleanup of the Outline/Navigator:
...
- Make use the Qt Model/View separation concept, TocWidget is now really just a view of the current toc model.
- the toc type combo now use a model defined in TocModels.
- the models are not deleted at each reset, they are now just cleared out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25289 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 15:10:03 +00:00
Abdelrazak Younes
b5252b737f
Don't close child documents.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25288 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 14:53:08 +00:00
Enrico Forestieri
e224ef029b
Implement the suggestion by Andre'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25287 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 11:10:43 +00:00
Pavel Sanda
d25aa0ad38
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25286 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 23:01:14 +00:00
Enrico Forestieri
01398327df
Ops
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25285 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 20:39:40 +00:00
Enrico Forestieri
4781794e4e
The mode changing math insets already provide the needed info, so
...
this is definitely better.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25284 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 20:25:44 +00:00
Abdelrazak Younes
8db9fcfcb9
revert 25271 which was problematic. Sorry for the delay.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25283 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 19:51:00 +00:00
Enrico Forestieri
aace605564
Avoid 11 from_ascii calls
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25282 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 18:52:54 +00:00
André Pönitz
6a56be232d
save a few allocations in from_ascii.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25281 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 18:27:11 +00:00
Jürgen Spitzmüller
c2d1b2ea82
GuiPrefs.cpp: fix signal.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25280 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 17:16:15 +00:00
Jürgen Spitzmüller
93ab5a427d
* src/frontends/qt4/Menus.cpp:
...
* po/lyx_pot.py:
- make flex insets in the menus translatable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25276 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 15:19:31 +00:00
Pavel Sanda
162e176006
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25275 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 15:13:47 +00:00
Enrico Forestieri
31713932b2
Use a helper method in order to avoid code repetition.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25273 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 14:32:51 +00:00
Abdelrazak Younes
68fbb326af
* GuiWorkArea::addWorkArea(): avoid multiple unneeded drawing.
...
* GuiWorkArea::on_currentTabChanged(): make sure the bufferView has the correct size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25271 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 07:23:08 +00:00
Enrico Forestieri
90837aaf6e
Fix bug 1527
...
http://bugzilla.lyx.org/show_bug.cgi?id=1527
* src/mathed/*.cpp:
- Track mode (math or text) when outputting latex code and
properly wrap commands that are in the wrong mode with
either \ensuremath or \lyxmathsym.
* src/mathed/MathParser.cpp:
- Parse \ensuremath and \lyxmathsym, such that exported latex
produces the same result when imported back.
- Replace latex commands with corresponding unicode symbols.
* src/Encoding.cpp:
- Implement Encodings::fromLaTeXCommand() for converting either
a single or a sequence of latex commands to unicode symbols.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25270 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 01:21:17 +00:00
Pavel Sanda
4044737b8d
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25269 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 22:56:45 +00:00
Stefan Schimanski
978a357864
* doxygen for LFUN_MATH_MACRO
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25268 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 22:42:45 +00:00
Pavel Sanda
389d2f99c0
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25267 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 22:22:47 +00:00
Pavel Sanda
8ab36ddef7
Let LFUN_MATH_SPACE use various spaces we support.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 22:12:40 +00:00
Jürgen Spitzmüller
483e1fcd19
ExternalTemplate.cpp:
...
- sort Lexer table.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25262 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 14:23:45 +00:00
Enrico Forestieri
593e06989a
Fix bug 4951
...
http://bugzilla.lyx.org/show_bug.cgi?id=4951
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25261 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 14:21:53 +00:00
Pavel Sanda
61e2044d22
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25258 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 10:19:39 +00:00
Pavel Sanda
a4b76f6605
Make Delimiter dialog stretchable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25257 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 10:06:54 +00:00
Pavel Sanda
58ad19a232
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25251 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 00:44:17 +00:00
Pavel Sanda
cb5ce8348b
Ressurect LFUN_MATH_SIZE, set toolbars accordingly.
...
http://thread.gmane.org/gmane.editors.lyx.devel/108469
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25250 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-14 18:38:14 +00:00
Pavel Sanda
5e603f5703
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25249 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-14 18:25:21 +00:00