Commit Graph

163 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
fb6b3d7509 update from Sanda Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14604 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 09:25:27 +00:00
Jean-Marc Lasgouttes
99c7563806 new Czech translation; remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14601 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 08:58:40 +00:00
Jean-Marc Lasgouttes
4b804ed623 * lib/Makefile.am (dist_pkgdata_DATA): remove configure.py
(dist_pkgdata_PYTHON): and put it here
	(dist_scripts_DATA): rename to dist_scripts_PYTHON; this invokes
	automake's built-in python support.
	(install-data-hook): adapt to above change.

	* lib/lyx2lyx/Makefile.am (dist_lyx2lyx_DATA): rename to dist_lyx2lyx_PYTHON;
	this invokes automake's built-in python support.
	(install-data-hook): new target: sets executable bit on lyx2lyx.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14593 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 20:53:51 +00:00
Bo Peng
f6dbef59e6 Keep a copy of output from lib/configure.py to configure.log
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14591 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 15:27:12 +00:00
Jean-Marc Lasgouttes
24f5fcbcf6 update to reflect the new menu structure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14582 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 21:44:42 +00:00
Jean-Marc Lasgouttes
ccc943ac88 update italian l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14577 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 20:57:25 +00:00
Jürgen Spitzmüller
365a2daf53 Prevent boost::filesystem assert (w/ dataloss) when the backup dir was invalid or not writeable. War the user instead and skip backup (bug 2740)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14576 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 14:39:08 +00:00
Jean-Marc Lasgouttes
08b31ac8a5 (Backport from changeset 14515 from Lars)
Let gcc 4.x be handled.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14575 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 14:06:21 +00:00
Jean-Marc Lasgouttes
eb42722649 Fix bug 2616 (backport of changeset 14496 from G. Baum)
* src/LaTeX.C
        (LaTeX::deplog): Add the toc file to the dependencies if a line
        \tf@toc=\write#
        is present in the log file, since miktex does not write the line
        \openout# = `sample.toc'.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14573 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:56:21 +00:00
Jean-Marc Lasgouttes
bd648f4a81 Fix bug 2716 (backport changeset 14504 from G. Baum)
* lib/external_templates
	(XFig): Require the color package, since xfig generates LaTeX
	code with \color.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14571 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:33:49 +00:00
Jean-Marc Lasgouttes
226519b64f (backport of changeset 14516 from G. Baum)
Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for
setting CPPFLAGS)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14570 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:26:22 +00:00
Jean-Marc Lasgouttes
41e2e9cea1 Partial fix for bug 2420 (backport of changeset 14495 from G. Baum)
* src/tex2lyx/preamble.C
	(parse_preamble): ignore the definition of the lyxgreyedout
	environment



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14569 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:12:07 +00:00
Jean-Marc Lasgouttes
40ea8765be Give feedback if TeXFiles.py fails (from Georg Baum)
* src/frontends/controllers/tex_helpers.h: doxyfy comment

	* src/frontends/controllers/tex_helpers.C
	(rescanTexStyles): Pop up a message box when TeXFiles.py fails



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14566 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:57:09 +00:00
Jean-Marc Lasgouttes
5bb256a268 forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14564 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:31:20 +00:00
Jean-Marc Lasgouttes
5c985f39ab Fix bug 2667 (from Georg Baum)
* src/tex2lyx/tex2lyx.C
	(tex2lyx): output an empty paragraph if the document is empty

	* src/tex2lyx/context.C
	(Context::check_layout): set empty to false

	* src/tex2lyx/context.[Ch]
	(empty): new flag, tells whether all contexts are empty


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14555 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 13:47:28 +00:00
Bo Peng
c012fabf39 lib/configure.py: display latex package checking results faster
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14548 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-06 23:21:43 +00:00
Bo Peng
293c9812db Add revision 14479 to the bug fixes section of status.14x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14480 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:50:41 +00:00
Bo Peng
1e2f3d80e8 Minor fix to status.14x concerning no-shell patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14473 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 13:56:33 +00:00
Bo Peng
ffb930966e Add status.14x entry for the no-shell patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14471 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 02:20:48 +00:00
Jean-Marc Lasgouttes
29eeae433c * src/frontends/qt2/QContentPane.C (q_key_state): allow both Alt and Meta as alt
modifier. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14445 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 09:25:32 +00:00
Jean-Marc Lasgouttes
33b3b933b9 back to work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14444 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 09:13:23 +00:00
Jean-Marc Lasgouttes
bea368b6ac * src/text3.C (dispatch): merge the SEL and non-SEL cursor movement
LFUNs; use LCursor::selHandle consistently (fixes bugs 2119 and
	2259, and also a crash related to with dEPM)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14437 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 07:47:33 +00:00
Jean-Marc Lasgouttes
e209374eca fix typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-12 15:09:32 +00:00
Jean-Marc Lasgouttes
eb0570411e fixes from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14427 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-12 13:27:57 +00:00
Jean-Marc Lasgouttes
50645561e6 move things around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14425 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-12 12:38:11 +00:00
Jean-Marc Lasgouttes
8d88258cfd update slovak translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-12 12:23:29 +00:00
Jean-Marc Lasgouttes
a5e0ce7d03 * src/rowpainter.h (rightMargin): reduce to 10 pixels, like the left
margin. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14358 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-07 13:42:03 +00:00
Jürgen Spitzmüller
0bf849e21c * src/insets/insettabular.h: return true for allowSpellcheck (bug 2675)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14355 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-07 10:03:48 +00:00
Jean-Marc Lasgouttes
61bb33f91c fix hyphens in man pages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14350 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-06 14:26:07 +00:00
Jean-Marc Lasgouttes
e85e582e83 New TeXFiles.py script from Bo Peng. This avoids a crash with the bash
version in windows.

	* lib/Makefile.am (dist_scripts_DATA): update.
	* lib/scripts/TeXFiles.sh: removed.
	* lib/scripts/TeXFiles.py: new script.

	* src/frontends/controllers/tex_helpers.C (rescanTexStyles):
	invoke the new TeXFiles.py python script.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14349 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-06 12:59:11 +00:00
Jean-Marc Lasgouttes
732d9156a0 update Polish l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14334 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-04 07:50:28 +00:00
Jean-Marc Lasgouttes
6087a93f0f update turkish l10n; update postats script to use proper trac URL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14326 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 21:54:30 +00:00
Jean-Marc Lasgouttes
fa8db4c6a9 update Italian l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14313 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 12:21:11 +00:00
Jürgen Spitzmüller
f66fd91896 * ui/QPrefUIModule.ui: fix layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14268 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 09:49:08 +00:00
Michael Schmitt
7a218f2b31 status.14x: mention German translations; fix minor typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14267 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-29 20:16:42 +00:00
Martin Vermeer
e41b09f2d4 * insettabular.C (drawSelection): initialize tabular background
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14262 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-29 07:17:54 +00:00
Jean-Marc Lasgouttes
a63942bee5 Patch from Martin Vermeer for bug 2218.
* src/frontends/xforms/FormSpellchecker.C (update): 
	* src/frontends/qt2/QSpellchecker.C (update_contents): fix bug 
	2218: Spellchecker doesn't pop up dialogue window for the first 
	misspelled word.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14247 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 12:20:59 +00:00
Jean-Marc Lasgouttes
daa8296b7f The big cygwin_path rewrite patch from Enrico Forestieri.
Renaming:
	cygwin_path_fix		->	windows_style_tex_paths
	cygwin_path_fix_needed	->	tex_expects_windows_paths
	check_cygwin_path	->	check_windows_style_tex_paths
	use_cygwin_paths	->	use_windows_paths
	RC_CYGWIN_PATH_FIX	->	RC_TEX_EXPECTS_WINDOWS_PATHS

	* src/frontends/qt4/ui/QPrefCygwinPathUi.ui
	* src/frontends/qt3/ui/QPrefCygwinPathModule.ui
	  Updated checkbutton label and description

	* src/frontends/qt4/QPrefsDialog.C
	  (PrefCygwinPath): cygwin_path_fix -> windows_style_tex_paths
	  (QPrefsDialog): Enable checkbutton for native WIN32 builds

	* src/frontends/xforms/forms/form_preferences.fd
	  Updated label and name of checkbutton

	* src/frontends/xforms/FormPreferences.C
	  (apply): cygwin_path_fix -> windows_style_tex_paths
	           check_cygwin_path -> check_windows_style_tex_paths
	  (build): Enable checkbutton for native WIN32 builds
	  (update): Ditto
	  (feedback): Updated description

	* src/frontends/qt3/QPrefs.C
	* src/frontends/qt3/QPrefsDialog.C
	* src/frontends/qt3/QPrefsDialog.h
	  Renaming as above, enabled checkbutton for native WIN32 builds

	* src/support/os_unix.C
	* src/support/os.h
	* src/support/os_win32.C
	  Renaming cygwin_path_fix -> windows_style_tex_paths
	* src/support/os_cygwin.C
	  Ditto
	  (external_path, external_path_list): always return windows
	  style paths, not depending on the checkbutton status

	* src/lyxrc.C
	* src/lyxrc.h
	* src/lyxfunc.C
	* src/lyx_main.C
	  Renaming

	* lib/configure.py
	  Renaming, more meaningful diagnostics




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14243 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 10:54:14 +00:00
Georg Baum
2019a3e590 Fix limit display of intop and ointop
* src/mathed/math_scriptinset.C
	(MathScriptInset::hasLimits): handle \intop and \ointop

	* lib/symbols: add intop and ointop


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14230 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 16:38:11 +00:00
Jean-Marc Lasgouttes
e8e9296063 fix bug 2650: weird numbering and crash in italian documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14218 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 10:54:02 +00:00
Georg Baum
332a0fef95 * src/mathed/math_gridinset.C
(doDispatch): fix off by one error when checking cur.idx() (bug 2655)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14187 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-23 15:32:54 +00:00
Jean-Marc Lasgouttes
d6e40e19ad use our own font width cache with Qt/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14127 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-16 14:32:42 +00:00
Georg Baum
8fa0d2ccb3 Fix crash on exit (bug 2549) by correct usage of QApplication
* src/lyx_cb.C
        (quitLyX): lyx_gui::exit takes now an argument

        * src/frontends/{gtk,xforms}/lyx_gui.C
        (lyx_gui::parse_init): rename to lyx_gui::exec and call LyX::exec2
        (void lyx_gui::exit): add exit status argument

        * src/frontends/qt2/lyx_gui.C
        (cleanup): new function for pointer cleanup
        (lyx_gui::parse_init): rename to lyx_gui::exec and call LyX::exec2,
        turn static variables into automatic variables
        (void lyx_gui::exit): add exit status argument
        (start): Use cleanup()
        (exit): ditto

        * src/frontends/lyx_gui.h
        (parse_init): remove
        (exec): new
        (exit): Take exist status argument

        * src/lyx_main.[Ch]
        (LyX::priv_exec): split into LyX::priv_exec and LyX::exec2

        * src/lyx_main.C
        (lyx_exit): New, choose the right exit function
        (showFileError): call lyx_exit
        (LyX::queryUserLyXDir): ditto
        (LyX::init): ditto
        (LyX::priv_exec): ditto
        (LyX::priv_exec): Replace want_gui by lyx_gui::use_gui
        (LyX::priv_exec): replace lyx_gui::parse_init by lyx_gui::exec and
        exec2
        (LyX::init): Replace gui argument by lyx_gui::use_gui



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14059 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-09 13:07:04 +00:00
Martin Vermeer
01190aaf7a Remembered this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14058 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-09 12:19:00 +00:00
Jean-Marc Lasgouttes
a2a94df651 small updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14043 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-08 12:56:29 +00:00
Georg Baum
5086925d93 add bug number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14042 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-08 12:42:36 +00:00
Jean-Marc Lasgouttes
27b299205d * src/bufferparams.h: make author_map use an unsigned index, to avoid
a warning.

	* src/text.C (readParToken): handle \change_inserted and
	\change_deleted tokens with wrong author index (bug 2614).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14029 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-07 17:06:00 +00:00
Georg Baum
51ca3d43d3 * lib/configure.py: Add tgif->png and tgif->ppm converters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14021 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-06 11:42:35 +00:00
Jean-Marc Lasgouttes
993374a769 2006-06-01 Panayotis Papasotiriou <papasot@physics.upatras.gr>
* Makefile.am:
	* templates/ijmpc.lyx: 
	* layouts/ijmpc.layout: new textclass for International Journal of
	Modern Physics C. 

	* templates/ijmpd.lyx:
	* layouts/ijmpd.layout: update.

	* LaTeXConfig.lyx.in:
	* Extended.lyx: update for ijmpc/d textclasses.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13978 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-01 13:14:19 +00:00
Jean-Marc Lasgouttes
86a77679c8 * src/intl.C (InitKeyMapper): reset kbmap file names if the files
could not be read (bug 2604).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13970 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-31 10:32:26 +00:00