Jürgen Spitzmüller
407b359809
* FindReplace: allow proper localization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33166 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 17:57:16 +00:00
Jürgen Spitzmüller
7746747506
* add support for the enchant spell checker (bug 6226).
...
SCons might be broken.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33157 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 15:26:38 +00:00
Richard Heck
1d6923b65b
Use the attributes MTag now takes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33149 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 21:06:44 +00:00
Richard Heck
7a32a8489a
Allow MTag to take attributes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33148 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 21:06:29 +00:00
Richard Heck
4a4ec0c96a
We do not need to extract exponents, either.
...
There may be more we do not need to do.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33147 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 21:05:53 +00:00
Richard Heck
51a388e745
We do not need to extract limits for MathML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33146 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 21:01:51 +00:00
Richard Heck
a36607b800
XHTML for InsetMathSize.
...
We now have nice output of the User's Guide.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33145 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 20:48:12 +00:00
Richard Heck
00753ae61e
Simplify InsetCitation::basicLabel() code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33143 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:58:21 +00:00
Richard Heck
9a327ccc51
Fix non-BibTeX detection of "author (year)" labels.
...
Jurgen, this one is actually for branch, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33142 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:48:53 +00:00
Richard Heck
ca40daccb0
Forgot to wrap first citation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33141 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:30:39 +00:00
Richard Heck
7cd56e334d
Output labels (1.1, etc) with the TOC.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:11:46 +00:00
Richard Heck
0ac7123011
Translate TOC title to document language, not GUI language.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33138 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:01:22 +00:00
Vincent van Ravesteijn
562f1da9c9
Fix the Compare feature. The compl_vector class shouldn't be accessed twice in one statement as it might happen that the vectors are reallocated, such that the references are not correct anymore.
...
(P.S. Compare this to the fact that you're not supposed to refer to x and ++x in one statement.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33137 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:58:55 +00:00
Richard Heck
3794f7c753
Use cached label.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33136 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:55:02 +00:00
Richard Heck
f385f7a2b2
Remove it for real now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33135 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:51:26 +00:00
Richard Heck
22efc89c79
Remove an unnecessary dependency.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33134 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:49:08 +00:00
Richard Heck
b18bfcf3cc
Kill a (public) magic boolean.
...
The point of this will become clear shortly. I hope.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33133 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:46:20 +00:00
Richard Heck
bb044b16c9
Formatting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33132 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:12:23 +00:00
Tommaso Cucinotta
dd38c54f66
Code cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33130 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 17:11:17 +00:00
Jean-Marc Lasgouttes
943a39b1e2
always close properly undo groups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33129 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 16:59:39 +00:00
Jürgen Spitzmüller
4ebc0c071e
* HunspellChecker.cpp:
...
- implement accept()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33127 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 12:47:45 +00:00
Richard Heck
4390d8e3ef
Don't show deleted stuff in output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33124 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 22:42:27 +00:00
Richard Heck
aff3907ec6
Fix output of formatted counters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33122 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 22:28:42 +00:00
Richard Heck
0568e46eea
Proper output of counters in appendix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33121 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 21:20:30 +00:00
Richard Heck
4dd9a8acf1
Partly disable pretty counter output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33115 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:50:11 +00:00
Richard Heck
c2ac70552c
Introduce a "formatted counter" for use with formatted reference during
...
XHTML output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33113 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:33:36 +00:00
Richard Heck
f1b8f4d059
Make the new argument to step() mandatory, and add a comment to
...
sgml::OpenTag().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33112 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:47:27 +00:00
Richard Heck
f2e3342983
Fix warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33111 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:46:02 +00:00
Richard Heck
caa4e94bf0
Get rid of some magic booleans in updateLabels() and related routines.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33110 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:42:12 +00:00
Richard Heck
bd95cdb734
Add OutputEnums.h. This enum will shortly replace some magic booleans
...
that have crept into my code. I'm putting it in a separate file becuase
it is going to be included in Counters.h. The other obvious places to
put it would lead to large includes in this file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33109 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:41:44 +00:00
Richard Heck
22dc345e8c
Better XHTML output for InsetRef.
...
The idea here is to implement something like \refstepcounter for LyX. We
do this by tracking the "active" counter in Counters.cpp. We also have
to track when we go in and out of environments to which counters are
local, and so on and so forth.
This all gets done in updateLabels(), but only if we are producing
output, which is why I added the output boolean a while ago.
I expect there are bugs in here, though it seems to work pretty well
with the documents I've tested.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33108 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:03:17 +00:00
Tommaso Cucinotta
be7d7df5a3
Dispatch BUFFER_SWITCH only if buffer actually changed (avoids some flickering when buffer is unchanged).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33107 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 18:18:04 +00:00
Richard Heck
37f4de4cd2
The BufferList does not know about cloned buffers, so the parent of a
...
cloned Buffer is always "unloaded" as far as the BufferList is
concerned.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33105 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 17:53:18 +00:00
Richard Heck
e12d2b8b58
Move comments to functions, not private members.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33104 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 17:51:07 +00:00
Richard Heck
cf086092e2
Add a FIXME.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33102 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:51:20 +00:00
Richard Heck
4600e6c0b8
Remove half a comment?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33101 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:29:52 +00:00
Richard Heck
43e1428dbd
Remove things to be removed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33100 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:24:46 +00:00
Richard Heck
3e654186d2
Move the StartTag, EndTag, and CompTag classes into the html namespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33099 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:08:04 +00:00
Richard Heck
1832a388c5
Collect the title for XHTML output, and use it.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33097 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 19:43:15 +00:00
Richard Heck
557c705cbb
Fix listings XHTML output: No paragraphs in there.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33096 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 19:11:12 +00:00
Jürgen Spitzmüller
3a714c6057
* ADD LFUN_SPELLING_ADD and LFUN_SPELLING_IGNORE (bug 6102).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33089 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 08:21:56 +00:00
Jean-Marc Lasgouttes
c129f0f8b3
New behaviour when using break-paragraph on an empty paragraph where
...
KeepEmpty is false:
* if depth>0, decrease depth
* if depth = 0 reset layout to standard
This implments a hopefully intuitive way of getting out of enumerations and
other environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33088 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 22:11:06 +00:00
Jürgen Spitzmüller
4506ec88ab
* Add support for aspell language varieties.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33085 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 17:02:05 +00:00
Jean-Marc Lasgouttes
6ee95e6d64
make sure that error_ is correctly initialized
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33083 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 11:50:12 +00:00
Enrico Forestieri
51d70699ef
Fix bug #5525 : Windows XP doesn't shut down with LyX open
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33077 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 23:01:48 +00:00
Enrico Forestieri
ff41842b03
Fix horizontal size of replacement combo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33075 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 16:43:17 +00:00
Jürgen Spitzmüller
9a63a02956
* InsetIndex.{cpp,h}:
...
- add index name to button label (part of #6455 ).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33074 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 14:47:45 +00:00
Jürgen Spitzmüller
56b2ee289b
* GuiSpellchecker:
...
- implement event filter and allow selection of suggestions with the keyboard
(second part of bug 6460).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33069 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 12:27:44 +00:00
Jürgen Spitzmüller
75988e1752
* Add more keyboard accelerators to the spellchecker dialog (part of bug 6460).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33065 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 10:51:32 +00:00
Jürgen Spitzmüller
95466fff15
* revert r32450 which broke polytonic Greek.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 09:52:42 +00:00
Vincent van Ravesteijn
ec96bbe429
Try to fix an assert coming from "gcc vector-index checks".
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33052 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 00:22:15 +00:00
Pavel Sanda
17e2928374
Kill LFUN_OUTLINE_DRAGMOVE.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157155.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33050 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 19:13:24 +00:00
Jean-Marc Lasgouttes
e88b91116f
remove bad and unused #include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33049 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 16:37:17 +00:00
Jean-Marc Lasgouttes
acefad32e4
Kill warning and avoid double arithmetic. Vincent, I hope I did not break something...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33048 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 16:32:05 +00:00
Jean-Marc Lasgouttes
ad55d4631f
compilation fir with qt 4.2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33047 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 14:40:00 +00:00
Peter Kümmel
70e29b2cc7
add warning about processing events
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33046 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 10:53:56 +00:00
Richard Heck
9f2e85d565
Revert r33039, which did not work at all.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33045 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 23:45:53 +00:00
Richard Heck
59c04f7096
The fortoc argument I introduced earlier should all along have gone into
...
OutputParams. So now it is there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33044 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 22:24:43 +00:00
Richard Heck
d2dc4652fa
Character styles should have MultiPar = false, by default.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33041 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 21:43:44 +00:00
Richard Heck
e0eaa73224
Minor InsetLayout cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 21:31:27 +00:00
Richard Heck
1d6b666431
Finish the output of the index for XHTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33037 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 20:01:53 +00:00
Richard Heck
c4d8a27585
Better error messages for failed conversion.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33034 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 17:11:02 +00:00
Richard Heck
22b1ef0295
Don't access empty iterators.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33033 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 17:10:40 +00:00
Enrico Forestieri
19c935ca37
Fix XHTML output on systems where char_type is not typedef'd to wchar_t.
...
See docstream.h for the explanation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33027 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 13:29:13 +00:00
Vincent van Ravesteijn
413e5da3e0
Set the hourglass cursor for the dialog while running. However, the Cancel button can always be pressed, so this one gets a normal cursor.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33024 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 01:20:14 +00:00
Pavel Sanda
51b38ee015
It seems that svn changes its implicit behaviour across versions.
...
Both commits are for branch too Juergen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33023 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 01:06:21 +00:00
Vincent van Ravesteijn
2feb843942
Compare: Adjustment of the title bar of GuiCompare is no longer needed since we have a statusbar.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33022 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 01:05:36 +00:00
Pavel Sanda
1ec5b915af
Next possibility for svn conflict in log parsing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33021 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 01:03:42 +00:00
Vincent van Ravesteijn
aa2fac50eb
Compare: Actually abort the process when cancel is pressed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33020 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 00:56:55 +00:00
Vincent van Ravesteijn
326ab92c21
Hide the Aborted and Finished messages after a few seconds.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33019 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 00:56:13 +00:00
Vincent van Ravesteijn
d378b5d8ee
Compare: Add a statusbar to the dialog and show a message every second. The message now shows at which recursion level the algorithm is and which D-path it is currently processing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33018 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 00:41:47 +00:00
Pavel Sanda
7c083bae07
ProgressView minimal horizontal size.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33017 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 21:45:48 +00:00
Pavel Sanda
5218e4ace0
ProgressView quirks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33016 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 21:45:44 +00:00
Vincent van Ravesteijn
c37bef4127
Fix (partly?) bug #6451 : Crash when interacting with buffer-dependent dialog with no buffer open.
...
It seems to be a good idea to close all buffer-dependent dialogs when there are no more buffers open. This gives the user no opportunity to call buffer-related functions and cause a crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33015 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 20:25:17 +00:00
Enrico Forestieri
23b672f83c
Query the cygdrive prefix only if the cygwin mount command is available.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33014 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 19:36:41 +00:00
Pavel Sanda
d481f75848
Move lyxerrFlush() out of singnal/slot business.
...
Under massive load of lyxerr<< messages we lose synchronization in ui
and messages get garbled into each other.
This patch helps a lot, note however that the problem is generally hard to
solve in multithreaded environment because from inside lyxerr there is no
way how to know that t1b should be bound to t1a when thread is switched in
unfortunated time and thread thread2 goes for his bussiness.
thread1 out<<t1a<<t1b<<"\n";
thread2 out<<t2a<<t2b<<"\n";
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33013 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 19:07:18 +00:00
Vincent van Ravesteijn
b9d5184979
Fix bug #6448 : Crash with invalid anchor.
...
If we check whether a cursor is valid, we should also check the anchor_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33012 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 18:57:42 +00:00
Enrico Forestieri
9f13e8c19e
Remove the no more necessary workaround for Qt < 4.4
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33010 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 13:19:24 +00:00
Richard Heck
2e349ff103
This sorts the index entries and writes each one's tags together, like:
...
AMS Math 1, 2, 3
where the numbers are links.
The only thing left to do here is to parse the index entries so that we
can do something with "this ! that" and similar things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33001 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 21:06:55 +00:00
Richard Heck
7349e6e29b
Initial work for XHTML output of the index. It just occurred to me the
...
other day that this would be easy, since the Index is in the TOC. There
is more to be done here still, though.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33000 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 20:44:39 +00:00
Richard Heck
2f728e45f8
Remove the test for "tableofcontents", since that is the only thing this
...
inset supports right now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32999 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 20:25:33 +00:00
Richard Heck
dc4e9f102a
Fix TOC output of math insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32998 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 20:24:53 +00:00
Richard Heck
50b700938b
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32997 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 20:22:07 +00:00
Richard Heck
777717c33b
Fix TOC section detection.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32995 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 19:51:32 +00:00
Richard Heck
a12cd4eedc
Simplify InsetTOC::xhtml now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32992 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 19:39:07 +00:00
Richard Heck
fdbd6064e9
New layout tag for specifying the style used for TOCs, etc, in XHTML
...
output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32991 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 19:38:31 +00:00
Jean-Marc Lasgouttes
6244d78627
fix example for notes-mutate replacement
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32988 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 17:17:40 +00:00
Pavel Sanda
01b45c0b49
Revert last patch for time being. This gives 0 vertical size of widget by default.
...
How to add some default size to be used in case no previous settings were saved?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32987 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 16:21:50 +00:00
Jean-Marc Lasgouttes
ceb50a253c
get rid of notes-mutate and explain that inset-forall can do the same
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32986 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:54:33 +00:00
Pavel Sanda
26255aeaa5
No vertical restrictions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32985 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:45:32 +00:00
Vincent van Ravesteijn
1fd7e3fe11
Change the ProgressView strings:
...
- I18n the window title,
- it's unnecessary for a window to have window in its title,
- adjust casing,
- do not use show in the view menu,
- sync window title and menu entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32984 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:35:52 +00:00
Richard Heck
14f8faa01a
A couple changes related to cloning:
...
(i) release the macro lock after we've cloned, so that...
(ii) we can regenerate the macro caches before doing XHTML output.
It may be worth doing the regeneration in the clone() routine itself,
but it appears that the export routines now all do it anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32983 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:25:04 +00:00
Enrico Forestieri
0b9647aafa
When activating the progress window, show the output view rather than the settings view.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32980 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 14:22:02 +00:00
Vincent van Ravesteijn
b1c905264f
Allow server-goto-row to act when no buffer is open. (The file argument is mandatory.) Part of bug #1782 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32979 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 13:48:05 +00:00
Enrico Forestieri
75e374c9a4
Allow shrinking the progress window.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32977 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 00:12:47 +00:00
Richard Heck
cb346ae202
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32976 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 19:29:33 +00:00
Richard Heck
bae9393d53
Minor re-organization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32975 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 18:25:26 +00:00
Vincent van Ravesteijn
cdd1a5d338
GuiProgressView: Always add the new text to the end of the TextEdit. This ends the mess that the messages are pretty randomly inserted wherever the cursor is accidentally put.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32974 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 18:04:51 +00:00
Vincent van Ravesteijn
8c0cdb40d7
Better debug message.
...
P.S. Why is this message shown twice when switching between tabs ?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32973 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 18:01:36 +00:00
Richard Heck
ce87e6767c
Check the bibliography cache only when we really need to do so. This (a)
...
prevents weirdness that might happen if the .bib file were to change
during updateLabels(), (b) prevents even further weirdness that might
happen if it changed during the output routines, and (c) ought to avoid
slowness caused by the repeated calls to QFileInfo::refresh() needed to
check the cache status.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32972 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:29:26 +00:00
Richard Heck
782db81f77
Author-year citations for XHTML output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32969 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:11:55 +00:00
Jürgen Spitzmüller
374b5ebd72
Hopefully fix ProgressView layout for Qt 4.2.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32968 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:10:43 +00:00
Pavel Sanda
76951f84fb
Add comments
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32967 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:09:11 +00:00
Jean-Marc Lasgouttes
1aa7e9f93b
remove unnecessary code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32966 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:01:26 +00:00
Jean-Marc Lasgouttes
a00fbcd871
get rid of next-inset-modify ; inset-modify does the same now
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32965 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 15:50:07 +00:00
Jean-Marc Lasgouttes
0553351d71
compile fix for qt<4.4
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32964 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 14:34:14 +00:00
Jürgen Spitzmüller
ca23c482f0
* GuiProgressView.cpp: i18n.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32963 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 07:35:18 +00:00
Jürgen Spitzmüller
8d0378b75d
Proposal for a more structured UI.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32962 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 07:30:45 +00:00
Tommaso Cucinotta
ddebdc4514
Now the local text language is kept while replacing text (addressing #6171 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32961 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 02:20:51 +00:00
Enrico Forestieri
8c11a45b99
Don't use a hourglass cursor while diplaying alerts.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32960 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 01:27:15 +00:00
Tommaso Cucinotta
62053efc70
Added hourglass cursor while searching.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32958 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 23:54:45 +00:00
Vincent van Ravesteijn
ce6aa0d8d3
CaMeLbUmP all function names, private or not.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32957 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 21:55:11 +00:00
Pavel Sanda
ddfb49a4f0
Part of r32942. We want to avoid reload flickering when
...
user canceled commiting dialog.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg156936.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32956 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 21:18:41 +00:00
Richard Heck
5261a21e72
Whitespace and typo fix. (That meant: "After LyX presses OK, it will re-
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32954 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:40:48 +00:00
Richard Heck
bafb725487
Declare focusInEvent so we can compile.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32953 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:37:08 +00:00
Vincent van Ravesteijn
72c42b0624
Fix bug #6431 : Crash when closing a workarea with a pending completion popup.
...
The GuiCompleter has to have a parent, otherwise it is not destroyed when a GuiWorkArea is destroyed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32952 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:33:18 +00:00
Tommaso Cucinotta
bf6a32bab4
Fixed #6335 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32949 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:08:41 +00:00
Pavel Sanda
b13ec49005
One more comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32948 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 18:14:50 +00:00
Pavel Sanda
7cfc541c63
Move it to the context of others lfuns.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32946 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 16:50:30 +00:00
Pavel Sanda
5026c87e4c
Add doxy samples from commit info.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32945 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 16:50:25 +00:00
Pavel Sanda
a4c95c5b3b
This patch from Richard was correct.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32942 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 15:47:40 +00:00
Jürgen Spitzmüller
8214670316
* InsetInclude{.cpp, h}:
...
- indicate if a child document has been un-included (via the includeonly feature).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32941 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 15:10:40 +00:00
Jürgen Spitzmüller
e2925a160f
* PanelStack.{cpp,h}:
...
- new members showPanel, isCurrentPanel
* GuiDocument.cpp:
- hide Child Documents panel if there are no children.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32940 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 14:46:39 +00:00
Tommaso Cucinotta
902dbf3f13
Now find/replace WAs have their focus back when switching to advanced pane, then back.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32939 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 14:02:27 +00:00
Vincent van Ravesteijn
715b1303da
Optimize DocRange::length(). Thanks Abdel.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32938 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:55:42 +00:00
Vincent van Ravesteijn
fd0dfe1b79
Readd comment and squeeze warning.
...
Is gcc quiet too now ?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32937 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:54:06 +00:00
Jürgen Spitzmüller
7a7ab8f14b
Add an option to assure that all aux files are maintained when using the includeonly feature, so that the
...
page numbering and the references of the master file are maintained in the included children (bug 1005).
I made this optional since some people use \includeonly to save compilation time, but a proper aux file update
needs a full compilation of the complete master prior to the compilation of the \includeonly master.
Hence, a new buffer param is introduced (file format change).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32936 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:25:41 +00:00
Vincent van Ravesteijn
93510f741c
Use the operator[] to get and set the values of the compl_vector.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32935 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:17:10 +00:00
Vincent van Ravesteijn
43c8de8138
Cosmetics mainly: Rename math.h to cmath, reorder some includes, remove some includes and remove some superfluous "lyx::".
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32934 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 12:37:50 +00:00
Tommaso Cucinotta
50a69279ee
Let trunk compile.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32932 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 10:27:00 +00:00
Vincent van Ravesteijn
c3d5ba4e91
Remove some debug info that renders trunk uncompilable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 00:17:40 +00:00
Vincent van Ravesteijn
9cfebdb969
Compare feature part 3: Implement the find_middle_snake algorithm.
...
The feature should now be up and running, although it might have some performance issues. Please test with small changes :S as it scales quadratic with the size of a single change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32930 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 00:09:48 +00:00
Vincent van Ravesteijn
1fe4ff8ef3
Add a vector class that can be referenced with both positive and negative indices. It is internally represented as two vectors, one for non-zero indices and one for negative indices. In this way, the vector can grow in both directions. If an index is not available in the vector, the default value is returned. If an object is put in the vector beyond its size, the empty spots in between are also filled with the default value.
...
I hope I'm not reinventing the wheel too much here. This might change anyway if this appears to be a performance bottleneck.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32929 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 00:06:02 +00:00
Vincent van Ravesteijn
6bb8b55156
Compare: cosmetics and comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32928 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 23:59:33 +00:00
Vincent van Ravesteijn
c49dea81a9
Compare: simplify the step functions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32927 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 23:56:46 +00:00
Vincent van Ravesteijn
28b0075b11
No more magic booleans. The word of Andre is spreading.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32926 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 22:58:20 +00:00
Tommaso Cucinotta
33e123a5cd
Added ALL_MANUALS scope to Advanced Find & Replace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32925 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 22:49:35 +00:00
Richard Heck
389f85c038
Move the anonymous functions that are left closer to where they are now
...
used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 22:30:56 +00:00
Richard Heck
62b23ac0be
Make the complexLabel and basicLabel functions in InsetCitation into
...
private member functions. This will be useful later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32923 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 22:30:12 +00:00
Vincent van Ravesteijn
68edfdafc3
Unify traverse_snake_back and traverse_snake_forw and make it more general for future purposes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32922 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 21:17:10 +00:00
Abdelrazak Younes
e4e43f63d2
Buffer cloning: copy the different bib caches.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32920 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 18:16:07 +00:00
Vincent van Ravesteijn
5477b5a570
Small optimization in Compare::Impl::equal().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32916 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 16:58:55 +00:00
Richard Heck
833e7085dd
A little cleanup of some of the BibTeX info access.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32915 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 16:57:08 +00:00
Vincent van Ravesteijn
f223e4ff63
Minor changes in Changes.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32914 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 16:51:51 +00:00
Abdelrazak Younes
fefd99e836
Fix memory leak.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32913 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 16:21:37 +00:00
Richard Heck
a397cc81c2
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32912 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 16:15:46 +00:00
Abdelrazak Younes
62d11f1f3b
Fix previous commit DocIterator::clone() was completely bogus, I wonder how it even worked...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32911 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 15:41:07 +00:00
Abdelrazak Younes
cda980db51
Fix multipart document background compilation. I am not fully satisfied with this solution (see FIXME in Buffer::clone()). There might be some memory leaks...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32910 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 14:47:47 +00:00
Vincent van Ravesteijn
ecc2b2f2e0
Make the auto-completion case-insensitive.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32909 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 14:16:42 +00:00
Vincent van Ravesteijn
7ef85f0d0a
Revert the unintended changes of r32905.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32908 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 13:40:37 +00:00
Tommaso Cucinotta
fb4dfdf189
Implemented "whose words" option of the Advanced F&R feature.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32905 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 12:39:29 +00:00
Richard Heck
1a2d8e6e25
Revert r32881.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32899 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 20:13:48 +00:00
Vincent van Ravesteijn
907ac0c1a8
Let the background widget also dispatch the keypresses to guiApp. Now, the Alt-? shortcuts (e.g., Alt-X for the minibuffer) also works when there is no document open. Besides the code is slightly simpler.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32898 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 20:08:48 +00:00
Richard Heck
403dccbf23
No output for nocite citations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32897 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:49:32 +00:00
Vincent van Ravesteijn
e0a6a7a542
Move some code from Buffer::loadLyXFile to LyXVC::file_not_found_hook. Accoring to the description of the latter, this should already be the case.
...
Furthermore, make sure that the read-only flag is always set to both true and false, since now the buffer can be read-only during a reload.
Last, set the buffer clean after a successful reload.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32896 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:48:36 +00:00
Richard Heck
67ddc3944c
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32895 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:46:09 +00:00
Richard Heck
fab1494f49
Output keys with bibliography, too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:38:10 +00:00
Richard Heck
c90b4fcb87
Use calculated labels in XHTML output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32892 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:19:37 +00:00
Richard Heck
2098f1d8c2
Routines for calculating numerical labels for BibTeX citations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:19:13 +00:00
Richard Heck
295b84e8fb
Fix a BibTeX caching bug. Because we only set the last modified time
...
when the cache was valid, we did not set it the first time through and
so always read the cache twice.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:18:05 +00:00
Richard Heck
5214a9271c
Unnecessary whitespace is bad in XHTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32888 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:13:07 +00:00
Richard Heck
012be55afd
Move the collection of citations and sorting routines into BiblioInfo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32887 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 16:40:41 +00:00
Enrico Forestieri
9da28dca29
Add support for the newly released Cygwin 1.7.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32886 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 16:21:43 +00:00
Jean-Marc Lasgouttes
b692466769
set max number of iterations to 10000 in inset-forall ; try to keep the cursor where it was (I am not sure that the effect of fixIfBroken seems natural though)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32885 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 15:57:25 +00:00
Richard Heck
58505db819
Remove unused UI file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:54:35 +00:00
Richard Heck
eeb1c45edb
Typos etc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32882 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:38:31 +00:00
Richard Heck
c615a2eeea
Do not reload on check-in if check-in is cancelled.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:38:15 +00:00
Tommaso Cucinotta
95cf410456
Removed unneeded assert firing when closing LyX with F&R WA selected.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32879 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:32:25 +00:00
Tommaso Cucinotta
090435cf27
Let the LyX logo show up when closing last document with the F&R dialog open.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32878 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:29:17 +00:00
Abdelrazak Younes
cf3baab621
On the road to fix #6415 . The texrow object contains the correspondance
...
table between tex rows and the lyx paragraph ids.
Not fixed yet it seems as the texrow object do not copy correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32876 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:00:28 +00:00
Vincent van Ravesteijn
d95aaa0e5b
Move reloadBuffer from GuiView to Buffer.
...
This fixes bug #6314 : reloading master document makes emergencies of modified children.
Now also the version control handling could be moved to Buffer as well, and the hack in ensureBufferClean is removed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32875 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:15:56 +00:00
Vincent van Ravesteijn
570f96bc6e
Add a boolean to GuiWorkArea::redraw to indicate whether the metrics must be updated. The current test "lyx_view_ != guiApp->currentView() || lyx_view_->currentWorkArea() != this" is not enough, especially not if the buffer is changed and buffer->changed() is called. Moreover, there are a lot of combinations of updateMetrics() followed by buffer->changed(), these can now be replaced by one call to buffer->changed(bool).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32874 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:03:54 +00:00
Vincent van Ravesteijn
41270b98b4
typo ?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32873 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 01:51:52 +00:00
Tommaso Cucinotta
3f1c690723
Prevent display of meaningless internal buffer title(s) to the user
...
(e.g., while entering text to find in the F&R WA, window title keeps
showing the filename of the document where matches are searched for).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 19:54:42 +00:00
Pavel Sanda
60ea64c67f
Never get this right
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32850 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:33:45 +00:00
Richard Heck
ebfb4c09ad
Make the float interface for XHTML consistent with the others.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32846 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:04 +00:00
Pavel Sanda
aec9fc1c5b
Next comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32845 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:27:58 +00:00
Pavel Sanda
d753f2b25a
Document this hack before forgeting the purpose
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32844 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:15:26 +00:00
Pavel Sanda
532ab0fb1b
Some comments
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32842 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:06:51 +00:00
Pavel Sanda
9d5750e01b
Fix typo spotted by Vincent
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32841 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:06:48 +00:00
Vincent van Ravesteijn
fc91b00bc8
*VCBackend: Code simplification, constify, and adding an article.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32840 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:02:02 +00:00
Enrico Forestieri
5ea9ace195
Give the progress widget a minimum height.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:39:17 +00:00
Pavel Sanda
346da75166
LFuns generation is currently sensitive to tabs in the descriptions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32837 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:37:38 +00:00
Enrico Forestieri
3e00591082
This workaround is also needed for Qt 4.3 as the bug was fixed in Qt 4.4.0:
...
http://qt.nokia.com/developer/task-tracker/index_html?method=entry&id=101276
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32836 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:32:33 +00:00
Pavel Sanda
e21867818e
Fix crash
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:26:52 +00:00
Jean-Marc Lasgouttes
f2e6a5ecf8
Implement new inset-forall lfun. This function iterates over all insets in
...
current buffer and applies a given function at cursor position before the
inset. It is actually possible to filter on the type of inset.
Remove all index insets:
inset-forall Index delete-char-forward
Remove all (!!) insets:
inset-forall * delete-char-forward
Close all Notes (also works for a particular branch, for example)
inset-forall Note inset-toggle close
Close only yellow sticky notes
inset-forall Note:Note inset-toggle close
Of course, things may become weird:
Put LyX in an infinite loop if there is at least a Note
inset-forall Note char-backward
In this case, the code will stop after 1000 iterations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32834 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 15:47:58 +00:00
Enrico Forestieri
d555c5c7bc
Really fix F&R ui for older Qt versions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32833 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 15:19:36 +00:00
Vincent van Ravesteijn
785418bd2b
Correct ugly/wrong code introduced in r32738. parent will never be equal to buf.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32831 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 14:25:15 +00:00
Jean-Marc Lasgouttes
a6b3f1e42d
avoid a few warnings on qt<=4.4
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32830 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 14:20:58 +00:00
Jürgen Spitzmüller
1c18269406
* LaTeX.cpp: update comment + typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32827 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 11:46:23 +00:00
Jürgen Spitzmüller
1ccfe14914
* Add native support for \includeonly (bug 5360).
...
File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32826 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 10:01:26 +00:00
Enrico Forestieri
df2ad29d02
Fix the progress ui for Qt 4.2.x.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32824 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 03:22:45 +00:00
Enrico Forestieri
e46aee81c5
Fix the progress ui for Qt 4.3.x. It now compiles also with Qt 4.2.x but
...
the settings window needs some other adjustment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32823 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 02:19:21 +00:00
Enrico Forestieri
59f9c2f605
Fix F&R ui for older Qt versions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32822 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 01:59:38 +00:00
Peter Kümmel
1ba707e9e7
at least compile with old Qt versions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32812 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:25:43 +00:00
Richard Heck
c216adead9
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32804 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:13:07 +00:00
Richard Heck
175973629b
Move into proper scope.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32803 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:12:54 +00:00
Richard Heck
00087d0537
A couple comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32796 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:25:12 +00:00
Tommaso Cucinotta
78874e5f27
When zooming in/out with [Ctrl] + [Mouse Wheel], document WA's font is immediately updated, but if the Advanced F&R dialog is shown, its own WAs' font (find WA and replace WA) is not immediately updated, but delayed until the next editing action.
...
This commit fixes such behaviour, and performs the update immediately.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 18:36:13 +00:00
Vincent van Ravesteijn
c22298c97b
Fix bug #6387 : Incorrect selectlanguage command at end of document.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32792 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 17:36:22 +00:00