]>
git.lyx.org Git - features.git/log
Edwin Leuven [Wed, 31 May 2006 14:28:29 +0000 (14:28 +0000)]
make sure we get the correct path in windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13973
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Wed, 31 May 2006 12:53:05 +0000 (12:53 +0000)]
Add new tableinsertwidget
+ Remove table widget from inserttable dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13972
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 31 May 2006 10:34:30 +0000 (10:34 +0000)]
* 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/trunk@13971
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 30 May 2006 13:48:27 +0000 (13:48 +0000)]
src/MenuBackend.C (expandFormats): add default case to switch; handle
UpdateFormat like the others cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13969
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 30 May 2006 13:39:34 +0000 (13:39 +0000)]
fix "posx, posx" typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13968
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 30 May 2006 10:20:35 +0000 (10:20 +0000)]
* src/frontends/*/lyx_gui.C:
* src/frontends/lyx_gui.h: change width and height parameters to unsigned int.
* src/frontends/xforms/lyx_gui.C: compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13967
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 29 May 2006 16:58:14 +0000 (16:58 +0000)]
Scons: initial msvc support, and separate fast_start and load_option options.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13962
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 29 May 2006 16:41:51 +0000 (16:41 +0000)]
* src/support/os_unix.C (canAutoOpenFile, autoOpenFile): add support for Mac
OS X.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13961
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 29 May 2006 16:31:21 +0000 (16:31 +0000)]
adapt lyxrc.dist to autoopen patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13957
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 29 May 2006 16:30:31 +0000 (16:30 +0000)]
rename preferences to lyxrc.dist
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13956
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 29 May 2006 15:51:12 +0000 (15:51 +0000)]
* src/LaTeX.C (run):
fix typo from r13950
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13954
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 29 May 2006 15:11:19 +0000 (15:11 +0000)]
Move window width/height/posx/posy from frontends to lyx_main.C, from Bo Peng (ben.bob@gmail.com)
* src/frontends/ALLFRONTENDS/lyx_gui.C: use passed width/height/posx/posy in lyx_gui::start
* src/frontends/lyx_gui.h: prototype change for lyx_gui::start
* src/lyx_main.C: determine windows size and position from lyxrc or session.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13953
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 29 May 2006 14:59:20 +0000 (14:59 +0000)]
Scons: add option rebuild that rebuild only specified targets, regardless of environment (e.g. CCFLAGS) changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13952
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 29 May 2006 14:56:08 +0000 (14:56 +0000)]
Some MSVC2003/2005 compatibility fixes, from Bo Peng (ben.bob@gmail.com)
* src/support/lyxsum.C: fix HAVE_DECL_ISTREAMBUF_ITERATOR
* src/support/mkdir.C: add direct.h for windows
* src/support/forkedcall.C: add cerrno under windows
* src/support/tempname.C: define S_IRUSR and S_IWUSR
* src/support/package.C.in: define PATH_MAX=256
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13951
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 29 May 2006 14:49:08 +0000 (14:49 +0000)]
fix bug 2623:
* lib/layouts/memoir.layout:
add ProvidesMakeindex
* src/LaTeX.C (run):
rerun latex im idx file is empty (needed by memoir)
fix typo in comment
* src/LaTeXFeatures.C (getPackages):
whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13950
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 29 May 2006 07:38:09 +0000 (07:38 +0000)]
additional comments related to rev 13948
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13949
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 28 May 2006 22:10:33 +0000 (22:10 +0000)]
Fix hang on exit under Windows.
TODO: reorganize this code. In particular make sure that this advise from Qt documentation is respected:
Since the QApplication object does so much initialization, it must be created before any other objects related to the user interface are created.
Right now this is not the case. For example, "FontLoader::initFontPath()" is called before the QApplication creation. Moreover, I suspect that a number of global variables contains Qt object that are initialized before the passage through parse_init(). This might also explain the message displayed by Qt that caused the hanging:
QObject::killTimer: timers cannot be stopped from another thread
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13948
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sun, 28 May 2006 17:02:57 +0000 (17:02 +0000)]
Slight improvement to caption inset
* insetcaption.C
(InsetCaption::setLabel): added
(InsetCaption::metrics): modified
(InsetCaption::draw): modified
* insetcaption.h
(descendable): added
(setCount): added
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13946
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 27 May 2006 19:58:02 +0000 (19:58 +0000)]
Fix for Qt4 crash on exit under linux by Georg Baum and myself.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13943
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 27 May 2006 14:38:34 +0000 (14:38 +0000)]
* src/frontends/qt4/ui/pch.h: remove
* src/frontends/qt4/ui/Makefile.am: remove unused rules
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13942
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 27 May 2006 13:39:11 +0000 (13:39 +0000)]
* src/lyxsocket.C
(LyXServerSocket::~LyXServerSocket): Don't try to unregister and
close fd_ if the socket is disabled (avoids crash on win, from Peter
KÃŒmmel)
(LyXServerSocket::~LyXServerSocket): Check the return value of close()
(LyXDataSocket::~LyXDataSocket): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13941
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 27 May 2006 08:31:22 +0000 (08:31 +0000)]
* lib/configure.py: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13940
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 27 May 2006 07:48:56 +0000 (07:48 +0000)]
* lib/configure.py:
use $$o flag where appropriate (still some cases pending).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13939
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 26 May 2006 15:13:51 +0000 (15:13 +0000)]
add support for dvipdfmx converter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13934
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 25 May 2006 23:33:39 +0000 (23:33 +0000)]
Scons: add more libintl related function/type tests.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13932
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 25 May 2006 22:37:01 +0000 (22:37 +0000)]
Enable Font width caching.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13931
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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