Commit Graph

13645 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
483dba4588 Generate auto matically lyxrc.dist and Info.plist for LyX/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19381 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 20:54:16 +00:00
Bo Peng
95dbcd40f9 Enable File -> Revert when the file is externally modified, rename this menu item to File -> Revert to saved, and check if the .lyx file has been externally modified when a buffer is saved. (Bugs 3766 and 4114)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19380 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 20:46:22 +00:00
Enrico Forestieri
04e2a40f5b it.po update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19377 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 20:36:55 +00:00
Uwe Stöhr
f10f67af09 UserGuide.lyx: small fix to my previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19372 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-08 23:43:45 +00:00
Uwe Stöhr
34ff948a5f UserGuide.lyx: - make it printable
- correct the appearance of the word "LyX" in the PDF-bookmarks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19369 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-08 23:06:16 +00:00
Richard Heck
b5dd06a1e0 Minor update to previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19367 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-08 16:23:59 +00:00
Richard Heck
a95c723f5c Fix bug 4112: Translate to roman numerals for numbers higher than 20.
We now go up to 999. If you have more sections that that, you are out
of luck!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19363 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-08 15:10:55 +00:00
Bo Peng
f3c3b9bf02 fix scons for gettext upgrade
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-08 02:14:57 +00:00
Jean-Marc Lasgouttes
12dbcf2ee1 [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/trunk@19360 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 22:24:47 +00:00
Uwe Stöhr
2394978a7d installer: prepare for next releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19357 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 21:34:33 +00:00
Jean-Marc Lasgouttes
5f64168d51 remerge for real this time; last time was useless
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19355 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 21:28:52 +00:00
Jean-Marc Lasgouttes
951701394e [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/trunk@19354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 21:23:40 +00:00
Jean-Marc Lasgouttes
b708d5c53b Remerge after translation patches 2&4.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19352 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 20:58:32 +00:00
Jean-Marc Lasgouttes
9b3aa538fc [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/trunk@19350 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 20:39:55 +00:00
Jean-Marc Lasgouttes
f84a1c6e5c 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/trunk@19347 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 19:22:32 +00:00
Bo Peng
421acabc01 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/trunk@19346 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 18:39:34 +00:00
Bo Peng
491a2dbfc4 Remind scons users to check config.log when configure fails
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19340 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 16:03:17 +00:00
Richard Heck
a984321131 Introduce LFUN to save all modified files, and add menu entries.
Patch from Guillaume Pothier for 1.4.x adapted by me to current trunk.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19338 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 15:34:02 +00:00
Richard Heck
6720ac46cc Patch to mark modified files in the view menu with a *.
Patch from Guillaume Pothier for 1.4.x adapted by me to
current trunk.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19337 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 15:33:06 +00:00
Enrico Forestieri
f6504c4fff 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/trunk@19335 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 14:17:43 +00:00
Enrico Forestieri
19b5ae4830 Use the internal function of the cygwin dll for syncing the
Windows environment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19333 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 13:51:22 +00:00
Richard Heck
519e73acc8 Make LYX_ALIGN_LAYOUT always be an available layout. This simplifies a couple
chunks of code and makes a lot of sense.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19332 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 05:04:38 +00:00
Richard Heck
47b9d13bb7 Deal with a UI bug discussed on the list.
The effect is this: If you try to open a file that is already open,
LyX (i) checks if the buffer is dirty, and just switches buffers if
it is not; (ii) if it is, you get this message:
 The document %1$s is already loaded and has unsaved changes. 
 Do you want to abandon your changes and reload the document?
    [Reload] [Keep Changes]
If you hit the latter, you just get switched to the document.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19331 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 04:14:26 +00:00
Uwe Stöhr
5f3c793d81 installer: Hungarian translation update from Szöke
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19329 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 00:11:15 +00:00
Uwe Stöhr
7af4a5e4ba EmbeddedObjects.lyx: - fix broken references in German version
- update version number

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 00:07:33 +00:00
Jean-Marc Lasgouttes
6487ace40c distribute zh_CN
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19325 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 15:06:37 +00:00
Jean-Marc Lasgouttes
7f74740ca7 update mac bundle version for devt release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19323 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 14:43:45 +00:00
Uwe Stöhr
ad4601c9eb po remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19318 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 13:36:14 +00:00
Uwe Stöhr
3d64676a18 hu.po: updates by Szöke
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19317 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 13:34:21 +00:00
Uwe Stöhr
67b932a46c installer: update to LyX 1.5.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19312 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 00:01:32 +00:00
Uwe Stöhr
afa11e7b05 configure.ac: fix whitespace character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19311 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 00:00:19 +00:00
Enrico Forestieri
cbc5b72004 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/trunk@19308 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 23:31:52 +00:00
Jean-Marc Lasgouttes
2ee5c3a1fb latex_lang should not have a babel language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19302 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 12:42:08 +00:00
Richard Heck
7982ee6cef Fix bug 4094: HTML export issue with FAT32 on Linux.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19298 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 03:04:23 +00:00
Jean-Marc Lasgouttes
8151f74f21 revert r19291 (mk4ht returns the wrong error code))
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19296 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 21:19:29 +00:00
Richard Heck
3419382919 Fix bugs 4077 and 4086.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19293 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 16:09:42 +00:00
Richard Heck
1885fe5398 Use mk4ht oolatex' instead of htlatex etc etc etc', per Jean-Pierre's advice.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19291 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 14:45:43 +00:00
Richard Heck
eacbcb3f3a 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/trunk@19287 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 14:07:39 +00:00
Jean-Marc Lasgouttes
6f042448a1 honor all the link flags coming from pkg-config
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19285 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 10:36:49 +00:00
Jean-Marc Lasgouttes
f74582aca0 credit Darren
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19282 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 10:12:46 +00:00
Jean-Marc Lasgouttes
525cd4c51e * 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/trunk@19271 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-01 15:16:44 +00:00
Jean-Marc Lasgouttes
9f95b02a00 * 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/trunk@19268 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-01 13:16:24 +00:00
Richard Heck
364f49d04b [2085] Get OpenDocument export working when htlatex is available but oolatex
is not. Also check for oowriter as an ODT viewer.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19260 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 17:18:02 +00:00
Bo Peng
e1076527ba src/frontends/qt4/GuiApplication.cpp: fix a bug that prevents translator of languages with long names to be loaded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19259 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 17:09:50 +00:00
Jean-Marc Lasgouttes
0454f345a7 update email address for Hartmut Haase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19254 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 14:31:55 +00:00
Jean-Marc Lasgouttes
1c7d395197 * CutAndPaste.cpp (pasteSelection): do not set the selection after
pasting.

	* Text3.cpp (doDispatch/LFUN_MOUSE_PRESS): reorganize the code to make 
	sure that mouseSetCursor gets called (and therefore persistent selection
	stored as needed).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19252 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 13:34:09 +00:00
Enrico Forestieri
b81c90adee Use home made code for the bool facet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19250 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 13:13:23 +00:00
Jürgen Spitzmüller
2a875336c0 * lib/Makefile.am:
* development/scons/scons_manifest.py:
	- add apa template.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 04:46:09 +00:00
Bo Peng
b05462ce3b SCons: allow linking SConstruct to lyx top source directory because I am tired of typing development/scons/SConstrct again and again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-30 15:46:19 +00:00
Jürgen Spitzmüller
1f5490e017 * src/LyXFunc.cpp (doDispatch):
- force full screen update on buffer switch (fixes bug 3969).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19241 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-30 14:55:27 +00:00