Commit Graph

13858 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
402a13ba60 * src/support/docstream.cpp (iconv_codecvt_facet::do_max_length()):
- consider that not only utf8, but also most cjk encodings, are multibyte encodings
	  (fixes bug 4012)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-14 13:00:24 +00:00
Jürgen Spitzmüller
a97a8cde44 * INSTALL: small correction wrt qt4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19075 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-14 12:40:12 +00:00
Uwe Stöhr
b0ec9f2070 he.po: Updates from Ran
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-14 12:16:22 +00:00
Uwe Stöhr
8be3b867fe installer: support more Aspell languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19073 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-14 12:15:37 +00:00
Bo Peng
d1048ba539 a lot more simplified Chinese translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19071 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-13 19:39:46 +00:00
Abdelrazak Younes
1f70aa50d4 Fix assertion when using paragraph-up/down. This code was wrongly erased in revision 19040.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19069 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-13 16:12:44 +00:00
Jürgen Spitzmüller
c3d9485c5a * configure.ac:
* development/cmake/config.h.cmake:
* development/scons/SConstruct:
	- fix casing of __FreeBSD__ macro, also check for __FreeBSD_kernel__
	  (fixes bug 3537)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-13 14:21:50 +00:00
Uwe Stöhr
b58b07c06d installer: update icon for 1.5.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19063 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 23:45:40 +00:00
Jürgen Spitzmüller
ea244f4b0d * src/Converter.cpp:
- check if buffer exists before querying for buffer->temppath() 
	   (and use package().tempdir() as a fallback) [fixes bug 4011]

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19062 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 16:30:07 +00:00
Jürgen Spitzmüller
ca5e3cfd45 * src/frontends/controllers/frontend_helpers.cpp:
- backout revision 18988

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19061 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 16:22:24 +00:00
Jean-Marc Lasgouttes
0234b98b10 2007-07-12 André Pönitz <poenitz@lyx.org>
* InsetMathOverset.cpp (draw): fix drawing when the first argument
	has a non-zero descent.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19060 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 14:25:24 +00:00
Jean-Marc Lasgouttes
b995f7715c * Paragraph.cpp (simpleTeXOnePar): fix bug with size-changing
macro followed by a space (bug 3382)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19057 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 13:25:44 +00:00
Jean-Marc Lasgouttes
a7039727c3 * configure.ac: check earlier for -liconv and -lz, since Qt4 needs them;
put LIBICONV in LIBS.

	* src/Makefile.am: 
	* src/client/Makefile.am: update accordingly.

	* config/qt4.m4: do not try to run pkg-config tests when pkg-config 
	is not installed.

	* INSTALL.MacOSX: advise to use pkg-config; remove -lz from LDFLAGS;
	remove --with-frontend=qt4 from configure line; in the svn case, remove
	also --disable-stdlib-debug and --disable-concept-checks (and explain 
	why --disable-stdlib-debug may be needed).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19056 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 12:57:59 +00:00
Jean-Marc Lasgouttes
d4008e6295 Galician update by Ramon Flores
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19055 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 10:49:31 +00:00
Enrico Forestieri
97c5327dd7 Don't use locale facilities for sorting when compiling with GCC 3
as it is missing proper locale facets support.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19054 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 10:26:10 +00:00
Jean-Marc Lasgouttes
f99d41a25a * Layout.cpp (read): fix ObsoletedBy and DependsOn for layout names
that contain underscores.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19053 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 09:25:52 +00:00
Jean-Marc Lasgouttes
dbd627f521 update from Koji Yokota
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19052 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 08:32:10 +00:00
Christian Ridderström
021d238288 Changed a '1.4.4' to '1.4.5'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19051 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 08:14:34 +00:00
Uwe Stöhr
d1567e8d90 installer: preparations for the LyX 1.5.0 release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19050 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 00:21:53 +00:00
Peter Kümmel
1feaf6c814 plosh output. We need a string for LYX_DATE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19049 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 18:41:37 +00:00
Peter Kümmel
830fb29a15 so it could not be forgotten by me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19048 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 18:33:54 +00:00
Peter Kümmel
6295190087 polish
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19047 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 18:31:47 +00:00
Jürgen Spitzmüller
cadae06897 Patch by Richard Heck:
* src/Paragraph.cpp (applyLayout):
	- do not reset everything unconditionally on paragraph layout change (fix bug 3939)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19046 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 16:39:26 +00:00
José Matox
e983dba010 Add frenchb to languages for compatibility with older files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19044 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 15:10:13 +00:00
Abdelrazak Younes
a300e012fd add material
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19043 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 14:56:39 +00:00
Abdelrazak Younes
4a53fa6e01 Allow unicode in Layout names.
* Layout.h:
  - name_, obsoleted_by_, depends_on_ are now docstrings.

All other changes results from the above string -> docstring changes. In particular, we now try to translate the layout names only if possible (i.e. if they are ASCII only).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19042 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 13:39:08 +00:00
Abdelrazak Younes
ba4214cbe9 Following commit 19040, those partial updateLabels() functions are not needed anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19041 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 13:30:56 +00:00
Abdelrazak Younes
f1a6378d72 Fix bug 3719: TOC skip-to points out of sync with document
http://bugzilla.lyx.org/show_bug.cgi?id=3719

The problem is that the full toc is not regenerated when creating standard (i.e unnembered) paragraph. As the TocBackEnd use ParIterator for in buffer jumps, this can get out of sync. The partial updateLabel() is my doing and comes before the TocBackend stuf. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19040 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 13:20:19 +00:00
Jean-Marc Lasgouttes
7e84dd3f9b * Counters.cpp (appendix): new getter and setter used to recall
whether we are in appendix mode.

	* buffer_funcs.cpp (setLabel): set Counters::appendix as needed.
	This fixes bug 3862 automagically.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19039 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 12:52:50 +00:00
Enrico Forestieri
76799eb493 Fix bug 3962 (by me, Peter, and Joost)
* src/support/os_cygwin.cpp
	* src/support/os_win32.cpp
	(addFontResources): use AddFontResourceEx on Windows version
	supporting this API in order to mark our fonts as private.
	(restoreFontResources): ditto with RemoveFontResourceEx.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19038 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 11:57:58 +00:00
Joost Verburg
38a3692a0f updated list of LyX translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19037 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 11:54:58 +00:00
Jean-Marc Lasgouttes
c3896fa502 remove obsolete translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19036 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 11:47:55 +00:00
Jürgen Spitzmüller
029e93d723 * src/frontends/qt4/ui/ParagraphUi.ui: just tiny cosmetics (make dialog more compact)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19035 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 10:09:19 +00:00
Jean-Marc Lasgouttes
0ffdae7651 Rename development/cmake/README.cmake to INSTALL.cmake
Actually distribute the cmake files with LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19034 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 07:27:56 +00:00
Bo Peng
5ead210b1c add a few 'experimental parameters' to insetListingsParameters.cpp. This is pretty safe so I just commit it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 18:57:32 +00:00
Bo Peng
fa958badb0 More simplified Chinese translations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19032 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 18:16:06 +00:00
Jean-Marc Lasgouttes
81e1693c25 Update to Japanese translation from Koji Yokota
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19031 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 16:44:49 +00:00
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