]> git.lyx.org Git - lyx.git/log
lyx.git
18 years agoChange the semantics of 'none' and 'auto' viewers/editors: 'none' means now
Georg Baum [Thu, 25 May 2006 11:57:22 +0000 (11:57 +0000)]
Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
"Don't view/edit this format", and 'auto' means "Use the default viewer/editor".
* src/format.C
(fixCommand): Change semantics: "none" is equal to "", and "auto"
is removed if canAutoOpenFile returns false.

* src/frontends/xforms/FormPreferences.C
(FormPreferences::SpellOptions::apply): "none" -> ""

* src/lyxrc.C
(LyXRC::read): "none" -> ""

* lib/doc/Customization.lyx: Document the autoopen feature

* lib/configure.py
(checkProg): add optional not_found argument, defaulting to 'none'
(checkViewer): new, equivalent to checkProg with not_found = 'auto'
(checkFormatEntries): call checkViewer instead of checkProg for
viewers and editors

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

18 years agoqt3/qfont_loader.h: added comment about pointer reference.
Abdelrazak Younes [Thu, 25 May 2006 10:02:01 +0000 (10:02 +0000)]
qt3/qfont_loader.h: added comment about pointer reference.
qt4/qfont_loader.h: reverted to last version and added comment about pointer reference.

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

18 years agoFrom Joost Verburg: Put the clean_dvi.py script into the main distribution
Georg Baum [Wed, 24 May 2006 20:06:42 +0000 (20:06 +0000)]
From Joost Verburg: Put the clean_dvi.py script into the main distribution
* lib/configure.py
(checkLatex): Add DraftDVI converter on windows if dv2dt and dt2dv
are available
(checkFormatEntries): Add DraftDVI entry on windows if dv2dt and
dt2dv are available

* lib/Makefile.am: add clean_dvi.py

* development/Win32/packaging/build_lyxwin.sh: remove clean_dvi.py
stuff

* development/Win32/packaging/package_lyxwin.sh: remove configure
mangling for clean_dvi.py

* development/Win32/packaging/clean_dvi.py: move to lib/scripts

* development/Win32/packaging/README: remove clean_dvi.py stuff

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

18 years agoupdate to de_userguide and de_Extended, due to wrong picture references
Jean-Marc Lasgouttes [Tue, 23 May 2006 09:30:26 +0000 (09:30 +0000)]
update to de_userguide and de_Extended, due to wrong picture references

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

18 years agoScons: dest_dir option, cache command line option, fix a intl bug
Bo Peng [Tue, 23 May 2006 00:27:05 +0000 (00:27 +0000)]
Scons: dest_dir option, cache command line option, fix a intl bug

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

18 years ago* BufferView_pimpl.C (getStatus):
Jürgen Spitzmüller [Mon, 22 May 2006 14:28:43 +0000 (14:28 +0000)]
* BufferView_pimpl.C (getStatus):
Disable saving of bookmarks in mathed for it is not yet supported
   and makes LyX crash (bug 2597)

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

18 years ago* insettabular.C (doDispatch):
Jürgen Spitzmüller [Mon, 22 May 2006 14:19:34 +0000 (14:19 +0000)]
* insettabular.C (doDispatch):
set cursor after mouse (button 3) press
(re-fix bug 2526).

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

18 years ago* insettabular.C (doDispatch):
Jürgen Spitzmüller [Mon, 22 May 2006 13:11:57 +0000 (13:11 +0000)]
* insettabular.C (doDispatch):
do not mark the cursor undispatched after mouse (button 3) press
(prevents the cursor from leaving the tabular when opening the
dialog).

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

18 years ago* insettabular.C (doDispatch):
Jürgen Spitzmüller [Mon, 22 May 2006 10:19:27 +0000 (10:19 +0000)]
* insettabular.C (doDispatch):
fix crash due to invalidated
cursor after insertAciiString (bug 2603).

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

18 years agoupdate German docs
Jean-Marc Lasgouttes [Mon, 22 May 2006 09:45:30 +0000 (09:45 +0000)]
update German docs

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

18 years agoforgot this in the last patch
Georg Baum [Mon, 22 May 2006 09:21:43 +0000 (09:21 +0000)]
forgot this in the last patch

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

18 years ago * src/insets/insetgraphics.C
Georg Baum [Mon, 22 May 2006 09:15:33 +0000 (09:15 +0000)]
* src/insets/insetgraphics.C
(InsetGraphics::prepareFile): Rename file in the temp dir if the
extension does not match the format (bug 2235)

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

18 years agoFix crash that occurs if the cursor is in a table cell when the document class
Georg Baum [Sun, 21 May 2006 17:33:03 +0000 (17:33 +0000)]
Fix crash that occurs if the cursor is in a table cell when the document class
is changed
* src/cursor.C: remove unused 'using std::swap'
* src/BufferView.C: ditto

* src/CutAndPaste.[Ch]
(switchBetweenClasses): replace ParagraphList argument with InsetText
argument. This avoids an unnecessary swap in lyxfunc.C.

* src/CutAndPaste.C
(pasteSelectionHelper): Adjust to the changes above
(pasteSelectionHelper): Use ParagraphList::swap instead of std::swap.
This fixes the crash.

* src/lyxfunc.C
(LyXFunc::dispatch): Adjust to switchBetweenClasses changes

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

18 years agoScons: fix a few bugs: qt4, included_ libs, command line argument with blank
Bo Peng [Sun, 21 May 2006 15:50:55 +0000 (15:50 +0000)]
Scons: fix a few bugs: qt4, included_ libs, command line argument with  blank

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

18 years agoqt4 optimisation:
Abdelrazak Younes [Sun, 21 May 2006 08:49:02 +0000 (08:49 +0000)]
qt4 optimisation:
* qfont_loader.h: enable the font caching
* QWorkArea: disable intermediate QImage caching, use QPixmap directly.

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

18 years agoScons: nls support (nls=yes, gettext=include/system/auto), merge some autoconf
Bo Peng [Sat, 20 May 2006 15:59:56 +0000 (15:59 +0000)]
Scons: nls support (nls=yes, gettext=include/system/auto), merge some autoconf
tests, fix CCFLAGS arg for mingw, version-suffix support, reduce unnecessary rebuild

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

18 years ago * src/format.[Ch]
Georg Baum [Sat, 20 May 2006 12:03:40 +0000 (12:03 +0000)]
* src/format.[Ch]
(document_): new flag, telling whether this is a document format and
we want to show this format in the export and view menus
(documentFormat): accessor for document_

* src/format.h: Add some documentation

* src/frontends/qt3/QPrefsDialog.C
(QPrefsDialog::QPrefsDialog): handle new documentCB checkbox
(QPrefsDialog::switch_format): ditto
(QPrefsDialog::updateFormatsButtons): ditto
(QPrefsDialog::new_format): ditto
(QPrefsDialog::modify_format): ditto

* src/frontends/qt3/ui/QPrefFileformatsModule.ui: Add documentCB checkbox

* src/frontends/qt4/QPrefsDialog.C
(QPrefsDialog::QPrefsDialog): handle new documentCB checkbox
(QPrefsDialog::switch_format): ditto
(QPrefsDialog::updateFormatsButtons): ditto
(QPrefsDialog::new_format): ditto
(QPrefsDialog::modify_format): ditto

* src/frontends/qt4/ui/QPrefFileformatsUi.ui: Add documentCB checkbox

* src/frontends/xforms/FormPreferences.C
(FormPreferences::Formats::build): handle new check_document checkbox
(FormPreferences::Formats::input): ditto
(FormPreferences::Formats::Add): ditto
(FormPreferences::Formats::Browser): ditto

* src/frontends/xforms/forms/form_preferences.fd: Add check_document
checkbox

* src/lyxrc.C
(LyXRC::read): Remove compatibility code for 1.3 \format entries.
Read the new format flags (but don't require them for 1.4
compatibility)
(LyXRC::write): Write the new format flags

* src/MenuBackend.C
(expandFormats): Remove the hardcoded exception for image formats
and use Format::isDocument() instead

* lib/doc/Customization.lyx: Document auto viever/editor and the
"document format" flag

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

18 years ago* QPrefsDialog.[Ch]: Split up of QPrefsDialog into different modules (one per .ui...
Abdelrazak Younes [Sat, 20 May 2006 11:49:53 +0000 (11:49 +0000)]
* QPrefsDialog.[Ch]: Split up of QPrefsDialog into different modules (one per .ui file)
* panelstack.C: automatic creation of parent category if not already created.

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

18 years ago * paragraph_pimpl.C
Martin Vermeer [Sat, 20 May 2006 10:35:40 +0000 (10:35 +0000)]
* paragraph_pimpl.C
(Paragraph::Pimpl::erase): Fix crash when selecting and erasing
"blue" paragraph break in CT mode (report JMarc)

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

18 years ago* src/frontends/qt3/qfontloader.C (initFontPath, ~FontLoader):
Jean-Marc Lasgouttes [Sat, 20 May 2006 08:21:58 +0000 (08:21 +0000)]
* src/frontends/qt3/qfontloader.C (initFontPath, ~FontLoader):
* src/frontends/qt4/qfontloader.C (initFontPath, ~FontLoader): add fonts in
lyxdir/fonts to system fonts in windows; remove them in destructor.

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

18 years ago Fix bug 2516
Martin Vermeer [Fri, 19 May 2006 16:23:49 +0000 (16:23 +0000)]
Fix bug 2516

* CutAndPaste.C
(eraseSelectionHelper): merge (conditionally) only first and last
paragraph of selection

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

18 years agoPrevent automatic opening of child docs because of natbib labels
Georg Baum [Fri, 19 May 2006 07:21:43 +0000 (07:21 +0000)]
Prevent automatic opening of child docs because of natbib labels
* src/insets/insetinclude.h
(updateBibfilesCache): adjust comment
(getBibfilesCache): ditto

* src/insets/insetinclude.C
(getChildBuffer): new, return the buffer of the child if it exists
(updateBibfilesCache): update the child buffer only if already loaded
(getBibfilesCache): scan the child buffer only if already loaded

* src/buffer.h
(updateBibfilesCache): adjust comment
(getBibfilesCache): ditto
(bibfilesCache_): ditto

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

18 years ago * src/mathed/math_hullinset.h (canTrackChanges): remove, since math insets do
Jean-Marc Lasgouttes [Thu, 18 May 2006 21:08:11 +0000 (21:08 +0000)]
* src/mathed/math_hullinset.h (canTrackChanges): remove, since math insets do
not implement (yet) change tracking.

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

18 years ago * src/support/os.h
Georg Baum [Thu, 18 May 2006 19:09:53 +0000 (19:09 +0000)]
* src/support/os.h
(canAutoOpenFile): correct comment
(autoOpenFile): ditto

* src/support/os_win32.C
(canAutoOpenFile): Remove unneeded test for dot
(autoOpenFile): whitespace

* src/support/os_cygwin.C
(canAutoOpenFile): Remove unneeded test for dot
(autoOpenFile): whitespace

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

18 years agomake the formats/converters panels in the pref dialog set the correct parameters.
Edwin Leuven [Thu, 18 May 2006 11:14:10 +0000 (11:14 +0000)]
make the formats/converters panels in the pref dialog set the correct parameters.

atm this does not work because it depends on the order in which these entries were added.

now the order is alphabetical and things are messed up.

the attached patch adds the nr of the format/converter to the listwidgetitem as a type and uses that to get to the right details

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

18 years agoSmall cleanup recommended by Lars Gullik Bjønnes:
Abdelrazak Younes [Thu, 18 May 2006 09:37:35 +0000 (09:37 +0000)]
Small cleanup recommended by Lars Gullik Bjønnes:

Can you move the SUBDIRS var back to the top of the file pleae.
Also EXTRA_DIST should be at the top.

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

18 years ago2006-05-18 Enrico Forestieri <forenr@tlc.unipr.it>
Jean-Marc Lasgouttes [Thu, 18 May 2006 09:13:24 +0000 (09:13 +0000)]
2006-05-18  Enrico Forestieri <forenr@tlc.unipr.it>

* configure.py: fix setting of \cygwin_path_fix_needed; remove
extra \r at end of line for cygwin.

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

18 years agoQt4 compilation speedup patch by Bo Peng and me.
Abdelrazak Younes [Thu, 18 May 2006 08:51:12 +0000 (08:51 +0000)]
Qt4 compilation speedup patch by Bo Peng and me.

* configure.ac: removed frontends/qt4/moc compilation.
* frontends/qt4/: moc files (*_moc.cpp) are now included at the end of relevant source file (*.C)
* SConscript: adapted to "moc included in .C file" change.
* frontends/qt4/Makefile.am:  adapted to "moc included in .C file" change.

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

18 years agoAdd \overset and \underset to math panel (bug 2533):
Georg Baum [Thu, 18 May 2006 07:10:56 +0000 (07:10 +0000)]
Add \overset and \underset to math panel (bug 2533):
* lib/images/math/underset.xpm: new
* lib/images/math/overset.xpm: new

* lib/Makefile.am: add new files

* src/frontends/controllers/ControlMath.C
(latex_deco[]): add overset and underset

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

18 years agoNew auto-open feature from Bo Peng (with help from Jean-Marc and Enrico)
Jean-Marc Lasgouttes [Wed, 17 May 2006 22:13:33 +0000 (22:13 +0000)]
New auto-open feature from Bo Peng (with help from Jean-Marc and Enrico)

* src/lyx_main.C (init): call Formats::setAutoOpen.

* src/lyxrc.C (read): do not reset editor/viewer values of "none".

* src/format.C (fixCommand): helper function: tweak command depending
of the availability of OS viewer/editor.
(setAutoOpen): run fixCommand over all the formats.

* src/support/Makefile.am: under win32, link against shlwapi.dll.

* src/support/os_*.C (canAutoOpenFile, autoOpenFile): new
functions, used to let the OS handle viewers and editors it knows about.

* configure.ac: improve check for shlwapi.

* lib/configure.py: remove check for native windows viewers.

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

18 years agoscons: lyx2lyx_version.py.in, less rebuild, filter installed files, bug fix for substFile
Bo Peng [Wed, 17 May 2006 04:07:45 +0000 (04:07 +0000)]
scons: lyx2lyx_version.py.in, less rebuild, filter installed files, bug fix for substFile

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

18 years agoscons: fix lyxclient build error handling under windows, extra_inc_path problems.
Bo Peng [Tue, 16 May 2006 14:14:05 +0000 (14:14 +0000)]
scons: fix lyxclient build error handling under windows, extra_inc_path problems.

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

18 years agoscons_utils.py: fix mkdir test on mingw
Abdelrazak Younes [Tue, 16 May 2006 10:37:25 +0000 (10:37 +0000)]
scons_utils.py: fix mkdir test on mingw
all files set to eolstyle native

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

18 years agogettext support, fast_start option, scons all, mingw bug fix and some cleanup for...
Bo Peng [Mon, 15 May 2006 20:35:01 +0000 (20:35 +0000)]
gettext support, fast_start option, scons all, mingw bug fix and some cleanup for the scons build system

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

18 years agoRemove remaining OS/2 bits:
Georg Baum [Sun, 14 May 2006 17:00:53 +0000 (17:00 +0000)]
Remove remaining OS/2 bits:
* src/lyx_cb.C
(newFile): Remove OS/2 code

* src/lyxserver.C
(LyXComm::startPipe): ditto
(LyXComm::endPipe): ditto
(LyXComm::send): ditto

* src/support/rename.C
(lyx::support::rename): ditto

* src/support/filetools.C
(fileOpenSearch): ditto
(createTmpDir): ditto
(createLyXTmpDir): ditto
(makeAbsPath): ditto

* src/support/getcwd.C
(l_getcwd): ditto

* src/support/forkedcall.C
(Forkedcall::generateChild): ditto

* src/support/chdir.C
(lyx::support::chdir): ditto

* src/support/os.C: ditto
* configure.ac: ditto
* development/scons/scons_utils.py: ditto
* development/Win32/config.h: ditto

* lyx.man: Remove OS/2 related stuff
* lib/doc/Customization.lyx: ditto
* lib/doc/fr_Customization.lyx: ditto
* lib/doc/it_Customization.lyx: ditto

* src/support/os2_defines.h: Remove
* src/support/os2_errortable.h: ditto
* src/support/os_os2.C: ditto
* INSTALL.OS2: ditto
* README.OS2: ditto
* development/OS2/quick_fix.patch: ditto
* development/OS2/gnugettext.diff: ditto
* development/OS2: ditto

* src/support/Makefile.am: Remove deleted files
* development/Makefile.am: Remove deleted OS2 directory

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

18 years ago * development/lyx.spec.in: remove not unneeded sourcing of /etc/profile
Georg Baum [Sat, 13 May 2006 13:09:46 +0000 (13:09 +0000)]
* development/lyx.spec.in: remove not unneeded sourcing of /etc/profile

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

18 years ago * development/lyx.spec.in: Don't run configure in postinst
Georg Baum [Sat, 13 May 2006 08:50:58 +0000 (08:50 +0000)]
* development/lyx.spec.in: Don't run configure in postinst

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

18 years agobetter documentation for isValidLength and stringFromUnit
Georg Baum [Fri, 12 May 2006 19:06:19 +0000 (19:06 +0000)]
better documentation for isValidLength and stringFromUnit

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

18 years agoremove deleted file cygwin.m4
Georg Baum [Fri, 12 May 2006 15:57:05 +0000 (15:57 +0000)]
remove deleted file cygwin.m4

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

18 years ago * config/qt.m4 (QT_DO_IT_ALL): add test for Qt-without-X11-under-cygwin.
Jean-Marc Lasgouttes [Fri, 12 May 2006 15:26:05 +0000 (15:26 +0000)]
* config/qt.m4 (QT_DO_IT_ALL): add test for Qt-without-X11-under-cygwin.

* config/Makefile.am:
* config/cygwin.m4: remove special cygwin tests

* configure.ac: check for shlwapi and gdi32 libraries (needed in
windows); do not check special cygwin features.

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

18 years agobetter scons install (man directory and windows system), fix a few bugs, use g++...
Bo Peng [Fri, 12 May 2006 14:21:30 +0000 (14:21 +0000)]
better scons install (man directory and windows system), fix a few bugs, use g++ as LINK.

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

18 years agoRemove the SConscript files in boost.
Lars Gullik Bjønnes [Fri, 12 May 2006 13:29:30 +0000 (13:29 +0000)]
Remove the SConscript files in boost.

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

18 years agoadd 'scons lyxbase', 'scons install', nsl support, and a few other scons improvement.
Bo Peng [Thu, 11 May 2006 21:28:13 +0000 (21:28 +0000)]
add 'scons lyxbase', 'scons install', nsl support, and a few other scons improvement.

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

18 years agoMore bugs fixes to scons system, and finer target control.
Bo Peng [Thu, 11 May 2006 17:20:25 +0000 (17:20 +0000)]
More bugs fixes to scons system, and finer target control.

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

18 years ago* Get rid of Qt3Support linking
Abdelrazak Younes [Thu, 11 May 2006 11:50:08 +0000 (11:50 +0000)]
* Get rid of Qt3Support linking
* revert to -lz instead -lzlib1 (I think Enrico was right about libraries ordering and -lz at the end of linking command works fine under mingw).
* remove win32 target from gcc/g++ replacement hack for cygwin

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

18 years agoBug fixes to the scons system.
Bo Peng [Thu, 11 May 2006 05:35:01 +0000 (05:35 +0000)]
Bug fixes to the scons system.

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

18 years agoScons-build system moves to development/scons, from Bo Peng (ben.bob@gmail.com)
Bo Peng [Wed, 10 May 2006 21:53:31 +0000 (21:53 +0000)]
Scons-build system moves to development/scons, from Bo Peng (ben.bob@gmail.com)
* remove SConstruct config/scons_utils.py config/qt4.py
* add development/scons/qt4.py SConscript SConstruct scons_utils.py

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

18 years agoalso add the qt4 setup to SConstruct
Lars Gullik Bjønnes [Wed, 10 May 2006 18:31:13 +0000 (18:31 +0000)]
also add the qt4 setup to SConstruct

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

18 years agoRemove the now superseeded SConscript files, and some small missing parts to SConstruct
Lars Gullik Bjønnes [Wed, 10 May 2006 18:05:12 +0000 (18:05 +0000)]
Remove the now superseeded SConscript files, and some small missing parts to SConstruct

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

18 years agoPut all targets in one SConstruct file
Lars Gullik Bjønnes [Wed, 10 May 2006 17:46:02 +0000 (17:46 +0000)]
Put all targets in one SConstruct file

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

18 years agoScons: various fixes from Enrico (aspell, aikasurus etc), and correct handling of...
Bo Peng [Wed, 10 May 2006 05:34:20 +0000 (05:34 +0000)]
Scons: various fixes from Enrico (aspell, aikasurus etc), and correct handling of version.C.in

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

18 years agoFix scons/cygwin, add command line CC options, from Bo Peng (ben.bob@gmail.com)
Bo Peng [Tue, 9 May 2006 20:04:27 +0000 (20:04 +0000)]
Fix scons/cygwin, add command line CC options,  from Bo Peng (ben.bob@gmail.com)
* Modified files: SConstruct, src/SConscript, src/tex2lyx/SConscript, boost/libs/SConscript:

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

18 years ago * src/lyx_main.C (init): call queryUserLyXDir just after reading
Jean-Marc Lasgouttes [Tue, 9 May 2006 15:41:42 +0000 (15:41 +0000)]
* src/lyx_main.C (init): call queryUserLyXDir just after reading
lyxrc.dist, but before reading lyxrc.defaults; add extra_prefix to
the PATH before reconfiguring.
(needsUpdate): new helper function; returns true if file does not
exist or is older than configure.py.
(queryUserLyXDir): check textclass.lst and packages.lst in
addition to lyxrc.defaults.
(reconfigureUserLyXDir): use SystemCall, since system() does not
wait on windows.

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

18 years agoMake scons work on mingw/windows, from Bo Peng (ben.bob@gmail.com)
Bo Peng [Tue, 9 May 2006 13:01:45 +0000 (13:01 +0000)]
Make scons work on mingw/windows, from Bo Peng (ben.bob@gmail.com)
* SConstruct: force the use of g++ under windows, and use the right libraries
* config/qt4.py: check QtGui4 etc as well.
* src/SConscript: link to the right libraries
* src/tex2lyx/SConscript: use the right libraries
* src/frontends/qt3/SConscript: manually moc .h files under windows

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

18 years agoSome fixes to the scons-based building sytem, from Bo Peng (ben.bob@gmail.com)
Bo Peng [Mon, 8 May 2006 21:03:01 +0000 (21:03 +0000)]
Some fixes to the scons-based building sytem, from Bo Peng (ben.bob@gmail.com)
* SConstruct: add extra_inc_path1, fix mingw logged spawn, try to handle QtCore4 etc
* src/SConscript: remove lyx_base library
* src/frontends/qt4/SConscript: remove some extra files
* Move scons_utils.py and qt4.py to config directory

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

18 years agosrc/paragraph.h:
Michael Schmitt [Mon, 8 May 2006 20:30:52 +0000 (20:30 +0000)]
src/paragraph.h:
  remove lookupChangeType;
  rename setChange to setChangeType;
  rename setChangeFull to setChange

src/paragraph_pimpl.h:
  remove lookupChange;
  rename lookupChangeFull to lookupChange;
  rename setChange to setChangeType;
  rename setChangeFull to setChange

src/changes.h: remove lookup;
  rename lookupFull to lookup;
  rename loose_contains to containsOrPrecedes;

adjust the other files accordingly

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

18 years agofix LFUN enum values (some of them were broken by r13801)
Michael Schmitt [Mon, 8 May 2006 18:09:19 +0000 (18:09 +0000)]
fix LFUN enum values (some of them were broken by r13801)
adjust some commands according to the LyX naming conventions
(toggle-tooltip => tooltip-toggle, *-change(s) => change(s)-*)

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

18 years agoGlade tweakage: make OK button default in citation dialog
John Spray [Mon, 8 May 2006 14:47:03 +0000 (14:47 +0000)]
Glade tweakage: make OK button default in citation dialog

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

18 years agoreplaced last convenience class in iconpallete
Edwin Leuven [Mon, 8 May 2006 11:44:37 +0000 (11:44 +0000)]
replaced last convenience class in iconpallete

browsebox is not build anymore and commented out in bulletsmodule

bullets are disabled in documentdialog: wasn't working before either

remove qt3support!

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

18 years agoscons build system: a few cygwin-related fixes.
Bo Peng [Mon, 8 May 2006 03:37:49 +0000 (03:37 +0000)]
scons build system: a few cygwin-related fixes.
* SConstruct: pass -Wl, options correctly
* scons_utils.py: find boost libraries with more complex names
* qt4.py: fix a bug regarding the use of pkg_config
* src/SConscript: build a static library for src/*

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

18 years agoscons-based build system, by Bo Peng (ben.bob@gmail.com)
Bo Peng [Sun, 7 May 2006 22:44:54 +0000 (22:44 +0000)]
scons-based build system, by Bo Peng (ben.bob@gmail.com)
* SConstruct: main SConstruct file
* scons_utils.py: utility functions
* qt4.py: qt4 support is not yet official, and I have to patch this file
* src/SConscript
* src/insets/SConscript
* src/graphics/SConscript
* src/mathed/SConscript
* src/frontends/qt3/SConscript
* src/frontends/qt4/SConscript
* src/frontends/SConscript
* src/frontends/controllers/SConscript
* src/support/SConscript
* src/client/SConscript
* src/tex2lyx/SConscript
* boost/libs/SConscript
* boost/libs/signals/src/SConscript
* boost/libs/filesystem/src/SConscript
* boost/libs/iostreams/src/SConscript
* boost/libs/regex/src/SConscript

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

18 years agoImplement GUI for fixed size math delimiters (by Enrico Forestieri and me):
Georg Baum [Sun, 7 May 2006 10:51:19 +0000 (10:51 +0000)]
Implement GUI for fixed size math delimiters (by Enrico Forestieri and me):
* src/lfuns.h
(enum kb_action): New lfun LFUN_MATH_BIGDELIM

* src/LyXAction.C
(void LyXAction::init): New lfun LFUN_MATH_BIGDELIM

* src/mathed/math_nestinset.C
(void MathNestInset::doDispatch): remove debug message
(void MathNestInset::doDispatch): remove LFUN_MATH_DELIM test for
multiple cells (now in getStatus)
(void MathNestInset::doDispatch): Handle LFUN_MATH_BIGDELIM
(bool MathNestInset::getStatus): Disable LFUN_MATH_DELIM and
LFUN_MATH_BIGDELIM when the selection spans multiple cells

* src/frontends/qt3/ui/QDelimiterDialogBase.ui
Added a combobox for selecting delimiter size.

* src/frontends/qt3/QDelimiterDialog.[Ch]
(fix_name, QDelimiterDialog, insertClicked, size_selected):
Allow for fixed size delimiters.

* src/frontends/gtk/GMathDelim.C: Add FIXME commnent for fixed size
delimiters
* src/frontends/qt4/QDelimiterDialog.C: ditto
* src/frontends/xforms/FormMathsDelim.C: ditto

* src/frontends/controllers/ControlMath.[Ch]:
Added dispatchBigDelim() to deal with fixed size delimiters.

* src/text3.C
(void LyXText::dispatch): Handle LFUN_MATH_BIGDELIM
(bool LyXText::getStatus): ditto

* src/ToolbarBackend.C
(string const ToolbarBackend::getIcon): Handle LFUN_MATH_BIGDELIM

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

18 years agogetting rid of qt4 convenience classes:
Edwin Leuven [Sun, 7 May 2006 10:20:43 +0000 (10:20 +0000)]
getting rid of qt4 convenience classes:

Index: src/frontends/qt4/QCitationDialog.C
Index: src/frontends/qt4/QCitationDialog.h
Index: src/frontends/qt4/ui/QCitationFindUi.ui

Index: src/frontends/qt4/QPrefsDialog.C
Index: src/frontends/qt4/QPrefsDialog.h
Index: src/frontends/qt4/ui/QPrefColorsUi.ui
Index: src/frontends/qt4/ui/QPrefCopiersUi.ui
Index: src/frontends/qt4/ui/QPrefFileformatsUi.ui
Index: src/frontends/qt4/ui/QPrefConvertersUi.ui

Index: src/frontends/qt4/QParagraphDialog.C

no more qt3 drag n drop:

Index: src/frontends/qt4/QWorkArea.C

as discussed on list:

Index: src/frontends/qt4/QLyXKeySym.C
Index: src/frontends/qt4/QLyXKeySym.h

bit of repair here:

Index: src/frontends/qt4/ui/QAboutUi.ui
Index: src/frontends/qt4/QAbout.C

bit of cleaning here (no separate color column, but rather icon)

Index: src/frontends/qt4/QBranches.C

got rid of this altogether:

Index: src/frontends/qt4/qcoloritem.C
Index: src/frontends/qt4/qcoloritem.h
Index: src/frontends/qt4/Makefile.am

+ filedialog to qt4 one

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

18 years agoRemove <climits> for pch.h as this header is not used anywhere in the qt4 frontend.
Abdelrazak Younes [Sat, 6 May 2006 14:41:23 +0000 (14:41 +0000)]
Remove <climits> for pch.h as this header is not used anywhere in the qt4 frontend.

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

18 years agoRemove "limits.h" for pch.h as this header is not used anywhere in the qt4 frontend.
Abdelrazak Younes [Sat, 6 May 2006 13:58:41 +0000 (13:58 +0000)]
Remove "limits.h" for pch.h as this header is not used anywhere in the qt4 frontend.

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

18 years ago src/paragraph.h:
Michael Schmitt [Fri, 5 May 2006 23:11:19 +0000 (23:11 +0000)]
src/paragraph.h:
src/BufferView_pimpl.C:
src/lyxfunc.C:
src/paragraph_funcs.C:
src/lyxfind.C:
src/bufferparams.h:
src/rowpainter.C:
src/paragraph.C:
src/text.C: rename methods: lookupChange => lookupChangeType,
lookupChangeFull => lookupChange

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

18 years agorename LFUN enum values according to their command (as used in th minibuffer/bind...
André Pönitz [Fri, 5 May 2006 20:23:12 +0000 (20:23 +0000)]
rename LFUN enum values according to their command (as used in th minibuffer/bind files

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

18 years agoUpdate templates and examples to latest file format
José Matox [Fri, 5 May 2006 10:26:53 +0000 (10:26 +0000)]
Update templates and examples to latest file format

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

18 years ago Restore the caption inset to functionality on-screen
Martin Vermeer [Fri, 5 May 2006 05:51:51 +0000 (05:51 +0000)]
Restore the caption inset to functionality on-screen

* insetcaption.[Ch]

(InsetCaption::draw): draw label with surrounding-float-sensitive name
and true counter number
cursorPos, metrics, edit, editXY: add

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

18 years agogetting rid of even more qt3 convenience classes and unused headers...
Edwin Leuven [Thu, 4 May 2006 07:31:46 +0000 (07:31 +0000)]
getting rid of even more qt3 convenience classes and unused headers...

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

18 years agoA small fix to the auto-cls-layout feature (r13611), by Bo Peng (ben.bob@gmail.com)
Bo Peng [Thu, 4 May 2006 02:38:11 +0000 (02:38 +0000)]
A small fix to the auto-cls-layout feature (r13611), by Bo Peng (ben.bob@gmail.com)
* src/lyxtextclass.[hC] improve load(path) function.

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

18 years agoget rid of convenience classes in the following dialogs (and associated implementatio...
Edwin Leuven [Wed, 3 May 2006 19:51:15 +0000 (19:51 +0000)]
get rid of convenience classes in the following dialogs (and associated implementation files):

Index: src/frontends/qt4/ui/QErrorListUi.ui
Index: src/frontends/qt4/ui/QExternalUi.ui
Index: src/frontends/qt4/ui/QSendtoUi.ui
Index: src/frontends/qt4/ui/QSpellcheckerUi.ui
Index: src/frontends/qt4/ui/QThesaurusUi.ui
Index: src/frontends/qt4/ui/QTexinfoUi.ui
Index: src/frontends/qt4/ui/QRefUi.ui

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

18 years ago * configure.py: reinstantiate part of removeExtraFiles that was
Jean-Marc Lasgouttes [Wed, 3 May 2006 13:32:42 +0000 (13:32 +0000)]
* configure.py: reinstantiate part of removeExtraFiles that was
removed by mistake. Add removal of chklatex.{ltx,log}.

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

18 years agoReplace Q3ListBox with QListWidget:
Edwin Leuven [Tue, 2 May 2006 19:17:59 +0000 (19:17 +0000)]
Replace Q3ListBox with QListWidget:

 * QBibtexDialog.C
 * QBibtex.C
 * QBibtexUi.ui
 * QBibtexAddUi.ui

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

18 years ago * src/frontends/qt3/moc/Makefile.am: Remove extra qt3 include path
Georg Baum [Tue, 2 May 2006 13:07:38 +0000 (13:07 +0000)]
* src/frontends/qt3/moc/Makefile.am: Remove extra qt3 include path
* src/frontends/qt3/ui/moc/Makefile.am: ditto
* src/frontends/qt3/ui/*.ui: Add extra includes to the
implementation rather than the declaration

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

18 years ago * src/lyx_main.C (readRcFile): do not report an error if file is not
Jean-Marc Lasgouttes [Tue, 2 May 2006 12:53:48 +0000 (12:53 +0000)]
* src/lyx_main.C (readRcFile): do not report an error if file is not
found.
(init): read lyxrc.dist before lyxrc.defaults; remove code to read
lyxrc (LyX 1.1.5 compatibility code).

* src/encoding.C (read):
* src/language.C (read): set debug to the INFO channel.

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

18 years agoConvert ui files to qt3 format:
Georg Baum [Mon, 1 May 2006 09:16:50 +0000 (09:16 +0000)]
Convert ui files to qt3 format:
* src/frontends/qt3/moc/Makefile.am: Add src/frontends/qt3 to includes
* src/frontends/qt3/ui/moc/Makefile.am: ditto

* src/frontends/qt3/ui/*.ui: Convert to qt3 format, no functional
change

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

18 years agoCode cleanup of \bigl related stuff:
Georg Baum [Mon, 1 May 2006 08:05:22 +0000 (08:05 +0000)]
Code cleanup of \bigl related stuff:
* src/cursor.C
(LCursor::plainInsert): Move special \bigl stuff from here to
MathNestInset::interpret
(LCursor::macroModeClose): try to intepret the current macro before
it is simply inserted

* src/mathed/math_nestinset.C
(MathNestInset::doDispatch): try to intepret the argument of
LFUN_SELFINSERT also if it is longer than one character

* src/mathed/math_nestinset.[Ch]
(MathNestInset::interpret): new, moved from LCursor::plainInsert

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

18 years ago * depend.py: set PYTHONPATH so that python files
Lars Gullik Bjønnes [Mon, 1 May 2006 07:41:41 +0000 (07:41 +0000)]
* depend.py: set PYTHONPATH so that python files
          in build dir is found
        * Makefile.depend: regenerated

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

18 years agoCygwin compatibility fix from Enrico
Bo Peng [Sat, 29 Apr 2006 13:43:19 +0000 (13:43 +0000)]
Cygwin compatibility fix from Enrico
* lib/configure.py: specify dir for mkstemp

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

18 years agoAdd document->compressed menu item, by Bo Peng (ben.bob@gmail.com)
Bo Peng [Fri, 28 Apr 2006 16:13:35 +0000 (16:13 +0000)]
Add document->compressed menu item, by Bo Peng (ben.bob@gmail.com)
* src/LyXAction.C, src/lfuns.h: add LFUN_TOGGLE_COMPRESSION
* src/BufferView_pimpl.C: react to menu item
* lib/ui/stdmenus.ui: add buffer_toggle_compression

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

18 years agoFix a few issues with session/lastopenedfiles, Bo Peng (ben.bob@gmail.com)
Bo Peng [Fri, 28 Apr 2006 14:29:38 +0000 (14:29 +0000)]
Fix a few issues with session/lastopenedfiles, Bo Peng (ben.bob@gmail.com)
* src/bufferlist.C: save opened file list here, do not save slave document
* src/lyxfunc.C: not here
* src/session.[nC]: change to single file addition
* src/lyx_main.C: needed change because of single file addition

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

18 years agocompilation fix.
Abdelrazak Younes [Fri, 28 Apr 2006 14:16:21 +0000 (14:16 +0000)]
compilation fix.

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

18 years ago* text3.C:void LyXText::dispatch(LCursor & cur, FuncRequest & cmd)
Abdelrazak Younes [Fri, 28 Apr 2006 13:02:05 +0000 (13:02 +0000)]
* text3.C:void LyXText::dispatch(LCursor & cur, FuncRequest & cmd)
  For LFUN_PARAGRAPH_MOVE_DOWN and LFUN_PARAGRAPH_MOVE_UP call:
    void updateLabels(Buffer const & buf,
        ParIterator & from, ParIterator & to)
  instead of:
    void updateLabels(Buffer const & buf,
        ParIterator & iter)

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

18 years ago* QToc.[Ch], QTocDialog.[Ch]: adaptation to ControlToc changes in r13772
Abdelrazak Younes [Fri, 28 Apr 2006 09:16:48 +0000 (09:16 +0000)]
* QToc.[Ch], QTocDialog.[Ch]: adaptation to ControlToc changes in r13772
* TocModel.[Ch]: small cleanup + eol-style set to native

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

18 years agoBrown paper bag for r13772
Martin Vermeer [Fri, 28 Apr 2006 07:45:37 +0000 (07:45 +0000)]
Brown paper bag for r13772

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

18 years ago Change capitalization for outline (DOWN -> Down etc.)
Martin Vermeer [Fri, 28 Apr 2006 07:28:10 +0000 (07:28 +0000)]
Change capitalization for outline (DOWN -> Down etc.)

* BufferView_pimpl.C
(BufferView::Pimpl::dispatch): change

* frontends/controllers/ControlToc.C
(ControlToc::outline): replace by outlineUp ... outlineOut

* toc.[Ch]
(outline): change

* frontends/qt3/QToc.C
(QToc::set_depth): change

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

18 years agoAdd lyxrc.use_lastfilepos and load_session to the qt4 preference dialog.
Bo Peng [Thu, 27 Apr 2006 18:19:14 +0000 (18:19 +0000)]
Add lyxrc.use_lastfilepos and load_session to the qt4 preference dialog.
* src/frontends/qt4/QPrefsDialog.C, connect checkboxes to lyxrc
* src/frontends/qt4/ui/QPrefUi.ui, add two checkboxes.

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

18 years agoRemove USE_COMPRESSION and force the use of zlib, by Bo Peng (ben.bob@gmail.com)
Bo Peng [Thu, 27 Apr 2006 18:14:36 +0000 (18:14 +0000)]
Remove USE_COMPRESSION and force the use of zlib, by Bo Peng (ben.bob@gmail.com)
* src/lyxlex_pimpl.[hC], src/buffer.C, src/tex2lyx/Makefile.am: remove USE_COMPRESSION
* configure.ac: check for zlib.h and libz.

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

18 years ago * src/support/package.C.in (get_build_dirs): Look at Makefile
Jean-Marc Lasgouttes [Thu, 27 Apr 2006 16:44:43 +0000 (16:44 +0000)]
* src/support/package.C.in (get_build_dirs): Look at Makefile
          instead of lyxrc.defaults. Simplify the check for
          chkconfig.ltx.

* configure.ac: do not run lib/configure.py

* lib/doc/Makefile.am: LaTeXConfig.lyx is not generated anymore.

* lib/configure.py (removeExtraFiles): remove.

* lib/Makefile.am: no files are generated in there.

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

18 years ago * src/support/package.C.in (relative_locale_dir): fix for Windows and OSX.
Jean-Marc Lasgouttes [Thu, 27 Apr 2006 12:57:30 +0000 (12:57 +0000)]
* src/support/package.C.in (relative_locale_dir): fix for Windows and OSX.

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

18 years ago * config/lyxinclude.m4 (LYX_USE_PACKAGING): do not set program_suffix for
Jean-Marc Lasgouttes [Thu, 27 Apr 2006 12:55:04 +0000 (12:55 +0000)]
* config/lyxinclude.m4 (LYX_USE_PACKAGING): do not set program_suffix for
windows packaging.

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

18 years ago * src/mathed/math_biginset.[Ch]
Georg Baum [Thu, 27 Apr 2006 07:55:25 +0000 (07:55 +0000)]
* src/mathed/math_biginset.[Ch]
(infoize2): Implement to show name if the cursor is to the right

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

18 years ago * lib/layouts/IEEEtran.layout: Add biographynophoto style
Georg Baum [Thu, 27 Apr 2006 07:27:01 +0000 (07:27 +0000)]
* lib/layouts/IEEEtran.layout: Add biographynophoto style

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

18 years agoFix bug 2546:
Georg Baum [Thu, 27 Apr 2006 06:56:04 +0000 (06:56 +0000)]
Fix bug 2546:
* src/tex2lyx/text.C
(parse_arguments): Eat space in front of required arguments

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

18 years agoAdding PARAGRAPH_MOVE_UP/DOWN + key bindings:
Edwin Leuven [Wed, 26 Apr 2006 22:43:26 +0000 (22:43 +0000)]
Adding PARAGRAPH_MOVE_UP/DOWN + key bindings:

   * src/LyXAction.C
   * src/text3.C
   * src/lfuns.h
   * lib/bind/cua.bind
   * lib/bind/sciword.bind
   * lib/bind/xemacs.bind
   * lib/bind/emacs.bind
   * lib/bind/mac.bind

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

18 years ago Outlining improvements/fixes
Martin Vermeer [Wed, 26 Apr 2006 17:43:03 +0000 (17:43 +0000)]
Outlining improvements/fixes

* LyXAction.C
(LyXAction::init): add LFUN_OUTLINE_(UP|DOWN|IN|OUT)

* BufferView_pimpl.C
(BufferView::Pimpl::getStatus):
(BufferView::Pimpl::dispatch): handling of new LFUNS

* frontends/controllers/ControlToc.C
(ControlToc::canOutline): modify dispatch logic

* lfuns.h
(kb_action): add LFUNs

* toc.[Ch]
(outline): changes

* TocBackend.h: modifify == operator for Item

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

18 years ago * text.C (numberOfHfills): do not forget to count the last hfill
Jean-Marc Lasgouttes [Wed, 26 Apr 2006 13:36:12 +0000 (13:36 +0000)]
* text.C (numberOfHfills): do not forget to count the last hfill
(bug 2509).

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

18 years agoGet rid of dos end-of-lines
Abdelrazak Younes [Wed, 26 Apr 2006 13:34:35 +0000 (13:34 +0000)]
Get rid of dos end-of-lines

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

18 years agoGet rid of dos end-of-lines
Abdelrazak Younes [Wed, 26 Apr 2006 13:33:51 +0000 (13:33 +0000)]
Get rid of dos end-of-lines

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