Commit Graph

23512 Commits

Author SHA1 Message Date
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
Uwe Stöhr
af1cb8f989 French Tutorial.lyx: translations from Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33126 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 22:56:22 +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
c7c49c46ee Documentation for PrettyFormat.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33123 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 22:31:24 +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
66bc240240 Delete extra whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33120 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 21:11:14 +00:00
Richard Heck
9f535f5a45 Missed one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33119 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 21:01:53 +00:00
Richard Heck
b7d665da7f Update all layouts to format 22.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33118 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 21:01:07 +00:00
Richard Heck
498478a2bd Ignore quotes in lyx_pot.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33117 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:52:03 +00:00
Richard Heck
8a444512fb Fix counter formats. We have to use quotes here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33116 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:50:35 +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
d853aca254 Pretty formats for standard counters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33114 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:40:16 +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
Tommaso Cucinotta
750195fb79 Minor changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33106 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 18:16:28 +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
df3acef80f Update notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33098 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 19:44:55 +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
Enrico Forestieri
b9e7bd033c Update lyxprofile for cygwin.
* Don't use the Windows documents folder as fallback home dir
* Starting from cygwin 1.7, the charset part of the locale settings
  are honoured. The default is UTF-8
* It is no more necessary setting OUTPUT_CHARSET
* Allow per-user customization trough ~/.lyxprofile


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33094 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 18:52:35 +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
7226c955bb Oops. Forgot to save.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33087 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 17:21:42 +00:00
Jürgen Spitzmüller
46c539e30a * de/UserGuide:
- document the setup of spell checking distionaries for german and ngerman (#4657).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33086 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 17:17:25 +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
Jürgen Spitzmüller
1dffc2bc5a typo and small addition
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33081 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 11:06:22 +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
Uwe Stöhr
906e8a9b8b EmbeddedObjects.lyx: update description of multirows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33072 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 13:00:00 +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
Uwe Stöhr
e9033a732c German Tutorial.lyx: please Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33063 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 23:49:33 +00:00
Uwe Stöhr
656a7b6955 - EmbeddedObjects.lyx: avoid some LaTeX warnings (a hyperref and a dcolumn issue)
- French EmbeddedObjects.lyx: add missing paragraph that is already there in the other language version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33060 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 23:43:20 +00:00
Uwe Stöhr
2d14793959 fr.po: completed translations for trunk by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33059 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 20:47:36 +00:00
Uwe Stöhr
4baf62f4b7 de.po: some translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33058 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 20:46:20 +00:00