Commit Graph

13521 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
65ccd2f7b4 add chinese to the list of known languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19030 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 16:13:44 +00:00
Abdelrazak Younes
6c15c36495 This patch revert part of the code changed in revision 18825. This is needed because there is no lyx_view_ when exporting at the command-line: LFUN_BUFFER_CHILD_OPEN uses LyXView::loadLyXFile() in GUI mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19029 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 15:07:00 +00:00
Jean-Marc Lasgouttes
c4769a4d4c a few comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19027 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 12:48:04 +00:00
Jean-Marc Lasgouttes
1d51120eb4 Restore the persistent selection feature (disabled because of bug 3877)
See also http://www.lyx.org/trac/changeset/19003

	* BufferView.cpp (setBuffer): save selection before switching buffer
	(mouseSetCursor): save selection before resetting it
	(putSelectionAt): no need to save selection

	* Cursor.cpp (selHandle): save selection before resetting it

	* CutAndPaste.cpp (cutSelection, eraseSelection): save selection before
	deleting it.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19026 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 12:44:19 +00:00
Jean-Marc Lasgouttes
f4b65f4e96 * Text3.cpp (doDispatch): fix the behaviour of word-delete-forward,
word-delete-backward and line-delete when there is a selection.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19025 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 12:20:00 +00:00
Jean-Marc Lasgouttes
ae9dad1770 remove obsolete references to saveSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 10:54:42 +00:00
Jürgen Spitzmüller
c1bbe62b53 fix bug 3819 (patch from Georg Baum):
* src/ConverterCache:
	- fix handling of movers
	- handle pstex/pdftex files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19023 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 09:13:21 +00:00
Uwe Stöhr
f0b3234596 README, README.localization: Updates and clarifications from Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19022 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 01:01:05 +00:00
Michael Schmitt
635004c6a6 * po/de.po: fix two fuzzy messages - de.po is ready for 1.5.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19021 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 21:15:21 +00:00
Michael Schmitt
51332051c0 * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19020 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 21:08:20 +00:00
Michael Schmitt
7f74d469a4 * src/Author.h:
* src/Changes.cpp:
	* src/support/userinfo.cpp:
	* src/Paragraph.cpp:
	* src/Changes.h:
	* src/Buffer.cpp:
	* src/Paragraph.h:
	* src/BufferParams.cpp: do not save the name of authors
	in LyX documents, who have not made a single change in 
	change tracking mode


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 20:52:34 +00:00
Michael Schmitt
39cf8bcf16 * src/frontends/LyXView.h:
* src/frontends/Toolbars.cpp:
	* src/frontends/qt4/QLToolbar.cpp:
	* src/frontends/LyXView.cpp:
	* src/frontends/Toolbars.h:
	* src/LyXFunc.cpp:
	* src/ToolbarBackend.cpp:
	* src/ToolbarBackend.h: fix toolbar issues: translate toolbar name
	in user message; check for ill-formed toolbars in UI files; output
	reasonable error messages in case of erroneous toolbar names


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 20:33:32 +00:00
Michael Schmitt
1f2f2892c4 * src/frontends/qt4/QParagraph.cpp:
* src/frontends/qt4/QParagraph.h: fix untranslateable label in the
	paragraph dialog


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19017 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 19:01:27 +00:00
Dov Feldstern
72535633e3 Fix bug 3889 (justification of Bidi text in the GUI)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19016 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 17:18:35 +00:00
Abdelrazak Younes
19e12e5fab Fix crash when closing a child document after having played with the Preference dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19015 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 16:52:09 +00:00
Bo Peng
c68653e0ad more simplied Chinese translations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19014 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 16:33:51 +00:00
Jean-Marc Lasgouttes
625a4b7849 * insets/InsetExternal.cpp (InsetExternalParams): use the first
defined template as default instead of RasterImage (bug 3983)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19013 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 10:56:49 +00:00
Enrico Forestieri
9720992369 Don't use locale facilities for sorting on systems which don't have
support for wchar_t and are missing proper locale facets.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19012 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 10:54:28 +00:00
Abdelrazak Younes
e567f1aff2 Fix 3992: Screen update problem in change tracking mode
http://bugzilla.lyx.org/show_bug.cgi?id=3992 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19010 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 10:32:28 +00:00
Abdelrazak Younes
0c80805287 Fix bug 3990: Wrong Paste Message between document with different Document Style
http://bugzilla.lyx.org/show_bug.cgi?id=3990


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19008 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 10:01:57 +00:00
Uwe Stöhr
fb77c3681e cs.po: translation updates from Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19007 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-08 23:39:34 +00:00
Uwe Stöhr
620908139e Czech Tutorial.lyx: updates from Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19006 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-08 23:35:23 +00:00
Michael Schmitt
1056b3f478 * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19005 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-07 21:45:50 +00:00
Michael Schmitt
98b921c75c * src/frontend/controllers/frontend_helpers.cpp: safety fix suggested by Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19004 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-07 11:19:39 +00:00
Bo Peng
252ec84acd Remove all saveSelection calls and unify theSelection().setSelection. This is the common, housekeeping part of JMarc's and my patches. Fixes of bug 3877 will come later
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19003 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 17:03:45 +00:00
Abdelrazak Younes
2caa734edf revert the obviously incorrect fix of rev. 19001.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19002 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 15:50:39 +00:00
Abdelrazak Younes
46214d708c * lstring.cpp:
- isAscii(): char is signed with MSVC so the comparison was not correct. Add a static_cast to "unsigned char" as per the other methods.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19001 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 14:43:18 +00:00
Uwe Stöhr
9051f93625 UserGuide: remove outdated hint to have the packages "umlaute" and "german" installed. You don't need them and thanks to our unicodesymbols list you can insert the French guillemets directly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18996 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 00:49:52 +00:00
Uwe Stöhr
d4fb110865 lyx_1_5.py: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18995 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 00:30:29 +00:00
Dov Feldstern
be01974475 Fix "default" encoding to match "auto" encoding except for the actual output
of \inputencoding commands, which are not needed in some cases (e.g., Hebrew 
with ivritex).

This fixes some of the remaining problems (but not all) from bug 3613 (namely, http://bugzilla.lyx.org/show_bug.cgi?id=3613#c9).
See also some example files fixed by this in http://permalink.gmane.org/gmane.editors.lyx.devel/88805 .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18994 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 19:19:41 +00:00
Dov Feldstern
a4c5f67f5e Set a newly created inset's font/language to the current font/language.
Fixes http://bugzilla.lyx.org/show_bug.cgi?id=3959


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18993 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 17:47:25 +00:00
Jürgen Spitzmüller
c6f4e95d55 * src/frontends/controllers/frontend_helpers.cpp Family name):
- don't try to trim after a dot that is the last character in the name
	  (fixes crash, bug 3981)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18992 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 16:11:44 +00:00
Jürgen Spitzmüller
7562340249 fix unicode decomposition (bugs 3313 and 3498):
* src/support/docstring.{cpp,h}:
	- rename normalize_kc to normalize_c and use normalization form C (instead of KC)

* src/callback.cpp:
* src/Trans.cpp:
* src/frontends/qt4/GuiClipboard.cpp:
* src/frontends/qt4/GuiSelection.cpp:
* lib/lyx2lyx/lyx_1_5.py:
	- use normalization forms C and D instead of KC and KD.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 14:45:00 +00:00
Jean-Marc Lasgouttes
180c6ac05f some proofreading by Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18990 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 13:49:56 +00:00
Jean-Marc Lasgouttes
76cefef380 Patch from Pavel Sanda
* frontend_helpers.cpp (Sorter): use the current locale for sorting 
	(bug 2739)

	* frontend_helpers.cpp: cleanup headers.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18988 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 10:40:00 +00:00
Abdelrazak Younes
8524ee93c3 Possibly fix this bug:
To reproduce:
1) Press Cntl-N (start new file)
2) Press Alt-I, I, B (insert TOC from BibTeX)
3) Press Alt-A (Add...)
4) Double Click test
5) Press Alt-O (OK)
6) Press Alt-I C (Insert Citation)
7) Press Alt-A (Add) 

* familyName(): return earlier if author name is empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18987 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 09:06:31 +00:00
Abdelrazak Younes
34a2aeec9c Fix bug 3970: Include file crash
The problem is that a screen update needs a bibtex key for proper rendering of the Citation. This key requires the master document to load all child document, which trigger an additional screen update, even when we don't switch buffer. The problem is that we are already in the process to update the screen, hence the crash.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18986 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 08:18:25 +00:00
Jean-Marc Lasgouttes
af9464dfe8 the -lz for zlib is already in LIBS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18985 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 21:54:28 +00:00
Jean-Marc Lasgouttes
fb89ef3f5d do not test for libc; fixes compilation with freebsd
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18984 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 21:46:54 +00:00
Uwe Stöhr
2df5252dad Spanish EmbeddedObjects.lyx: Updates from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18983 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 20:52:24 +00:00
Jürgen Spitzmüller
966c48abc6 * src/CutAndPaste.cpp (saveSelection): clarify comment about commenting persistent selection out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18982 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 06:05:23 +00:00
Bo Peng
08f31f3e64 Scons: check for windows.h under msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18981 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 05:06:44 +00:00
Uwe Stöhr
07caea8f92 EmbeddedObjects.lyx: tiny fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18980 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 22:33:55 +00:00
Uwe Stöhr
e810a59fdb German Intro.lyx: don't require koma-script
German Tutorial.lyx: dito

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18979 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 21:27:03 +00:00
Bo Peng
2f415fd505 scons: fix last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18978 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 20:20:20 +00:00
Bo Peng
6df40c7ebe scons: embed lyx.exe.manifest to lyx.exe, no longer use qt manifest.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18977 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 20:16:11 +00:00
Bernhard Roider
b8b66e8278 Fix uninitialized var introduced in http://www.lyx.org/trac/changeset/18966
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18976 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 18:58:02 +00:00
Abdelrazak Younes
ff6baf9a44 Fix bug 3877.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18975 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 17:11:05 +00:00
Abdelrazak Younes
14fd0298b9 Auto raising the dialog when the user click on a Citation inset...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 08:59:10 +00:00
Abdelrazak Younes
c05eb62135 add comment and ling to bug 3907.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18973 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 08:23:04 +00:00