Commit Graph

20952 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
e207b0250f Make sure that the document is only scrolled to the cursor when the cursor is/was visible before resizing .
Resizing can occur by toggling toolbars (bug 4733), or by creating or closing buffers which causes the tabbar to toggle (e.g. bug 4174, comment 5).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29066 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 21:39:06 +00:00
Vincent van Ravesteijn
4ec167330f Store the autosave file in the default document path as long as the document is 'unnamed'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29065 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 20:07:43 +00:00
Pavel Sanda
b0a22252c7 * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29059 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 17:39:31 +00:00
Pavel Sanda
3805ce4ab8 Add to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29058 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 17:05:49 +00:00
Pavel Sanda
5806be1528 Fix bug http://www.lyx.org/trac/ticket/5812
(Icons replacement broken)

Patch from Martin Engbers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29057 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 17:00:09 +00:00
Richard Heck
46c5596462 Add a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29056 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 16:04:45 +00:00
Jean-Marc Lasgouttes
ac62d4ef94 get rid of old --enable-monolithic-foo options; document new option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29055 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 14:32:40 +00:00
Pavel Sanda
74691fa0ef trunk too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29054 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 13:15:48 +00:00
Jürgen Spitzmüller
eb65afe226 * unicodesymbols: support capital <ß>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29051 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 12:26:08 +00:00
Jürgen Spitzmüller
49fdaa8507 Buffer.cpp:
- re-assign a master's children if a child was reloaded (bug 5873)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29046 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 11:07:53 +00:00
Richard Heck
c8d03a4d81 Fix bug 5859.
http://www.lyx.org/trac/ticket/5859



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29037 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 00:44:33 +00:00
Vincent van Ravesteijn
e90b43444a Fix bug 4067: Incorrect indentation in Description environment
http://www.lyx.org/trac/ticket/4067

If we are in the first pos, we are never in the body and always in the label.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29033 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 21:36:30 +00:00
Richard Heck
404f1dc80a Whoops. I somehow undid the reordering with that last commit. Anyway,
this fixes that again.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29020 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 18:59:25 +00:00
Richard Heck
62beaaa37f There are too many things here named `table'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29019 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 18:57:19 +00:00
Richard Heck
ab0d757bed Just re-ordering stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29018 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 18:51:38 +00:00
Richard Heck
275c9cde02 Fix crash when hitting delete key once more after deleting
all the keystrokes associated with an LFUN in the shortcut
dialog.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29017 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 18:19:33 +00:00
Richard Heck
be0991288a Now these don't have to be public.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29016 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 15:56:12 +00:00
Richard Heck
9098af80aa Clean up a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29015 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 15:53:23 +00:00
Jean-Marc Lasgouttes
2b9cf569da Output doxygen stuff in build directory by default. It is however possible
to change the output dorectory by using
make OUTPUT_DIR=/my/path doxydoc

Please test.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29011 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 09:02:50 +00:00
Uwe Stöhr
c36e53c0c0 Math.lyx: revert r28985, my fault, the requirement of xargs cannot be undone
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29010 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 00:48:03 +00:00
Uwe Stöhr
720a707113 Indonesian Intro.lyx: new translation from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29008 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 00:12:55 +00:00
Uwe Stöhr
ecf23703c7 Spanish Math.lyx, UserGuide.lyx: some fixes from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29006 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 23:57:38 +00:00
Vincent van Ravesteijn
cdaefbf484 GuiViewsource:
* Revert cs 28992 and do something better to fix the bug that the view source window remains disabled forever when autoUpdate is not checked and the view source window gets disabled or LyX is closed.
* Update the source window, when autoUpdate checkbox is toggled.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28999 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 20:32:26 +00:00
Vincent van Ravesteijn
14d0e66eae Fix bug that the view source window remains disabled forever when autoUpdate is not checked and the view source window gets disabled or LyX is closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28992 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 15:29:51 +00:00
Jean-Marc Lasgouttes
c0ad52551d introduce new --enable-monolithic-build configure option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28991 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 14:53:29 +00:00
Jean-Marc Lasgouttes
67bafed7bb Mark status of branches in the Button. This uses two dingbat symbols (check
and cross). I'll revert if people do not like it (otherwise it is candidate
for branch).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28988 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 10:31:28 +00:00
Jean-Marc Lasgouttes
6c422712e1 Extend the branch-(de)activate functions to work without a parameter. In
this case, when the cursor is on a branch inset (using the AtPoint mechanism)
the branch to which the branch inset belongs will be (de)activated.

This functionality can now be used through the branch inset context menu



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28987 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 09:38:07 +00:00
Kornel Benko
f5a3bd7c37 Update my credit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28986 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 09:02:13 +00:00
Uwe Stöhr
c3530d67bb Math.lyx: add workaround that this manual can be compiled also without having the package xargs installed (several users struggled about that)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28985 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 01:00:51 +00:00
Uwe Stöhr
762cde0a68 French Shortcuts.lyx: new translation from Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28982 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 23:56:30 +00:00
Enrico Forestieri
d786fa0ab8 Partly revert r28731 (see discussion in bug 5836).
Essentially, it is not true that Cyrillic characters in math are to be typeset
in italic by default, and LyX already permits to style them as desired. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28981 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 22:40:27 +00:00
Jean-Marc Lasgouttes
30afece93d Kill next-inset-toggle and expand inset-toggle to provide the same functionality
* src/LyXAction.h: introduce new function attribute AtPoint: this is 
	for lfuns that should first look at cursor postion whether there
	is an inset, before dispatching to container inset.
	* src/LyXAction.cpp: remove LFUN_NEXT_INSET_TOGGLE; 
	mark LFUN_INSET_TOGGLE as AtPoint.
	* src/BufferView.cpp (dispatch, getStatus): remove handling of
	LFUN_NEXT_INSET_TOGGLE.
	* src/LyXFunc.cpp (dispatch, getStatus): handle functions marked 
	AtPoint.	
	* lib/*/*: replace next-inset-toggle with inset-toggle.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28980 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 13:49:52 +00:00
Jean-Marc Lasgouttes
827c72e1f5 Simplify and fix the TOGGLE_INSET code for branch inset. If it turns out
that the extra complexity was intended, I would be interested to know
what the idea was.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28979 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 12:45:33 +00:00
Jean-Marc Lasgouttes
3030a279ac fix two compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28978 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 10:36:05 +00:00
Abdelrazak Younes
26bb1474f3 gcc compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28977 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 07:44:01 +00:00
Uwe Stöhr
8b96731805 math.cpp: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28976 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 01:43:40 +00:00
Abdelrazak Younes
a7dfd5796f Simplifications
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28975 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 21:35:37 +00:00
Abdelrazak Younes
34bddccb13 * Singleton-ify the used SpellChecker object.
* Simplify Aspell construction as the object is capable of supporting multiple languages at the same time.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28974 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 21:18:16 +00:00
Abdelrazak Younes
29c40527e5 Put the foundations to support continuous spell checking.
* Font: new misspelled_ member.
* GuiPrefs/PrefSpellchecker: new check box to enable/disable continuous spellcheck.
* LyXRC: new spellcheck_continuously parameter.
* RowPainter: new paintMisspelledMark() method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28973 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 19:57:30 +00:00
Abdelrazak Younes
1141ccb997 * rename SpellBase to SpellChecker
* make it a pure virtual interface
* delete alive() method as this one is not useful anymore since we killed ispell support.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28972 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 19:49:52 +00:00
Uwe Stöhr
882d0a3867 EmbeddedObjects.lyx: fix image file names
German UserGuide.lyx: update from Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28971 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 17:16:54 +00:00
Kornel Benko
1f582e9490 Adapt to some new configuration strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28967 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 07:33:54 +00:00
Vincent van Ravesteijn
da242ecd12 Prevent assertion with command 'buffer-switch xxx' in which xxx is not the name of a loaded buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28966 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 02:29:15 +00:00
Abdelrazak Younes
966ea2752e Buffer::nextWord(): simplify a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28964 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 19:08:38 +00:00
Abdelrazak Younes
1ec0b390f5 Transfer some general code from GuiSpellchecker to Buffer and DocIterator.
* Buffer::nextWord(): new method to search for next word.
* DocIterator.cpp: new function isLetter() moved from GuiSpellchecker.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28963 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 19:02:49 +00:00
Abdelrazak Younes
6ae860a59d Forgot that in previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28962 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 17:33:20 +00:00
Abdelrazak Younes
dc1d8af9a2 Painter::wavyHorizontalLine(): new method for inline spellcheck purpose.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28961 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 16:37:28 +00:00
Vincent van Ravesteijn
b2e3355bf5 Preferences dialog fixes:
* accelerator clashes,
* missing accelerators, and
* strings (capitalization). 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28960 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 13:13:13 +00:00
Jürgen Spitzmüller
5a4e4dec15 Fix bug 5863:
* beamer.layout:
* powerdot.layout:
	- those provide geometry

* BufferParams.cpp:
* GuiDocument.cpp:
	- implement provides("geometry")

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28957 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:48:16 +00:00
Jürgen Spitzmüller
32875625c8 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28956 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:45:24 +00:00