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
Pavel Sanda
ce2380135b
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25248 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 14:15:13 +00:00
Abdelrazak Younes
4a1be58591
- Simplify prefs, graphics and external display options which are now true or false.
...
- the display combo in the prefs, external and graphics dialogs are gone
- the lyxrc display_graphics option now overrides any local inset display option
- The external template format has a new tag: Preview
- format incremented to 337
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 07:34:55 +00:00
Pavel Sanda
2c44c3d031
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25244 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 00:03:36 +00:00
Pavel Sanda
87a64de1e7
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25243 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 20:16:51 +00:00
Abdelrazak Younes
d353a6f899
Mac compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25241 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 17:34:01 +00:00
André Pönitz
5791f8a894
cosmetics; compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25239 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 16:46:46 +00:00
Abdelrazak Younes
28b77e4f72
GuiView: Moving updateStatusBar() out of updateDialogs() because this is no end of trouble WRT recursive paintings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25238 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 16:00:36 +00:00
Abdelrazak Younes
825bac4b43
Fix crash on new document.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:43:31 +00:00
Abdelrazak Younes
edd117f27a
remove unneeded TocModel::clear() method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25236 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:34:12 +00:00
Abdelrazak Younes
6876ffa65b
Simplify TocModel by using UserRole data.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25235 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:31:10 +00:00
Abdelrazak Younes
f8110b8b60
Fix another recursive repaint problem with Qt4.4 when erasing a section text with backspace while the Outline is opened.
...
This should in principle not affect drawing but X11 testing with autorepeat key is required.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25234 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:25:17 +00:00
Abdelrazak Younes
1494e0a687
Fix crash when closing a second lyx window due to a recursive painting (QT4.4 issue). This code was not needed anyway.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25233 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 13:04:59 +00:00
Pavel Sanda
dc4f254726
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25232 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 11:10:47 +00:00
Pavel Sanda
74fa517035
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25231 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 23:24:28 +00:00
Abdelrazak Younes
158863fd3b
TocWidget: Small reorg in order to fix http://bugzilla.lyx.org/show_bug.cgi?id=4940
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25230 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 18:13:14 +00:00
Pavel Sanda
ed12154445
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25228 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 09:49:43 +00:00
Pavel Sanda
154fe36eb2
Old, unused and handled elsewhere.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 09:05:46 +00:00
Pavel Sanda
07113cf424
LFUN_FONT_FREE_* -> LFUN_TEXSTYLE_*
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141274.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25225 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 08:35:15 +00:00
Pavel Sanda
d708dfe1fd
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25224 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 21:37:40 +00:00
Pavel Sanda
4315b23d61
cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25223 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 11:50:04 +00:00
Pavel Sanda
95b509baef
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25222 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 11:46:40 +00:00
Jean-Marc Lasgouttes
b4811438e3
typo spotted by JP Chretien
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25221 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 08:31:21 +00:00
Pavel Sanda
08b0aaea54
oops.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25220 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 22:34:50 +00:00
Pavel Sanda
6c9f298fa1
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25219 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 22:31:22 +00:00
Abdelrazak Younes
1239d32174
Maybe fix http://bugzilla.lyx.org/show_bug.cgi?id=4939
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25218 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 22:25:51 +00:00
Abdelrazak Younes
fe9de1f1d6
potential fix to outline drawer when leaving full-screen mode.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25217 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 16:11:47 +00:00
Abdelrazak Younes
efd40b2673
Outline focus fix for mac: Make sure the GuiView is raised and activated before setting the focus.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25216 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 15:33:42 +00:00
Jürgen Spitzmüller
15676a062f
proper fix for bug 4936.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25215 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 15:20:38 +00:00
Abdelrazak Younes
16420e5263
Allow the toc and view-source dock widget to be restored if needed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25214 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 15:01:45 +00:00
Abdelrazak Younes
42cb86adb9
Fix initial focus problem with outline and view-source panes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25213 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:52:38 +00:00
Abdelrazak Younes
7f4247e718
createLyXTmpDir(): Don't hardcode /tmp, use package().system_temp_dir() insetad.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25212 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:33:31 +00:00
Abdelrazak Younes
f15ede6534
set the object name for all DockView based dialog (fix http://bugzilla.lyx.org/show_bug.cgi?id=4922 )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25209 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:09:27 +00:00
Abdelrazak Younes
430296f4af
Hopefully fix http://bugzilla.lyx.org/show_bug.cgi?id=4918
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25207 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 13:05:24 +00:00
Abdelrazak Younes
5e6a1a3da8
GuiToc: set the object name for proper state restoration.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25206 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 12:54:14 +00:00
Pavel Sanda
b37f9a379e
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25204 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 11:54:35 +00:00
Jürgen Spitzmüller
3b00c86b9d
brute fix weird bug 4936.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25203 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 10:41:58 +00:00
Abdelrazak Younes
af7b5b5e26
More sensible error messages.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25202 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 09:57:10 +00:00
Abdelrazak Younes
48cd43fd51
First part of http://bugzilla.lyx.org/show_bug.cgi?id=4918
...
Prevent deletion of LyX temporary directory is this is not a LyX created directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25199 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 09:34:11 +00:00
Edwin Leuven
dbc07ef630
fix http://bugzilla.lyx.org/show_bug.cgi?id=4778
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25198 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 08:11:46 +00:00
Abdelrazak Younes
cd26f796d3
Navigator pane: Switch to dockwidget when working in fullscreen mode.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25197 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 07:09:29 +00:00
Pavel Sanda
fbcca09cf9
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25196 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 01:00:14 +00:00
Pavel Sanda
57c7833415
Next easy target.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25194 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-08 15:18:57 +00:00
Pavel Sanda
174511105c
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25193 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-08 14:35:43 +00:00
Pavel Sanda
6de6a69775
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25192 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 22:16:03 +00:00
Pavel Sanda
4f81608f6f
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25189 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 14:28:43 +00:00
Pavel Sanda
bd1848375e
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4923 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25188 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 12:43:44 +00:00
Pavel Sanda
93b0edfc81
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25185 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 11:01:17 +00:00
Abdelrazak Younes
435e223f7c
Fix http://bugzilla.lyx.org/show_bug.cgi?id=4933
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25182 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 09:06:18 +00:00
Abdelrazak Younes
39a78a09d2
previous commit: forgot that
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25176 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 22:54:28 +00:00
Abdelrazak Younes
374ec4be57
Simplify and optimize image on screen visualization. Fix one bug or two along the way WRT combined image effects (egg: rotation and grayscale).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25175 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 22:51:11 +00:00
Abdelrazak Younes
87cbf97c91
X-Ref dialog: Hide the buffer combo now that child document labels are integrated within the parent's. This should be re-enables if/when the xr package is supported.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25174 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 22:30:30 +00:00
Pavel Sanda
8eec505ac9
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25172 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 18:24:16 +00:00
Richard Heck
7f6721a4e9
Clean up a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25170 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 16:02:52 +00:00
Richard Heck
08d8a8034f
Fix citation dialog bug.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25169 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:53:02 +00:00
Jean-Marc Lasgouttes
3b99db73e4
Remove our in tree gettext version and replace with a mechanism to import it.
...
* autogen.sh: use autopoint to poulate the gettext code; simplify.
* po/Rules-lyx: move the LyX-specific code of the Makefile here.
* configure.ac: add magic incantation telling autopoint to import
gettext 0.16.1. Generate config.h in toplevel directory to please
gettext.
* src/tex2lyx/Makefile.am:
* src/client/Messages.cpp: compile fix
* remove all files that came from a gettext distribution.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:25:55 +00:00
Abdelrazak Younes
896cb74fe2
Optimize the graphics loader: don't put the image in the queue if it is directly loadable and no conversion is needed. No more temporary preview image, yeah!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25166 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 13:30:38 +00:00
Abdelrazak Younes
e4a5278060
start image loading at metrics time.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:39:43 +00:00
Abdelrazak Younes
21f59b816b
RenderGraphic::metrics(): return early.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25164 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:34:27 +00:00
Abdelrazak Younes
9d00e2ec0a
Move loadableImageFormats() to the frontend.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25163 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:29:58 +00:00
Abdelrazak Younes
264f32ec37
Simplify image loading on screen which is not asynchronous, never was...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25162 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 11:52:02 +00:00
Abdelrazak Younes
20b45450f6
move GuiImage::loadableFormats() to support/imagetools.{h,cpp} and simplify this whole stuff. What a mess!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25161 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 11:34:49 +00:00
Pavel Sanda
c6ecad82c9
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25160 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 11:06:23 +00:00
Pavel Sanda
ed1ca813ef
LFUN_ERROR_NEXT removal.
...
http://www.nabble.com/LFUN_ERROR_NEXT-td17667485.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25159 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 10:29:14 +00:00
Abdelrazak Younes
5fe7778d28
Fix disconnection on escaped dialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25158 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 10:00:33 +00:00
Abdelrazak Younes
fb1d57d24c
oups...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25157 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 09:49:09 +00:00
Abdelrazak Younes
af050ab1b0
Some polish.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25156 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 09:33:24 +00:00
Abdelrazak Younes
b4213b9fe5
LFUN_INFO_INSERT: avoid static_cast.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25155 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 09:01:55 +00:00
Abdelrazak Younes
81cc98a500
InsetInfo: Some fixes...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25154 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 08:45:58 +00:00
Abdelrazak Younes
062bec11d0
* Dialog::inset(): make it const.
...
* InsetInfo::validate(): new method for checking dispatch argument. Not implemented yet.
* GuiInfo: remove non working code and rework the dialog following my vision of an ideal info dialog :-) not every thing works yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25153 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 08:01:59 +00:00
Bo Peng
3c142cdd47
GuiInfo: display and initialize the information dialog, can not apply yet
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25152 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 04:10:42 +00:00
Bo Peng
f5101ebec8
InsetInfo: allow select and copy of text inside InsetInfo, trigger the info dialog correctly
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25151 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 03:25:36 +00:00
Richard Heck
95a5be2891
Prevent a crash when destroying insets whose Buffers have been closed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25150 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 03:11:56 +00:00
Jürgen Spitzmüller
0f07e83733
Wrap figures can also have subfloats. I simply forgot that when implementing subfloat support.
...
Well, here it is. Fixes one part of bug 4927. There's a remaining problem on conversion of onld subfigs with LaTeX content (e.g. \label). I'll fix that in a second step.
There's
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 16:05:52 +00:00
Abdelrazak Younes
ccea2a5cd9
Move inset lookup to Dialog class as this is generic enough to be reused by other dialogs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25147 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 16:03:08 +00:00
Abdelrazak Younes
6e4494b9b7
InsetInfo::inset(): look also for next inset as InsetInfo cannot be entered with the cursor (yet).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25146 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:48:29 +00:00
Abdelrazak Younes
34739e59f7
The inset connection is not needed as the dialog will retrieve the inset from the cursor location.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25145 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:28:27 +00:00
Abdelrazak Younes
f276338227
Preliminar InsetInfo dialog. This was done as an exercise to show Bo (an others) how easy it is to create a new dialog. This dialog needs to be filled in, right now, there is just an OK button.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:08:46 +00:00
Abdelrazak Younes
cf466ab567
Mac compil fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25143 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 14:40:41 +00:00
Abdelrazak Younes
a1756319b3
Mac compil and warning fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25142 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 13:27:37 +00:00
Pavel Sanda
e327d63c91
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25141 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 12:24:27 +00:00
Abdelrazak Younes
e060218986
* InsetInfo: use Application::iconName().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25140 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 08:49:19 +00:00
Abdelrazak Younes
b1002fc32c
Provide a generic way to retrieve icons from the frontend.
...
* Application: new iconName() pure virtual interface.
* GuiApplication: transfer icon searching code from GuiToolbar.cpp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25139 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 08:31:22 +00:00
Richard Heck
f65bb20bfe
Forgot this bit.
...
The only remaining problem here is that, if you edit the TEXT that goes with
an InsetBibitem, then the information in the citation will not get updated
until something else invalidates the cache. The only way to fix this, given
the existing system, would seem to be to check, every time anything gets
edited, whether we're in a Bibliography environment or not, and if so to
invalidate the cache. I'm not sure that is worth it. Really, it points to a
more general issue with InsetBibitem, IMHO: It ought to be a kind of combined
inset, a hybrid of sorts between an InsetCollapsable and an InsetCommand. But
that would be for 1.7.x at least.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25138 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:59:35 +00:00
Richard Heck
8a64579d9c
More cache fixing. Similar fix as for InsetBibtex, and I've renamed the key routine.
...
Unfortunately, we can't do a one-short fix for InsetCommand, requiring that it take
a Buffer & in the constructor, due to problems in mathed, specifically, here:
void InsetMathHull::label(row_type row, docstring const & label)
{
...
label_[row] = new InsetLabel(p);
if (buffer_)
label_[row]->setBuffer(buffer());
}
If InsetLabel has to have a Buffer, then buffer_ has to be set, which means InsetMathHull needs a Buffer. But then truckloads of these are created in Parser, where we don't really seem to have access to a Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25137 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:55:34 +00:00
Richard Heck
2ea039ba99
Fix some of the BibTeX cache issues. We need to be able to invalidate the cache when
...
InsetBibtex's get created and destroyed, or modified.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25136 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:42:53 +00:00
Jürgen Spitzmüller
d7eaaba900
** support for CJK font argument. File Format change **
...
* src/BufferParams.{cpp,h}:
- new param fontsCJK (font_cjk).
* src/output_latex.cpp:
- use fontsCJK param.
* src/Buffer.cpp:
- increase file format
* src/frontends/qt4/GuiDocument.cpp:
* src/frontends/qt4/ui/FontUi.ui:
- GUI for the CJK font param
* lib/lyx2lyx/lyx_1_6.py:
- remove font_cjk param on reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25135 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:18:34 +00:00
Richard Heck
45a8fed1d5
Fix bug 4899. My bad.
...
There are still some problems here, also related to the cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25134 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:46:49 +00:00
Richard Heck
ad76cb5c5f
Give an error message here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25133 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:39:48 +00:00
Richard Heck
96fbd90e92
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25132 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:39:19 +00:00
Bo Peng
c6565b4209
Add InsetInfo::SHORTCUTS_INFO and ICON_INFO
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25129 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 03:41:35 +00:00
Dov Feldstern
140958f4a3
this entire method can now be removed (thanks for pointing this out, Bernhard!)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25120 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 21:05:27 +00:00
Dov Feldstern
6fb8b95a28
whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25119 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 19:52:16 +00:00
Dov Feldstern
dba608e1d7
fix completion painting for RTL (inline completion and completion list)
...
see http://permalink.gmane.org/gmane.editors.lyx.devel/107923 for an
explanation, though note that this patch is more extensive than the one
attached there
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25118 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 19:45:26 +00:00
Pavel Sanda
8cc2f84269
Doxy - these are similar.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25117 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 18:40:07 +00:00
Pavel Sanda
f1ab9fa147
Last rites for LFUN_BREAK_PARAGRAPH_SKIP, LFUN_DELETE_BACKWARD_SKIP, LFUN_DELETE_FORWARD_SKIP.
...
Closing bug http://bugzilla.lyx.org/show_bug.cgi?id=4492 .
Closing bug http://bugzilla.lyx.org/show_bug.cgi?id=4525 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25116 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 18:09:06 +00:00
Pavel Sanda
89ad02ee67
Last rites for LFUN_LIST_INSERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25115 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 17:43:13 +00:00
Pavel Sanda
7a3c484635
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25114 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 17:04:38 +00:00
Jean-Marc Lasgouttes
31cc9454ef
fix compiler warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25113 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 09:57:37 +00:00
Abdelrazak Younes
4f2a7a953b
Fix crash while InsetInfo hovering by replacing the hover message with a tooltip.
...
Note to all: NEVER send a message inside a draw() method! This triggers a recursive painting of the status bar with Qt4.4 !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25112 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 07:15:43 +00:00
Enrico Forestieri
4ad2d0e15c
Produce a cleaner latex output by avoiding \lyxmathsym when in text mode
...
inside math mode, and also ensure the proper mode inside math when using
the symbols from the unicodesymbols file. This hopefully fixes bug 3938.
Note that this approach could also be used for fixing bug 1527.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25109 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 00:36:04 +00:00
Bernhard Roider
0d4ab86261
Fix item delegate for qt 4.2:
...
In the completion-listbox rtl-Text does not work like it does for newer qt and icons are not displayed for math symbols.
The rtl handling is incorrect atm but now it works the same way for all versions of qt.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25108 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 22:00:47 +00:00
Pavel Sanda
e34c18c8fd
On the same note.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25101 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 13:42:03 +00:00
Pavel Sanda
70dbaa6b0f
oops.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25100 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 13:23:36 +00:00
Pavel Sanda
f47f4c64a5
LFUN: delete-back/forward -> char-delete-back/forward
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg140977.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25099 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 13:21:19 +00:00
Pavel Sanda
c6f21863a8
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25098 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 11:41:27 +00:00
Abdelrazak Younes
3803473627
Fix toc generation after rev25096.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25097 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 11:33:13 +00:00
Abdelrazak Younes
c99463ebfc
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4910 by creating InsetText::addToToc().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25096 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 11:12:45 +00:00
Jürgen Spitzmüller
b607d70eb4
* src/output_latex.cpp:
...
- handle CJK nesting correctly with nested insets (bug 4913).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25093 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 07:51:14 +00:00
Jürgen Spitzmüller
e8d99617b5
* Allow the use of eqrefs in mathed (bug 4623).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25092 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 06:23:45 +00:00
Enrico Forestieri
07d1b1684b
Account for text mode inside math mode.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25090 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 02:38:38 +00:00
Enrico Forestieri
69bd59cc8b
Be sure to insert a space after a macro when needed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25088 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 00:09:20 +00:00
Abdelrazak Younes
b5f4c93599
Remove bug work around due to bad event loop startup process in 1.5.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25071 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 14:19:39 +00:00
Abdelrazak Younes
2003a50e14
Fix http://bugzilla.lyx.org/show_bug.cgi?id=4904
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25070 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 13:59:00 +00:00
Abdelrazak Younes
cebd63f844
Move secondary toolbars to View->Toolbars->Other Toolbars.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25069 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 12:51:36 +00:00