Commit Graph

20799 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
7ad28349ab Fix bug 4935: Scroll down below document
http://bugzilla.lyx.org/show_bug.cgi?id=4935

* GuiPrefs: Add an option to the Editing dialog.

* BufferView: Scroll below document if the option is set.

* LyXRC: Write/read the option from preferences file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28947 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:41:58 +00:00
Vincent van Ravesteijn
1bbcd403fc Fix bug 4733: Auto popup of math toolbar hides the math editor
http://bugzilla.lyx.org/show_bug.cgi?id=4733

* GuiWorkArea: This adds "buffer_view_->scrollToCursor();" to GuiWorkArea::resizeBufferView() to make sure that the cursor remains visible. 

* BufferView: Make sure that we can call the scrollToCursor function without causing a new repaint.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28946 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:27:38 +00:00
Vincent van Ravesteijn
2420f5ed1e Fix bug 4441. GuiRef: Ok button must be default.
See also:
http://www.lyx.org/trac/changeset/28784
http://www.lyx.org/trac/changeset/28726
http://bugzilla.lyx.org/show_bug.cgi?id=5695



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28940 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 13:53:01 +00:00
Jürgen Spitzmüller
88421aaeda Fix bug 5851: Branch definitions not shown in Insert>Branch menu if master is set.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28934 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:44:40 +00:00
Jürgen Spitzmüller
5be56b517a Fix bug 5827 (validate date-insert argument):
* src/support/os*.{cpp,h}:
	- new function is_valid_strftime that validates strftime arguments, 
	  OS dependant (win32 differs here)

* src/Text3.cpp:
	- use is_valid_strftime in LFUN_DATE_INSERT status check.

* src/frontends/qt4/GuiPrefs.{cpp, h}:
	- new GUI validator for strftime.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28932 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:22:54 +00:00
Jürgen Spitzmüller
e47e1cd751 * PrefPaths.ui:
- fix some "buddies" (accelerators).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28931 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 10:27:45 +00:00
Vincent van Ravesteijn
d0b6aebd39 Fix r28909: check for texted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28927 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 23:08:47 +00:00
Uwe Stöhr
1a74934610 German Intro.lyx: remove reference to Perl
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28926 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 19:10:29 +00:00
Pavel Sanda
cfb86427df * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28922 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 13:31:16 +00:00
Richard Heck
837661a255 Enhance LyX by fixing bug 5872.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28920 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 12:29:54 +00:00
Vincent van Ravesteijn
74741ca5b9 Some cleanup in InsetInclude:
* use the UpdateScope, introduced recently, to prevent the 'strange' calls to setParent which also causes the update mechanism to run,
* remove the buffer parameter of loadIfNeeded and all function,
* remove doubled code from getChildBuffer.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28919 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 00:48:32 +00:00
Uwe Stöhr
d697f88e1b Spanish Intro.lyx, Shortcuts.lyx: updates from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28918 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 00:22:19 +00:00
Vincent van Ravesteijn
b0d53e3250 Fix bug 5526: screen-recenter LFUN doesn't work
http://bugzilla.lyx.org/show_bug.cgi?id=5526

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28916 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 00:09:16 +00:00
Uwe Stöhr
468d30cac5 German Intro.lyx: fix a wrong email address
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28915 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 23:28:00 +00:00
Uwe Stöhr
1a0e2a4c8a French Intro.lyx: updates from Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28913 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 23:22:45 +00:00
Vincent van Ravesteijn
b133fa44ab Revert cs 28908: wrong fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28911 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 22:40:04 +00:00
Vincent van Ravesteijn
9d1f4a3d98 Fix bug 5435: DEPM doesn't function when leaving an inset
http://bugzilla.lyx.org/show_bug.cgi?id=5435

The code for this was already present, but was never reached.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28910 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 21:21:00 +00:00
Vincent van Ravesteijn
7ad10f7403 Fix bug 5434: DEPM not executed for PgUp/PgDown
http://bugzilla.lyx.org/show_bug.cgi?id=5434

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28909 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 21:00:34 +00:00
Vincent van Ravesteijn
06cfe568bb Fill the paragraph metrics cache before checkInsetHit is called and asserts in getPitNearY. LyX asserts when the mouse is over the buffer when it is created. Only trunk and qt4.5 (?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28908 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 20:40:43 +00:00
Uwe Stöhr
301dc22240 scons_manifest.py: update SCons according to the latest manfile changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28905 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 16:00:40 +00:00
Uwe Stöhr
254ec97f4a Spanish UserGuide.lyx: updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28903 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 15:47:05 +00:00
Uwe Stöhr
f8b67fc2bc Intro.lyx: some general updates for LyX 1.6.x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28902 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 15:46:15 +00:00
Richard Heck
b0177410b0 Make LFUN_BUFFER_NEXT and _PREVIOUS skip documents that are open
but not shown.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28900 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 14:34:42 +00:00
Vincent van Ravesteijn
08467b3ddc Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28899 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:49:52 +00:00
Richard Heck
9761d953dc Tooltips for InsetCitation. Please check if this works with RTL.
I think it should.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28896 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:23:43 +00:00
Richard Heck
a0e266734d Cache the location of an InsetInclude's associated Buffer.
Abdel says this will be OK. ;-)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28895 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:23:07 +00:00
Richard Heck
d1c255d99d Whitespace (and a commit check).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28894 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:14:24 +00:00
Abdelrazak Younes
660d86948a header ordering.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28892 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 08:31:46 +00:00
Kornel Benko
44b15b8cf1 Added unconsidered header files to the list.
Globbed the tex2lyx directory to be more robust against changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28890 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 07:02:19 +00:00
Kornel Benko
c313084ef5 Avoid modification of po-files in source tree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28888 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 06:49:49 +00:00
Lars Gullik Bjønnes
6ac551c508 Capitalize first char in word.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28887 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 02:50:42 +00:00
Lars Gullik Bjønnes
c10c6dd742 Update date
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28886 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 02:38:34 +00:00
Uwe Stöhr
a5361e431c SConstruct: fix SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28884 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 20:48:46 +00:00
Richard Heck
af68d27725 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28882 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 19:36:37 +00:00
Enrico Forestieri
350e43c482 More Ui tweaks for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28879 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 15:14:13 +00:00
Enrico Forestieri
9925d1f88a Fix reference dialog layout for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28877 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 14:14:50 +00:00
Kornel Benko
6420c5b213 autogeneration of tex2lyx.1 now from tex2lyx.1in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28875 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 11:39:38 +00:00
Jürgen Spitzmüller
8d8462afaf * GuiView.cpp (closeEvent):
- store child documents in session.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 09:31:02 +00:00
Jean-Marc Lasgouttes
a6d6c632fd Overhaul of the tex2lyx manpage
- make it autogenerated
- clean up the markup
- remove obsolete information
- try to update in general

Hopefully I did not break the markup...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28871 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 22:31:22 +00:00
Jean-Marc Lasgouttes
eb74cde19b use $version_suffix instead of $program_suffix in man pages (the later can come up as NONE)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28870 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 22:29:40 +00:00
Uwe Stöhr
69f6e6ab19 scons_manifest.py: fix sorting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28868 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 18:40:14 +00:00
Pavel Sanda
627f08f9f1 Revert r28853
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg148960.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28866 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 15:57:12 +00:00
Enrico Forestieri
aba488dea8 Fix display of release date with Qt 4.2.
In Qt 4.2, QLocale::toString(QDate, ...) returns an invalid but not empty date
when QDate is invalid. So, check whether QDate is valid before conversion.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28862 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 23:17:33 +00:00
Jean-Marc Lasgouttes
8bb055a973 fix "make check" with gcc 4.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28860 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 22:49:51 +00:00
Vincent van Ravesteijn
1a94a63db8 Adjust the comment about QFileInfo::operator==().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 22:49:11 +00:00
Richard Heck
22e1e85c8e Fix bug 1492.
Please let me know if this doesn't work right with various langauges, makes things worse, or what have you. I posted a note to devel about this but didn't get any response, so I'm guessing it's OK. If not, we'll revert it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28856 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 18:47:42 +00:00
Pavel Sanda
3f299e466b * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28854 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 13:29:45 +00:00
Pavel Sanda
e8e363338c Context-branch menu uselessly shows both open/close items.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28853 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 13:21:06 +00:00
Jean-Marc Lasgouttes
8e3a813d54 update JP Chretien's mail address
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28846 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 11:23:59 +00:00
Jean-Marc Lasgouttes
68958bd363 update to french l10n by JP Chretien
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28845 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 11:18:57 +00:00