]> git.lyx.org Git - lyx.git/log
lyx.git
17 years ago * Customization.lyx:
Jean-Marc Lasgouttes [Sat, 12 Aug 2006 11:26:09 +0000 (11:26 +0000)]
* Customization.lyx:
* fr_Customization.lyx:
* de_Customization.lyx: remove reference to reLyX.

* Tutorial.lyx: rename sec:relyx label to sec:tex2lyx.
* fr_Tutorial.lyx: ditto, and change references to reLyX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14622 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMove quoteArg to LyXLex so that it can be used e.g. for writing viewers to
Georg Baum [Sat, 12 Aug 2006 10:39:12 +0000 (10:39 +0000)]
Move quoteArg to LyXLex so that it can be used e.g. for writing viewers to
preferences
        * src/lyxfunc.C
        (quoteArg): move to LyXLex
        (LyXFunc::dispatch): adjust to the change above

        * src/lyxlex.[Ch]
        (quoteString): new, moved from lyxfunc.C

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14620 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * lyx_main.C (init): Do automatic reconfiguration even when
Jean-Marc Lasgouttes [Fri, 11 Aug 2006 22:11:33 +0000 (22:11 +0000)]
* lyx_main.C (init): Do automatic reconfiguration even when
running in batch mode (bug 2741).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14619 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2756:
Jean-Marc Lasgouttes [Fri, 11 Aug 2006 21:41:56 +0000 (21:41 +0000)]
Fix bug 2756:
* src/BufferView_pimpl.C (dispatch/LFUN_NEXT_INSET_TOGGLE): moved from
LyXText.

* src/text3.C (dispatch/LFUN_NEXT_INSET_TOGGLE): moved to
BufferView::Pimpl, since this should work in mathed too.

* src/mathed/math_nestinset.C (doDispatch/LFUN_INSET_TOGGLE): do not try to
do the work which belongs to LFUN_NEXT_INSET_TOGGLE (bug 2756).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14617 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agonew Czech splash; update Czech tutorial
Jean-Marc Lasgouttes [Fri, 11 Aug 2006 09:42:25 +0000 (09:42 +0000)]
new Czech splash; update Czech tutorial

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14614 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoCorrect Russian->English translation for development/Win32/hidecmd.c, by hasherfrog
Bo Peng [Fri, 11 Aug 2006 04:47:22 +0000 (04:47 +0000)]
Correct Russian->English translation for development/Win32/hidecmd.c, by hasherfrog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14612 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd Sanda Pavel
Jean-Marc Lasgouttes [Thu, 10 Aug 2006 15:55:11 +0000 (15:55 +0000)]
add Sanda Pavel

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14610 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove accelerator keys (Alt+) from designer files...
Edwin Leuven [Thu, 10 Aug 2006 14:16:30 +0000 (14:16 +0000)]
remove accelerator keys (Alt+) from designer files...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14608 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdate from Sanda Pavel
Jean-Marc Lasgouttes [Thu, 10 Aug 2006 09:23:52 +0000 (09:23 +0000)]
update from Sanda Pavel

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14603 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agonew Czech translation
Jean-Marc Lasgouttes [Thu, 10 Aug 2006 08:56:59 +0000 (08:56 +0000)]
new Czech translation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14600 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd language and encoding information
José Matox [Wed, 9 Aug 2006 22:22:59 +0000 (22:22 +0000)]
Add language and encoding information

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14599 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd language attribute to default file
José Matox [Wed, 9 Aug 2006 22:18:27 +0000 (22:18 +0000)]
Add language attribute to default file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14598 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd Kostantino
Jean-Marc Lasgouttes [Wed, 9 Aug 2006 22:06:38 +0000 (22:06 +0000)]
add Kostantino

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14595 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd encoding to a default file
José Matox [Wed, 9 Aug 2006 21:56:12 +0000 (21:56 +0000)]
Add encoding to a default file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14594 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * lib/Makefile.am (dist_pkgdata_DATA): remove configure.py
Jean-Marc Lasgouttes [Wed, 9 Aug 2006 20:51:55 +0000 (20:51 +0000)]
* 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/trunk@14592 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoKeep a copy of output from lib/configure.py to configure.log
Bo Peng [Wed, 9 Aug 2006 15:21:22 +0000 (15:21 +0000)]
Keep a copy of output from lib/configure.py to configure.log

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14590 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix the header of lyxrc.defaults
Jean-Marc Lasgouttes [Wed, 9 Aug 2006 09:36:42 +0000 (09:36 +0000)]
fix the header of lyxrc.defaults

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14588 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoyet another annoying debug message bites the dust
Jean-Marc Lasgouttes [Tue, 8 Aug 2006 22:17:13 +0000 (22:17 +0000)]
yet another annoying debug message bites the dust

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14586 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/mathed/math_scriptinset.C
Jean-Marc Lasgouttes [Tue, 8 Aug 2006 21:55:41 +0000 (21:55 +0000)]
* src/mathed/math_scriptinset.C
(MathScriptInset::hasLimits): remove annoying debug message

* src/mathed/math_nestinset.C
(MathNestInset::script): ditto

* src/CutAndPaste.C
(copySelection): ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14583 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdate to reflect the new menu structure
Jean-Marc Lasgouttes [Tue, 8 Aug 2006 21:41:16 +0000 (21:41 +0000)]
update to reflect the new menu structure

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14581 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove remaining references to fig_copy.sh
Jean-Marc Lasgouttes [Tue, 8 Aug 2006 21:12:50 +0000 (21:12 +0000)]
remove remaining references to fig_copy.sh

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14579 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoImplement LFUN_INSET_DISSOLVE (bug 2201):
Jürgen Spitzmüller [Tue, 8 Aug 2006 13:34:02 +0000 (13:34 +0000)]
Implement LFUN_INSET_DISSOLVE (bug 2201):
        * src/LyXAction.C:
        * src/lfuns.h:
- add new lfun LFUN_INSET_DISSOLVE.

        * src/insets/insettext.C
        (void InsetText::doDispatch):
- dissolve inset when hitting backspace in the
  very first or delete in the very last position
  of an inset.

        * src/text3.C
        (void LyXText::dispatch):
        (bool LyXText::getStatus):
- implement new lfun LFUN_INSET_DISSOLVE.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14572 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoUpdate Makefile.am with new and renamed files.
José Matox [Tue, 8 Aug 2006 11:21:24 +0000 (11:21 +0000)]
Update Makefile.am with new and renamed files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14568 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoConvert python scripts to utf-8.
José Matox [Tue, 8 Aug 2006 10:42:59 +0000 (10:42 +0000)]
Convert python scripts to utf-8.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14565 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago2006-08-08 Bennett Helm <bennett.helm@fandm.edu>
Jean-Marc Lasgouttes [Tue, 8 Aug 2006 10:03:09 +0000 (10:03 +0000)]
2006-08-08  Bennett Helm <bennett.helm@fandm.edu>

* MacOSX/LyX.app/Contents/Resources/lyxrc.dist: improve viewers
that require X11; tweak the path_prefix search order.

* MacOSX/LyX.app/Contents/Info.plist: update version.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14562 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd support for input encoding handling by lyx2lyx.
José Matox [Mon, 7 Aug 2006 14:10:41 +0000 (14:10 +0000)]
Add support for input encoding handling by lyx2lyx.

Support all lyx files (support goes to lyx-0.6 the first public available lyx version).

Fine tune the guessing of the lyx version used to produce the document (only useful for 2.10 and 2.15 documents).

Support to convertion to utf-8 encoding was added but it is not (yet) active.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14558 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agogenerate_enconding_info.py parses lib/languages and generates lyx2lyx_lang.py
José Matox [Mon, 7 Aug 2006 14:05:07 +0000 (14:05 +0000)]
generate_enconding_info.py  parses lib/languages and generates lyx2lyx_lang.py
as a python dictionary, ready to be used by other python modules.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14557 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoGive to get value a default argument,
José Matox [Mon, 7 Aug 2006 13:59:01 +0000 (13:59 +0000)]
Give to get value a default argument,
if the value is not found the default value is returned.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14556 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove sdsc mirror
Jean-Marc Lasgouttes [Mon, 7 Aug 2006 12:55:11 +0000 (12:55 +0000)]
remove sdsc mirror

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14553 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd pkg.m4 to config/ and autogen.sh.
Lars Gullik Bjønnes [Sun, 6 Aug 2006 20:45:31 +0000 (20:45 +0000)]
Add pkg.m4 to config/ and autogen.sh.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14543 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agocmake 2.4.3 is out: update Readme.cmake
Peter Kümmel [Fri, 4 Aug 2006 20:04:16 +0000 (20:04 +0000)]
cmake 2.4.3 is out: update Readme.cmake

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14540 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd more controls to the view-source dialog.
Bo Peng [Fri, 4 Aug 2006 13:59:12 +0000 (13:59 +0000)]
Add more controls to the view-source dialog.
* src/buffer.[nC]: can write full source, separaet/rename makeXXXFile.
* src/graphics/PreviewLoader.C: rename maleLaTeXFile to writeLaTeXSource
* src/frontends/qt3/QViewSourceDialog.h, ui/QViewSourceDialogBase.ui,
QViewSource.[hC], QViewSourceDialog.[hC]: qt3 frontend
* src/frontends/qt4/QViewSource.[hC], ui/QViewSourceUi.ui,
QViewSourceDialog.[hC]: qt4 frontend
* src/frontends/controllers/ControlViewSource.[hC]: controller

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14539 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agostring.join(lst) -> " ".join(lst) and not "".join(lst)
José Matox [Wed, 2 Aug 2006 16:13:01 +0000 (16:13 +0000)]
string.join(lst) -> " ".join(lst) and not "".join(lst)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14538 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRemove calls to deprecated module string.
José Matox [Wed, 2 Aug 2006 15:45:44 +0000 (15:45 +0000)]
Remove calls to deprecated module string.

The calls are now made to string methods, the advantage being that they work with
unicode strings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14537 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoStart to consolidate the functions in parser tools.
José Matox [Wed, 2 Aug 2006 14:25:43 +0000 (14:25 +0000)]
Start to consolidate the functions in parser tools.

Add a unit testing for parser tools functions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14536 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoSmall fixes.
José Matox [Wed, 2 Aug 2006 14:23:45 +0000 (14:23 +0000)]
Small fixes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14535 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoConvert all python files to utf-8.
José Matox [Wed, 2 Aug 2006 14:19:22 +0000 (14:19 +0000)]
Convert all python files to utf-8.

Add a documentation string to each module.

Add a documentation string to every function in the modules.

file is a python reserved word => s/file/document/g as variable

add a new property to modules, supported_versions that holds
 the versions supported by that module

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14534 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agolyx2lyx: Remove -tt from header since it does not work.
José Matox [Wed, 2 Aug 2006 09:54:41 +0000 (09:54 +0000)]
lyx2lyx: Remove -tt from header since it does not work.
              Changed the enconding to utf-8.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14533 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agolyx_0_08.py:
José Matox [Tue, 1 Aug 2006 22:54:57 +0000 (22:54 +0000)]
lyx_0_08.py:
lyx_0_10.py
LyX.py: add support for UserGuide convertion from lyx-0.8 (and 0.7).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14532 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd module documentation to lyx_0_10.py
José Matox [Tue, 1 Aug 2006 14:38:13 +0000 (14:38 +0000)]
Add module documentation to lyx_0_10.py

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14531 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRename files:
José Matox [Tue, 1 Aug 2006 08:38:24 +0000 (08:38 +0000)]
Rename files:
lyx_1_1_6.py -> lyx_1_1_6_0.py
lyx_1_1_6fix3.py -> lyx_1_1_6_3.py

Change LyX.py accordingly.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14530 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoshut up compiler warning message
Georg Baum [Mon, 31 Jul 2006 17:44:50 +0000 (17:44 +0000)]
shut up compiler warning message

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14529 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd converter to plain text and fix child format buglet
Georg Baum [Mon, 31 Jul 2006 17:43:59 +0000 (17:43 +0000)]
Add converter to plain text and fix child format buglet
* src/graph.C
(Graph::getReachable): Only add a child format to only viewable
formats if the child or parent has a viewer. Previously a child
format was also added when there was no viewer at all.

* lib/configure.py
(checkFormatEntries): add text2, text3 and text4 formats
(checkConverterEntries): add ps2ascii , pstotext and catdvi converters

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14528 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMake QT4 config use pgk-config if available
Lars Gullik Bjønnes [Sun, 30 Jul 2006 21:33:59 +0000 (21:33 +0000)]
Make QT4 config use pgk-config if available

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14520 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd rc.geometry_height, geometry_width, geometry_xysaved to the preference dialogs...
Bo Peng [Sun, 30 Jul 2006 15:52:43 +0000 (15:52 +0000)]
Add rc.geometry_height, geometry_width, geometry_xysaved to the preference dialogs (qt3/qt4).
* src/frontends/qt3/QPrefs.C, QPrefsDialog.C, ui/QPrefUIModule.ui
* src/frontends/qt4/QPrefsDialog.C, ui/QPrefUi.ui

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14518 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix redraw problems in qt3 and gtk
Georg Baum [Sun, 30 Jul 2006 14:57:01 +0000 (14:57 +0000)]
Fix redraw problems in qt3 and gtk
* src/frontends/gtk/GWorkArea.C
(GWorkArea::onScroll): redraw the workarea
(GWorkArea::onButtonPress): Call WorkArea::dispatch instead of
BufferView::workAreaDispatch in order to redraw the workarea
(GWorkArea::onButtonRelease): ditto
(GWorkArea::onMotionNotify): ditto

* src/frontends/WorkArea.h
(dispatch): make public

* src/frontends/qt3/QContentPane.C
(QContentPane::scrollBarChanged): redraw the workarea
(QContentPane::generateSyntheticMous): Call WorkArea::dispatch instead
of BufferView::workAreaDispatch in order to redraw the workarea
(QContentPane::mousePressEvent): ditto
(QContentPane::mouseReleaseEvent): ditto
(QContentPane::mouseMoveEvent): ditto
(QContentPane::doubleClickTimeout): ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14517 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoSet CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for
Georg Baum [Sun, 30 Jul 2006 14:56:01 +0000 (14:56 +0000)]
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/trunk@14516 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoLet gcc 4.x be handled.
Lars Gullik Bjønnes [Sun, 30 Jul 2006 13:58:10 +0000 (13:58 +0000)]
Let gcc 4.x be handled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14515 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRemove old outdated pkg.m4, newer one is automatically picked up by autogen.
Lars Gullik Bjønnes [Sat, 29 Jul 2006 10:41:00 +0000 (10:41 +0000)]
Remove old outdated pkg.m4, newer one is automatically picked up by autogen.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14509 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRemove some old files belonging to the old (now removed) gnome frontend
Lars Gullik Bjønnes [Sat, 29 Jul 2006 10:34:49 +0000 (10:34 +0000)]
Remove some old files belonging to the old (now removed) gnome frontend

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14508 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2716:
Georg Baum [Fri, 28 Jul 2006 16:21:54 +0000 (16:21 +0000)]
Fix bug 2716:
* 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/trunk@14504 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * LyX.py
José Matox [Thu, 27 Jul 2006 18:30:13 +0000 (18:30 +0000)]
    * LyX.py
* lyx_1_1_5.py
* lyx_1_2.py
* lyx_1_3.py
* lyx_1_4.py
* lyx_1_5.py

* parser_tools.py: remove functions that are not generic, i.e.
assume a specific pattern for the file format, and move them to the
places where they are used.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14503 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoUpdate development/Win32/hidecmd.c, from Enrico Forestieri
Bo Peng [Thu, 27 Jul 2006 16:39:27 +0000 (16:39 +0000)]
Update development/Win32/hidecmd.c, from Enrico Forestieri
The usage of hidecmd.c is now 'lyx.exe [var=val] [other lyx options]'
The realy console lyx.exe should be renamed to lyxc.exe.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14502 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agolib/configure.py: do not wait till the end of 'latex wrap_chkconfig.ltx' to display...
Bo Peng [Thu, 27 Jul 2006 14:18:47 +0000 (14:18 +0000)]
lib/configure.py: do not wait till the end of 'latex wrap_chkconfig.ltx' to display latex class availability info

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14501 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoload files from lyx_main.C instead of lyx_gui.C, do not add session-restored files...
Bo Peng [Thu, 27 Jul 2006 14:13:45 +0000 (14:13 +0000)]
load files from lyx_main.C instead of lyx_gui.C, do not add session-restored files to lastfile list.
* src/frontends/lyx_gui.h: add prototype for create_view
* src/frontends/(gtk,qt3,qt4)/lyx_gui.C: separate start()
* src/lyx_main.C: call create_view, load file, and call start

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14500 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoparser_tools.py (del_token): rename arguments to be coherent with other functions
José Matox [Thu, 27 Jul 2006 11:37:26 +0000 (11:37 +0000)]
parser_tools.py (del_token): rename arguments to be coherent with other functions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14499 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRemove the hide console trick in support/os_win32.C since wrapper hidecmd.c can compl...
Bo Peng [Tue, 25 Jul 2006 19:38:56 +0000 (19:38 +0000)]
Remove the hide console trick in support/os_win32.C since wrapper hidecmd.c can completely hide the console.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14498 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd development/Win32/hidecmd.c, which hides windows console window when starting lyx
Bo Peng [Tue, 25 Jul 2006 19:30:58 +0000 (19:30 +0000)]
Add development/Win32/hidecmd.c, which hides windows console window when starting lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14497 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2616
Georg Baum [Mon, 24 Jul 2006 11:08:44 +0000 (11:08 +0000)]
Fix bug 2616
        * 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/trunk@14496 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoPartial fix for bug 2420
Georg Baum [Sat, 22 Jul 2006 20:20:51 +0000 (20:20 +0000)]
Partial fix for bug 2420
* src/tex2lyx/preamble.C
(parse_preamble): ignore the definition of the lyxgreyedout
environment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14495 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRevert autoconf change, 2.60 is broken wrt prefix.
Georg Baum [Sat, 22 Jul 2006 16:47:31 +0000 (16:47 +0000)]
Revert autoconf change, 2.60 is broken wrt prefix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14494 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoDo not add backup .lyx~ files to lib/doc/Makefile.depend.
Georg Baum [Sat, 22 Jul 2006 15:17:27 +0000 (15:17 +0000)]
Do not add backup .lyx~ files to lib/doc/Makefile.depend.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14493 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoSupport autoconf 2.60
Georg Baum [Sat, 22 Jul 2006 14:32:57 +0000 (14:32 +0000)]
Support autoconf 2.60

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14492 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agosplit the qt.m4 in two, separate file for qt4
Lars Gullik Bjønnes [Sat, 22 Jul 2006 11:23:41 +0000 (11:23 +0000)]
split the qt.m4 in two, separate file for qt4

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14491 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoscons: make "scons install" succeed without msgfmt
Bo Peng [Thu, 20 Jul 2006 18:57:29 +0000 (18:57 +0000)]
scons: make "scons install" succeed without msgfmt

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14490 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * lengthCommon.C: add an empty string as the last element
Michael Schmitt [Wed, 19 Jul 2006 18:17:23 +0000 (18:17 +0000)]
* lengthCommon.C: add an empty string as the last element

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14489 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoGive feedback if TeXFiles.py fails
Georg Baum [Wed, 19 Jul 2006 16:25:54 +0000 (16:25 +0000)]
Give feedback if TeXFiles.py fails
* 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/trunk@14488 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix read in of \over (related to bug 2481)
Georg Baum [Wed, 19 Jul 2006 10:50:18 +0000 (10:50 +0000)]
Fix read in of \over (related to bug 2481)
        * src/mathed/math_factory.C
        (createMathInset): Create a MathFracInset of kind OVER for \over

        * src/mathed/math_fracinset.C
        (MathFracInset::draw): handle kind OVER
        (MathFracInset::drawT): ditto
        (MathFracInset::write): ditto
        (MathFracInset::name): ditto
        (MathFracInset::extraBraces): ditto

        * src/mathed/math_fracinset.h
        (Kind): New kind OVER

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14487 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * lengthcommon.[Ch]: remove obsolete unit_name_ltx;
Michael Schmitt [Tue, 18 Jul 2006 21:56:07 +0000 (21:56 +0000)]
* lengthcommon.[Ch]: remove obsolete unit_name_ltx;
choose user-friendly names for unit_name_gui

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14485 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * pocheck.pl: re-introduce check for '|' shortcuts
Michael Schmitt [Tue, 18 Jul 2006 21:06:47 +0000 (21:06 +0000)]
    * pocheck.pl: re-introduce check for '|' shortcuts
        which are not only used by the former xforms frontend
        but also in the menus

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14484 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * INSTALL: Mention that LyX has been tested with Qt 4.x.
Michael Schmitt [Tue, 18 Jul 2006 20:46:24 +0000 (20:46 +0000)]
    * INSTALL: Mention that LyX has been tested with Qt 4.x.
        Do not mention Qt 2.x any longer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14483 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * README: Mention qt4 library
Michael Schmitt [Tue, 18 Jul 2006 20:40:57 +0000 (20:40 +0000)]
    * README: Mention qt4 library

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14482 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix bug 2687
Georg Baum [Mon, 17 Jul 2006 20:06:58 +0000 (20:06 +0000)]
fix bug 2687
* src/lyxfunc.C
(quoteArg): new, quotes arguments for the "log" dialog
(LyXFunc::dispatch): quote log filename

* src/frontends/controllers/ControlLog.C
(ControlLog::initialiseParams): parse \" as " and \\ as \ in filename

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14481 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRemove hardcoded option -tt from python scripts
Bo Peng [Mon, 17 Jul 2006 19:41:32 +0000 (19:41 +0000)]
Remove hardcoded option -tt from python scripts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14478 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoChange the encoding of some python scripts from ISO-8859-15 to ISO-8859-1
Bo Peng [Mon, 17 Jul 2006 19:37:24 +0000 (19:37 +0000)]
Change the encoding of some python scripts from ISO-8859-15 to ISO-8859-1

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14477 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoScons: small fix for target msvs_projects
Bo Peng [Mon, 17 Jul 2006 19:34:58 +0000 (19:34 +0000)]
Scons: small fix for target msvs_projects

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14476 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/bufferlist.C
Georg Baum [Mon, 17 Jul 2006 15:21:54 +0000 (15:21 +0000)]
    * src/bufferlist.C
        (BufferList::close): Don't ignore unsaved changes if quitting == true
        (BufferList::close): Use menuWrite(buf) instead of buf->save(),
        because menuWrite tells the user if the file could not be saved and
        asks for another name

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14475 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2404
Georg Baum [Mon, 17 Jul 2006 15:13:49 +0000 (15:13 +0000)]
Fix bug 2404
* src/lyx_cb.C
(newFile): Only set the new buffer if it is valid

* src/BufferView_pimpl.C
(BufferView::Pimpl::loadLyXFile): Test whether newFile succeeded

* src/lyxfunc.C
(LyXFunc::menuNew): Only set the new buffer if it is valid
(LyXFunc::open): ditto

* src/importer.C
(Importer::Import): ditto

* src/lyx_main.C
(LyX::exec2): Only use the new buffer if newFile succeeded

* src/buffer_funcs.C
(newFile): discard the buffer and return 0 if the template is invalid

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14474 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago Fix "inset in tabular cell sticks out over cell border" bug
Martin Vermeer [Mon, 17 Jul 2006 05:30:36 +0000 (05:30 +0000)]
Fix "inset in tabular cell sticks out over cell border" bug

* insetcollapsable.C
(InsetCollapsable::metrics): make sure openinlined_ does not
contain mi.base.textwidth

* insettabular.C
(InsetTabular::metrics): modify m.base.textwidth calculation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14472 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2481
Georg Baum [Sun, 16 Jul 2006 17:19:05 +0000 (17:19 +0000)]
Fix bug 2481
* src/mathed/math_fracinset.[Ch]
(MathFracInset::extraBraces): new, return true for \atop
* src/mathed/math_binominset.[Ch]
(MathBinomInset::extraBraces): new, return true for \choose

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14470 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2667
Georg Baum [Sun, 16 Jul 2006 13:04:59 +0000 (13:04 +0000)]
Fix bug 2667
* 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/trunk@14469 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2524
Georg Baum [Sun, 16 Jul 2006 10:04:26 +0000 (10:04 +0000)]
Fix bug 2524
* src/support/tests/test_convert: Change shell from bash to sh
* src/support/tests/test_filetools: ditto
* src/support/tests/test_lstrings: ditto
* src/frontends/controllers/tests/test_biblio: ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14468 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoThis commit transfer the ErrorList handling from LyXView to Buffer. It also removes...
Abdelrazak Younes [Sat, 15 Jul 2006 22:43:37 +0000 (22:43 +0000)]
This commit transfer the ErrorList handling from LyXView to Buffer. It also removes the need for the error signal and simplify the kerbel <-> frontend communication. I think it should speed-up _significantly_ the latex compilation for example in case of problematic files.

TODO 1: All occurrences of "LyXView::showErrorList()" in the "kernel" should be replaced by a boost signal emission (Buffer::errors()). This signal is already connected to this showErrorList() slot.

TODO 2: The ErrorList mechanism is used wrongly in a number of place, most notably in "Converter.C". Instead of replacing the ErrorList in the "Buffer" class, the "Converter" class should maintain its own list instead and connect directly to the LyXView::showErrorList() slot.

Buffer:
* errorList_: new private member and associated access methods.
* setErrorList(): new accessor method.
* addError(): apend an error to the errorList_.
* error(): deleted.
* errors(): new boost signal, unused for now. Shall be used instead of LyXView::showErrorList().

LyXView:
* getErrorList(), addError(), errorlist_, errorConnection_: deleted.
* errorsConnection_: new boost connection for the Buffer::errors() signal.

lyx_main.C:
* LyX::exec2(): manually print all errors.

BufferView.h: remove unneeded ErrorList forward declaration.

BufferView::pimpl::menuInsertLyXFile(): delete Buffer::error() connection and add a FIXME comment

text.C: Use Buffer::addError() instead of Buffer::error() signal emission.

ControlErrorList.C: get the ErrorList from the Buffer instead of LyXView

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14467 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agocompile fix
Georg Baum [Sat, 15 Jul 2006 11:39:58 +0000 (11:39 +0000)]
compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14461 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix line ending
Georg Baum [Sat, 15 Jul 2006 11:37:20 +0000 (11:37 +0000)]
fix line ending

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14460 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2637
Georg Baum [Sat, 15 Jul 2006 11:25:49 +0000 (11:25 +0000)]
Fix bug 2637
        * src/graphics/GraphicsCacheItem.C
        (CacheItem::Impl::convertToDisplayFormat): Don't derive the temp
        file name from the original file name. This ensures that it is
        composed of valid characters only.

        * src/graphics/GraphicsConverter.C: remove example script, since it
        will get out of date.
        (build_script): Copy the original file to a temp file before the
        conversion chain starts. This avoids problems with converters that
        can't handle ' in filenames.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14459 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoThis commit continues the drastic diet operated on BufferView. It removes all boost...
Abdelrazak Younes [Fri, 14 Jul 2006 21:47:48 +0000 (21:47 +0000)]
This commit continues the drastic diet operated on BufferView. It removes all boost signal connections from BufferView::pimpl and put them in LyXView. LyXView already inherits from boost::signals::trackable so this is not a big deal. If you look closely at the signal connections, it all makes sense IMO.

With this change, the only difference between BufferView.h and BufferView_pimpl.h is "cursor.h" so I think it is time to merge the two classes at last.

BufferView:
* showErrorList(), getErrorList(): transfered to LyXView.

BufferView::pimpl
* addError(), showReadonly(), connectBuffer(), disconnectBuffer(): transfered to LyXView.

CutAndPaste.C: adapted to API changes
frontends/controllers/ControlErrorList.C: ditto
lyxfunc.C: ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14458 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMath Panel:
Edwin Leuven [Fri, 14 Jul 2006 13:14:41 +0000 (13:14 +0000)]
Math Panel:
* add dropdown menu with fractions
* repair panel switching

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14457 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoThis commit removes the needRedraw() interface and simplify the screen update procedu...
Abdelrazak Younes [Fri, 14 Jul 2006 09:56:21 +0000 (09:56 +0000)]
This commit removes the needRedraw() interface and simplify the screen update procedure. It also fixes all crash problems.
The performance may suffer a bit because we do the second drawing step in all cases. This could be possibly optimized out by checking the return value of the BufferView::update() method in "lyxfunc.C:1610". But it is maybe better to keep those two parts of the frontend ignorant of each other: the event handling and the drawing.

BufferView:
* needRedra(), need_redraw_: deleted.
* updateMetrics(): now public.
* update(): only do the first drawing step. Returns true if a full updateMetrics is needed before drawing on screen.

WorkArea:
* redraw(): no check on BufferView::needRedraw(), call updateMetrics() unconditionally.
* processKeySim(): uneeded "redraw()" call commented out. When/if the call to LyXView::redrawWorkArea() in "lyxfunc.C:1610" is not needed anymore, this line should be uncommented out.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14456 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove xforms and libXpm; fix gv's URL
Michael Schmitt [Fri, 14 Jul 2006 08:58:32 +0000 (08:58 +0000)]
remove xforms and libXpm; fix gv's URL

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14455 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdate to \lyxformat 245
Michael Schmitt [Fri, 14 Jul 2006 08:56:07 +0000 (08:56 +0000)]
update to \lyxformat 245

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14454 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoIndicate that the description is outdated
Michael Schmitt [Fri, 14 Jul 2006 08:41:46 +0000 (08:41 +0000)]
Indicate that the description is outdated

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14453 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomajor cleanup of this totally outdated file
Michael Schmitt [Fri, 14 Jul 2006 08:30:26 +0000 (08:30 +0000)]
major cleanup of this totally outdated file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14452 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodo not mention xform(s) frontend
Michael Schmitt [Fri, 14 Jul 2006 08:12:57 +0000 (08:12 +0000)]
do not mention xform(s) frontend

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14451 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove LFUN_INSET_DIALOG_SHOW
Michael Schmitt [Fri, 14 Jul 2006 08:11:23 +0000 (08:11 +0000)]
remove LFUN_INSET_DIALOG_SHOW

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14450 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoScons: check for unused/misspelled command line option, allow rebuild=yes/no/all...
Bo Peng [Thu, 13 Jul 2006 17:52:41 +0000 (17:52 +0000)]
Scons: check for unused/misspelled command line option, allow rebuild=yes/no/all/none.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14449 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoGUI API Cleanup step 3: merge with "younes" branch.
Abdelrazak Younes [Thu, 13 Jul 2006 16:37:55 +0000 (16:37 +0000)]
GUI API Cleanup step 3: merge with "younes" branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14448 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/text3.C (dispatch): merge the SELECT and non-SELECT cursor
Jean-Marc Lasgouttes [Thu, 13 Jul 2006 07:43:48 +0000 (07:43 +0000)]
* src/text3.C (dispatch): merge the SELECT and non-SELECT 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/trunk@14436 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove redrawGUI()
Michael Schmitt [Wed, 12 Jul 2006 19:10:17 +0000 (19:10 +0000)]
remove redrawGUI()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14433 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * SConstruct: remove xforms relicts
Michael Schmitt [Mon, 10 Jul 2006 19:40:55 +0000 (19:40 +0000)]
    * SConstruct: remove xforms relicts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14417 a592a061-630c-0410-9148-cb99ea01b6c8