Commit Graph

14154 Commits

Author SHA1 Message Date
Bo Peng
5da64c69a1 fix scons for gettext upgrade
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19361 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-08 01:33:12 +00:00
Jean-Marc Lasgouttes
6be9d9a505 explained what happened with translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19359 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 22:23:47 +00:00
Jean-Marc Lasgouttes
0778d2d83a [the "translation" patch series] Part 2: fixing document label translations
* src/gettext.cpp (locale_init): factor some code; call Messages::init().
	* LyX.cpp (exec): call Messages::init() after initializing package().
	* Messages.cpp (init): new method, factor some code from get().
	(get): change the method used to set the locale. Should be much more robust
	than it was (and simpler too).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 22:20:27 +00:00
Uwe Stöhr
56c4bd991b installer: prepare for next releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19356 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 21:32:40 +00:00
Jean-Marc Lasgouttes
65c41eff63 remerge after translation patches 3&4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19353 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 21:08:04 +00:00
Jean-Marc Lasgouttes
013d04ac96 [the "translation" patch series] Part 4: translating the LyX menu on the mac
* development/MacOSX/Makefile.am: when installing, create bogus 
	language directories to allow translation through Qt.

	* src/frontends/qt4/GuiApplication.cpp (MenuTranslator): new class, 
	redirects some Qt translation requests to gettext.
	(GuiApplication): install the MenuTranslator.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19351 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 20:57:01 +00:00
Jean-Marc Lasgouttes
680e9d0b3d [the "translation" patch series] Part 3: improving the loading of localized files
* src/support/filetools.cpp (i18nLibFileSearch): use a trick to find
	out the name of the current translation. 

	* po/*.po: add the entry necessary for the above trick.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19349 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 20:36:04 +00:00
Jean-Marc Lasgouttes
eee9800ce4 [the "translation" patch series] Part 1: upgrading to gettext 0.14.6
* m4/*:
	* intl/*:
	* ABOUT-NLS:
	* po/Makefile.in.in:
	* po/POTFILES.in:
	* po/Makevars.template:
	* config/mkinstalldirs:
	* config/config.rpath: update from gettext 0.14.6 source. This enables
	translation to system language on Mac OS X



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19348 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 20:20:49 +00:00
Bo Peng
b08540d0d8 Fix loading non-lyx child documents with relative path names, change Load to Edit in the child document dialog. (Bug 4107 and 4111)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19345 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 18:37:33 +00:00
Richard Heck
8908823bc5 Update status.15x for my previous commits. Sorry again....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19344 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 13:44:11 +00:00
Richard Heck
07ed489029 Forgot one file from previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19343 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 16:16:19 +00:00
Richard Heck
c237753110 Introduce LFUN to save all modified files, and add menu entries.
Patch from Guillaume Pothier for 1.4.x adapted by me to current branch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19342 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 16:15:32 +00:00
Richard Heck
f4b8546ee5 Introduce LFUN to save all modified files, and add menu entries.
Patch from Guillaume Pothier for 1.4.x adapted by me to current branch.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19341 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 16:15:00 +00:00
Bo Peng
826b5c5eed Remind scons user to check config.log when configure fails
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19339 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 16:02:04 +00:00
Enrico Forestieri
806385246b No need to check whether the TEMP var is already set, it suffices
using false as the third parameter to setenv for not having it
replaced when already set.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19336 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 14:18:33 +00:00
Enrico Forestieri
98b3d68393 Use the internal function of the cygwin dll for syncing the
Windows environment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19334 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 13:52:04 +00:00
Uwe Stöhr
ecacd29233 installer: Hungarian translation update from Szöke
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19330 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 00:12:53 +00:00
Uwe Stöhr
af2560d36c EmbeddedObjects.lyx: - fix broken references in German version
- update version number

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19328 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 00:07:58 +00:00
Jean-Marc Lasgouttes
665c36357a distribute zh_CN
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 15:05:07 +00:00
Jean-Marc Lasgouttes
9cc984f4b5 update mac bundle version for next release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 14:43:23 +00:00
Jean-Marc Lasgouttes
397b7dbc57 small update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19321 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 14:31:42 +00:00
Uwe Stöhr
908c203b05 complete po remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19320 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 13:47:29 +00:00
Uwe Stöhr
cbf095a2dd hu.po: updates by Szöke
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19319 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 13:43:33 +00:00
Enrico Forestieri
514ae9453b Was forgetting this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19316 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 01:08:43 +00:00
Uwe Stöhr
a8f9211366 installer: update also icon image
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19315 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 00:21:29 +00:00
Uwe Stöhr
f217c9fa97 installer: update to LyX 1.5.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19313 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 00:02:31 +00:00
Uwe Stöhr
47c1a1ec2a configure.ac: fix whitespace character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19310 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 23:56:38 +00:00
Enrico Forestieri
3790dc945b On Windows, remove log file generated by miktex and copy chkconfig.ltx
obeying the umask value as on cygwin access is controlled through ACLs
and the python port knows nothing about them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19309 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 23:33:34 +00:00
Jean-Marc Lasgouttes
6d602a5845 back to work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19307 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 14:45:20 +00:00
Jean-Marc Lasgouttes
64a52bf76b LyX 1.5.1 is coming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 12:48:41 +00:00
Jean-Marc Lasgouttes
15520efb8f remerge for 1.5.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19303 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 12:46:25 +00:00
Jean-Marc Lasgouttes
d9251d210b latex_lang should not have a babel language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19301 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 12:41:42 +00:00
Richard Heck
1a7724c622 Status for last patch. Sorry again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19300 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 03:07:09 +00:00
Richard Heck
c4d2c1f514 Fix bug 4094, as in trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19299 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 03:05:53 +00:00
Bo Peng
6a4b38c97d Fix some incorrect middle button paste behavior. A better fix is due after 1.5.1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19297 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 21:53:24 +00:00
Jean-Marc Lasgouttes
c83c5b0510 revert r19290
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19295 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 21:18:37 +00:00
Richard Heck
f8d53598d8 Fix bugs 4077 and 4086.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19294 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 16:14:50 +00:00
Jean-Marc Lasgouttes
eac423830d Fix several middle-click pasting problems
* src/BufferView.cpp (workAreaDispatch): be sure to call haveSelection()
	as we do in LyXFunc::dispatch. 

	* src/Text3.cpp (doDispatch): refactor the handling of LFUN_MOUSE_PRESS.
	In particular, make sure that the cursor is alsways set through
	BufferView::mouseSetCursor, so that the selection is correctly saved.

	* src/CutAndPaste.cpp (pasteSelection): do not set the selection, since 
	paste methods do not do it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19292 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 16:02:25 +00:00
Richard Heck
3c78a6d2a7 Use mk4ht oolatex' instead of htlatex etc etc etc', per Jean-Pierre's advice.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19290 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 14:44:52 +00:00
Richard Heck
8be0cd50b7 Whoops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19289 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 14:19:29 +00:00
Richard Heck
02fb80e579 Fix bug 4096. Don't disconnect the buffer until we're ready to connect again.
Also, clean up the code a little.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19288 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 14:10:02 +00:00
Jean-Marc Lasgouttes
37f4a3dad1 honor all the link flags coming from pkg-config
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19286 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 10:37:33 +00:00
Jean-Marc Lasgouttes
d49fa65675 credit Darren
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19283 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 10:14:03 +00:00
Dov Feldstern
a26973fb1c another typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19274 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-02 18:55:09 +00:00
Jean-Marc Lasgouttes
ba1ead6fde typos spotted by dov
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19273 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-02 09:02:16 +00:00
Jean-Marc Lasgouttes
4e3721c476 first steps towards 1.5.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19272 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-01 15:19:08 +00:00
Jean-Marc Lasgouttes
3ed4ef84b6 * src/support/gzstream,cpp:
* src/support/gzstream.h: re-introduce the stream we were using in
	1.4.x. The boost iostream solution produces unreadable streams
	on windows and we do not know why currently.

	* src/support/Makefile.am:
	* src/Buffer.cpp:
	* src/Lexer.cpp:
	* development/scons/scons_manifest.py: adapt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19270 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-01 15:13:01 +00:00
Jean-Marc Lasgouttes
3b4be12c6d forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19269 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-01 13:32:25 +00:00
Jean-Marc Lasgouttes
499ee23ddd * LyXAction.cpp: mark LFUN_SERVER_GOTO_FILE_ROW as working for
read-only files (fixes bug 4023)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19267 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-01 13:15:57 +00:00
Richard Heck
b2b3831ea6 Update with OpenDocument info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19264 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 17:40:04 +00:00