Commit Graph

24623 Commits

Author SHA1 Message Date
Richard Heck
2581036784 Documentation for RequiredArgs tag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34593 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:00:50 +00:00
Richard Heck
b0097bcddb Introduce a new "RequiredArgs" tag for layouts. This functions much as
the OptionalArgs tag does and is implemented by the now misnamed
InsetOptArgs, except that its content gets wrapped in "{}" rather than
"[]". Required arguments do not actually have to be provided, but they
are always output. 

This will allow e.g. beamer's Block environment to be implemented
without ERT.

Documentation to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34591 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 21:50:08 +00:00
Vincent van Ravesteijn
8bbd8bc44c Fix bug #6606: Crash when reverting a document with a not available document class.
If the document class is not available, we now issue a warning for the user. This triggers a focusInEvent of the WorkArea and the cursor is issued to start blinking. However, when reverting a document the cursor is probably invalid and there has been no chance yet to fix it as we are still reading the file. 

The solution is to not show the cursor when the view is still busy.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34590 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 13:24:03 +00:00
Peter Kümmel
acbfa35458 fix bug #6748: queue LyXErrMessages so any other stuff is done
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34589 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-03 21:24:20 +00:00
Jean-Marc Lasgouttes
b25d19435a fix compilation on F13 and binutils/gold by rewriting specialized X11 code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34588 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-03 07:26:19 +00:00
Vincent van Ravesteijn
a948d13333 Fix bug #6744: Crash when copying an inset from a deleted section.
We need to reject the changes in when copying from a fully deleted section.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34583 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 16:13:54 +00:00
Peter Kümmel
5f2de40786 cmake: also install locale into the resource dir on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34579 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 13:32:10 +00:00
Peter Kümmel
fa59b92276 cmake: also install locale into the resource dir on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34576 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 13:11:03 +00:00
Vincent van Ravesteijn
f642e45a39 Fix the warning message "TocModel.cpp: type not found" when (re-)loading a file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34571 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 09:56:07 +00:00
Enrico Forestieri
41db28dd45 Fix bug #6739: Loading in a 1.6.5 file causes 1.6.6-1 to crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34563 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 23:20:30 +00:00
Enrico Forestieri
a2d888496b Still white space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34562 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 23:12:07 +00:00
Enrico Forestieri
c4faa16f20 Only white space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34561 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 23:02:04 +00:00
Richard Heck
50a81deff4 Simplify the graph code a bit. This also will allow us easily to find
all paths from point A to point B, which we'll want to do later.

This should also get rid of an annoying bug that I couldn't figure out.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34560 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 21:27:17 +00:00
Richard Heck
6fe2fec87d Minor change to unfortunate codepath.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34559 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 20:20:57 +00:00
Stephan Witt
c45d20be90 Server.cpp needs moc on WIN32 only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34551 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 09:50:24 +00:00
Pavel Sanda
245e58fe13 Finish the leftover spotted by Uwe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34547 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 09:07:03 +00:00
Uwe Stöhr
468f219f77 lyx_2_0.py: add missing lxy2lyx routine after r34498
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34545 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 00:50:43 +00:00
Stephan Witt
042e8bb4d0 consolidate dictionary lookup of spellchecker and thesaurus, prepare builtin distribution of dictionaries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34540 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-29 14:36:51 +00:00
Uwe Stöhr
c1bde420f8 GuiBox.cpp:
- fix another bug: shaded boxes can have a specified width when there is an inner box
- code optimizations according to http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg160048.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34532 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-28 03:01:18 +00:00
Uwe Stöhr
311fb59467 IEEEtran.lyx: update file according to latest layout and remove doubled \emph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34529 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-28 01:53:19 +00:00
Richard Heck
8993fe96b2 Escape quotes in module descriptions. Amazingly,
this actually seems to work with no changes in the 
C++ code.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34528 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 15:23:25 +00:00
Richard Heck
35ee5f2040 Clarify code a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 15:20:21 +00:00
Richard Heck
434af7df28 Minor code reorganization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34526 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 15:16:23 +00:00
Richard Heck
25e960b8fd Thought I'd committed this. Anyway, missing from earlier commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34525 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 15:00:33 +00:00
Enrico Forestieri
8c3f887f57 We have the magic keyword ObsoletedBy which allows renaming styles
(thanks JMarc for pointing out it)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34514 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 13:17:36 +00:00
Enrico Forestieri
9bf8fc7feb When Publisher was changed to Publication, the template was not updated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34513 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 13:01:15 +00:00
Enrico Forestieri
d8bebfa274 This should have gone in r34508
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34512 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 12:17:00 +00:00
Peter Kümmel
fb95caf883 cmake: Install under Windows into folder 'Resources'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34509 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 09:49:06 +00:00
Enrico Forestieri
35bb683a35 Preserve compatibility with old documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34508 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 09:27:23 +00:00
Uwe Stöhr
a0751f03b5 IEEEtran.layout: re-add lyxmacros.inc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34507 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 23:57:25 +00:00
Enrico Forestieri
3450dbaa49 Maybe this is more meaningful.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34504 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 21:09:52 +00:00
Pavel Sanda
507675c270 Change toolbar tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34503 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 15:14:47 +00:00
Pavel Sanda
97a4fba293 Add some info to manual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34502 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 12:22:02 +00:00
Pavel Sanda
85d9812dcc Move hints from designer to code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34501 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:53:58 +00:00
Pavel Sanda
012a1c805a Forgot on makefiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34500 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:38:40 +00:00
Pavel Sanda
053b905e08 Add output_sync icon to view/update toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:36:02 +00:00
Pavel Sanda
9f9104d9c4 Introduce output_sync ui for forward/reverse search
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34498 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:36:00 +00:00
Pavel Sanda
43939fbb65 Comment also to the trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 22:07:30 +00:00
Richard Heck
6ab1209855 Update the format of some manuals.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34493 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 19:42:47 +00:00
Richard Heck
cfce27108c Output these params only when they are not default. (In the case of
html_latex_*, we'll put the default elsewhere.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34492 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 19:38:14 +00:00
Richard Heck
b174e5616e Simplify storage of html_latex_* info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34491 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 19:34:43 +00:00
Peter Kümmel
07d0ccfdc7 remove explicit boost::ref call
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34489 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 15:21:17 +00:00
Peter Kümmel
52c51e5485 msvc10 work around: use complete std:numpunct<char> implementation otherwise it crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34488 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 15:17:08 +00:00
Pavel Sanda
555df7e2a1 *doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34487 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 13:38:15 +00:00
Uwe Stöhr
508b2b5955 IEEEtran.layout: fix typo (the IEEEtran documentation was misleading)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34483 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 11:43:30 +00:00
Jürgen Spitzmüller
b28b6753fd * de.po: some spelling fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34477 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 09:20:35 +00:00
Uwe Stöhr
0176f8e04c InsetBox.cpp: fix #4776; the additional \makebox is superfluous because \makebox and \framebox are equivalent, except that the latter draws a frame
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34472 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 18:13:23 +00:00
Uwe Stöhr
643803d0e2 GuiBox.cpp: fix #6721
Also for branch?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34471 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 16:36:06 +00:00
Uwe Stöhr
f815c14b32 IEEEtran.layout: fix typo in comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 12:31:33 +00:00
Pavel Sanda
d7b88d3f5b Fix doxy generation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34463 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 11:25:18 +00:00