]> git.lyx.org Git - lyx.git/log
lyx.git
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

18 years ago * lib/configure.py: Don't use TeX in the the names of formats latex
Georg Baum [Wed, 26 Apr 2006 11:12:39 +0000 (11:12 +0000)]
* lib/configure.py: Don't use TeX in the the names of formats latex
and pdflatex, use LaTeX instead.

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

18 years agoAdd lyxrc.use_lastfilepos and load_session to the preference dialog. Bo Peng (ben...
Bo Peng [Tue, 25 Apr 2006 22:22:11 +0000 (22:22 +0000)]
Add lyxrc.use_lastfilepos and load_session to the preference dialog. Bo Peng (ben.bob@gmail.com)
* src/frontends/qt3/QPrefs.C, QPrefsDialog.C, ui/QPrefUIModule.ui: add two checkboxes
* src/lyxrc.C: turn off load_session by default (since we now can turn it on)

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

18 years ago * src/LaTeX.C
Georg Baum [Tue, 25 Apr 2006 08:22:58 +0000 (08:22 +0000)]
* src/LaTeX.C
(LaTeX::scanLogFile): remove \0 characters inserted by MikTeX before
further processing
(LaTeX::deplog): likewise

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

18 years agoRemove unneeded bzip2 support Bo Peng (ben.bob@gmail.com)
Bo Peng [Tue, 25 Apr 2006 04:48:06 +0000 (04:48 +0000)]
Remove unneeded bzip2 support  Bo Peng (ben.bob@gmail.com)
* boost/libs/iostreams/src/bzip2.cpp remove since it requires bzip2.h
* boost/libs/iostreams/src/Makefile.am remove bzip2.cpp

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

18 years agoundo compilation fix
Georg Baum [Mon, 24 Apr 2006 15:07:24 +0000 (15:07 +0000)]
undo compilation fix

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

18 years agoAdd the const-ized functions that GExternal needs.
John Spray [Mon, 24 Apr 2006 14:22:32 +0000 (14:22 +0000)]
Add the const-ized functions that GExternal needs.

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

18 years agomake GExternal.C compile. GTK people, please fix this!!
Georg Baum [Mon, 24 Apr 2006 14:17:16 +0000 (14:17 +0000)]
make GExternal.C compile. GTK people, please fix this!!

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

18 years ago* Rename src/frontends/qt2 to src/frontends/qt3,
Lars Gullik Bjønnes [Mon, 24 Apr 2006 13:48:24 +0000 (13:48 +0000)]
* Rename src/frontends/qt2 to src/frontends/qt3,
  update users of the dir accordingly.

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

18 years agoupdate ignore, and make sure to dist the lyx2lyx_version.py.in template file
Lars Gullik Bjønnes [Mon, 24 Apr 2006 13:34:16 +0000 (13:34 +0000)]
update ignore, and make sure to dist the lyx2lyx_version.py.in template file

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

18 years agochange string "qt2" to "qt4"
Lars Gullik Bjønnes [Mon, 24 Apr 2006 13:25:50 +0000 (13:25 +0000)]
change string "qt2" to "qt4"

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

18 years agoadd support for naustrian; fix locale for austrian
Jean-Marc Lasgouttes [Mon, 24 Apr 2006 12:28:52 +0000 (12:28 +0000)]
add support for naustrian; fix locale for austrian

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

18 years agoGerman documentation update (again)
Jean-Marc Lasgouttes [Mon, 24 Apr 2006 09:48:55 +0000 (09:48 +0000)]
German documentation update (again)

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

18 years agoGerman documentation update
Jean-Marc Lasgouttes [Mon, 24 Apr 2006 09:42:17 +0000 (09:42 +0000)]
German documentation update

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

18 years agoHungarian documentation update
Jean-Marc Lasgouttes [Mon, 24 Apr 2006 09:32:21 +0000 (09:32 +0000)]
Hungarian documentation update

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

18 years agosimple two one-liner fixes to show all toc items.
Abdelrazak Younes [Sun, 23 Apr 2006 09:25:25 +0000 (09:25 +0000)]
simple two one-liner fixes to show all toc items.

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

18 years agoRev. 13714 has a wrong fix, I just erased empty_toc_ and replaced that with an BOOST_...
Abdelrazak Younes [Sat, 22 Apr 2006 21:56:46 +0000 (21:56 +0000)]
Rev. 13714 has a wrong fix, I just erased empty_toc_ and replaced that with an BOOST_ASSERT.

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

18 years agoFix compile with enable-concept-check.
Abdelrazak Younes [Sat, 22 Apr 2006 21:46:32 +0000 (21:46 +0000)]
Fix compile with enable-concept-check.

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

18 years ago* TocBackend.[Ch]: new files defining class TocBackend. This class contains adapted...
Abdelrazak Younes [Sat, 22 Apr 2006 18:48:28 +0000 (18:48 +0000)]
* TocBackend.[Ch]: new files defining class TocBackend. This class contains adapted code from former toc.C

* toc.[Ch]:
    - rewritten to take advantage of new TocBackend class. The toc
    cache is implemented as a static variable:
    static map<Buffer const *, lyx::TocBackend> toc_backend_;

* buffer_funcs.C:
    updateLabels(Buffer const & buf) now calls
    "lyx::toc::updateToc(buf);"

* pariterator.h: added default constructor
    ParConstIterator(): DocIterator() {}

* insetfloat.C: added pit parameter to TocItem construction

* insetwrap.C: added pit parameter to TocItem construction

* MenuBackend.C: use a const ref instead of a copy of TocList

* ControlToc.[Ch]: optimisation of the API by using const reference instead of copy.

* qt4/TocPanel.[Ch]:
    - optimisation of the API by using const reference instead of
    copy
    - directly use of TocBackend::TocIterator instead of identification by paragraph contents.

* qt4/QToc.C:
    - optimisation of the API by using const reference instead of
    copy
    - makes use of TocBackend::Item::uid()

* qt2/QToc.C:
    - use TocItem::depth() and TocItem::str() instead of public member access.

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

18 years ago * src/lyxrc.C: Fix typo in LyXRC::write
Georg Baum [Sat, 22 Apr 2006 16:49:19 +0000 (16:49 +0000)]
* src/lyxrc.C: Fix typo in LyXRC::write

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

18 years agoFix bug 2285 (tex2lyx is not found by lib/configure when compiling with
Georg Baum [Sat, 22 Apr 2006 11:58:02 +0000 (11:58 +0000)]
Fix bug 2285 (tex2lyx is not found by lib/configure when compiling with
--with-version-suffix):

* src/lyx_cb.C
(reconfigure): get the configure command from package()

* src/lyx_main.C
(showFileError): ditto

* src/support/package.[Ch]
(configure_command): new, return the configure command

* src/support/package.C.in
(with_version_suffix): new, return the version suffix argument
of the configure command

* src/support/Makefile.am
(package.C.in): substitute %PROGRAM_SUFFIX% in package.C.in

* config/lyxinclude.m4: substitute program_suffix

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

18 years ago Grey out outlining movement buttons for non-ToC
Martin Vermeer [Fri, 21 Apr 2006 22:51:39 +0000 (22:51 +0000)]
Grey out outlining movement buttons for non-ToC

* qt2/QTocDialog.[Ch]: Add enableButtons

* qt2/QToc.[Ch]
(QToc::build_dialog):
(QToc::updateType):
(QToc::updateToc):
(QToc::updateToc):
(QToc::set_depth): Change update logic

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

18 years agoFrom Angus:
Georg Baum [Fri, 21 Apr 2006 15:15:55 +0000 (15:15 +0000)]
From Angus:
Enable lib/configure.py to find tex2lyx if the path to it contains spaces.

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

18 years agoReplace gzstream by boost::iostreams::gzip_(de)compressor: by Bo Peng (ben.bob@gmail...
Bo Peng [Fri, 21 Apr 2006 06:42:17 +0000 (06:42 +0000)]
Replace gzstream by boost::iostreams::gzip_(de)compressor: by Bo Peng (ben.bob@gmail.com)
* src/buffer.C, use filtering_ostream
* src/lyxlex_pimpl.h, .C, use filtering_istreambuf
* src/Makefile.am,  src/support/Makefile.am, src/tex2lyx/Makefile.am, use BOOST_IOSTREAMS
* remove src/support/gzstream.h, .C
* add needed boost files boost/boost/iostreams/device/file_descriptor.hpp,
     device/mapped_file.hpp, detail/system_failure.hpp,
 detail/config/windows_posix.hpp

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

18 years ago * Add the iostreams and range libs to our copy of boost
Lars Gullik Bjønnes [Thu, 20 Apr 2006 20:44:05 +0000 (20:44 +0000)]
* Add the iostreams and range libs to our copy of boost
* Make sure that no source files in boost are executable
* Make sure that all boost files are marked with eol-style native
* configure.ac: setup for new iostreams boost binary lib
* config/common.am: add boost iostreams variable

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

18 years agoFrom Enrico Forestieri:
Georg Baum [Thu, 20 Apr 2006 16:59:51 +0000 (16:59 +0000)]
From Enrico Forestieri:
* lib/scripts/TeXFiles.sh:
Account for Cygwin teTeX on Windows.

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

18 years ago* src/lyxfunc.C (void LyXFunc::dispatch):
Jürgen Spitzmüller [Thu, 20 Apr 2006 14:51:23 +0000 (14:51 +0000)]
* src/lyxfunc.C (void LyXFunc::dispatch):
don't update the screen after saving (avoids scrolling back to
cursor)

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

18 years agoMake MathBigInset working
Georg Baum [Thu, 20 Apr 2006 09:55:45 +0000 (09:55 +0000)]
Make MathBigInset working
        * src/cursor.C
        (LCursor::plainInsert): combine the previous math atom with the new
        one to a MathBigInset if possible

        * src/mathed/math_biginset.[Ch]
        (MathBigInset::name): implement
        (MathBigInset::isBigInsetDelim): new, test whether a given token is
        a valid MathBigInset delimiter

        * src/mathed/math_biginset.C
        (MathBigInset::size): handle Big, Bigg and Biggg
        (MathBigInset::increase): ditto
        (MathBigInset::draw): fix deco drawing
        (MathBigInset::write): append space if necessary

        * src/mathed/math_factory.C
        (createMathInset): handle l->inset == "big"

        * src/mathed/math_parser.C
        (Token::asInput): return a token as input, stolen from tex2lyx
        (void Parser::parse1): Create a MathBigInset when needed

* src/mathed/math_support.C:
(deco_table): add lbrace and rbrace

        * src/mathed/math_nestinset.C
        (MathNestInset::interpret): combine the previous math atom with the
        new character to a MathBigInset if possible

        * src/ParagraphParameters.C
        (findToken): move from here

        * src/support/lstrings.[Ch]
        (findToken): to here

        * lib/symbols: add MathBigInset symbols

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

18 years agoFix bug 2476:
Georg Baum [Thu, 20 Apr 2006 08:42:01 +0000 (08:42 +0000)]
Fix bug 2476:
* src/CutAndPaste.C
(resetOwnerAndChanges): rename to resetParagraph and reset the
language of ERT paragraphs, too
(copySelectionHelper): adapt to changes above
(cutSelection): ditto
(copySelection): ditto

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

18 years ago * lyx_1_4.py
Martin Vermeer [Thu, 20 Apr 2006 07:43:29 +0000 (07:43 +0000)]
* lyx_1_4.py
(convert_minipage): Proper handling of default height and
vertical position (bug report Garst Reese)

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

18 years ago * BufferView_pimpl.C
Martin Vermeer [Thu, 20 Apr 2006 06:50:26 +0000 (06:50 +0000)]
* BufferView_pimpl.C
(BufferView::Pimpl::dispatch): prevent crash with section header
not in the main lyxtext

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

18 years agoTwo ways toc navigation:
Abdelrazak Younes [Wed, 19 Apr 2006 14:48:22 +0000 (14:48 +0000)]
Two ways toc navigation:

* Toc.[Ch]: new function getCurrentTocItem()
* ControlToc.[Ch]: new function getCurrentTocItem()
* QToc.[Ch]: new function getCurrentIndex()
* QTocDialog.C
  - QTocDialog::update() calls QToc::getCurrentIndex()

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

18 years agoCommit Bernhard Reiter's implementation of GExternal
John Spray [Wed, 19 Apr 2006 09:13:54 +0000 (09:13 +0000)]
Commit Bernhard Reiter's implementation of GExternal

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

18 years agoChanges to External controller for GTK implementation
John Spray [Wed, 19 Apr 2006 09:11:25 +0000 (09:11 +0000)]
Changes to External controller for GTK implementation

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

18 years ago* ControlToc.[Ch]
Abdelrazak Younes [Tue, 18 Apr 2006 09:57:47 +0000 (09:57 +0000)]
* ControlToc.[Ch]
 - bool ControlToc::canOutline(): new method to test if outline is possible.
* TocModel: new class
* QToc is now the controller (inheriting ControlToc directly) and the model (using TocModel)
* QTocDialog is now only the view (inheriting Dialogs::View directly)
* Dialogs.C: updated toc controller and view correspondingly

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

18 years ago * src/frontends/qt2/QWorkArea.C: fix compilation on OS X
Georg Baum [Mon, 17 Apr 2006 16:44:37 +0000 (16:44 +0000)]
* src/frontends/qt2/QWorkArea.C: fix compilation on OS X

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

18 years ago* src/buffer_funcs.[Ch]
Abdelrazak Younes [Sun, 16 Apr 2006 14:19:25 +0000 (14:19 +0000)]
* src/buffer_funcs.[Ch]
 - updateCounters renamed to updateLabels
 - void updateLabels(Buffer const & buf,
   ParIterator & it): new convenience function
 - void updateLabels(Buffer const & buf,
   ParIterator & from, ParIterator & to): new convenience function
 - setCounter renamed to setLabel
 - bool tryToUpdateCurrentLabel(Buffer const & buf,
   ParIterator & it): new method
 - needsUpdateCounters: deleted

* src/BufferView_pimpl.C
* src/CutAndPaste.C
* src/frontends/controllers/ControlDocument.C
* src/lyxfunc.C
* src/text.C
* src/text2.C
* src/text3.C
 - fixed the calls to updateLabels

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

18 years ago* src/frontends/qt4/QTocDialog.C: Hide the pointless QHeader
Jürgen Spitzmüller [Sun, 16 Apr 2006 08:33:30 +0000 (08:33 +0000)]
* src/frontends/qt4/QTocDialog.C: Hide the pointless QHeader

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

18 years ago* src/frontends/qt4/QTocDialog.C
Jürgen Spitzmüller [Sat, 15 Apr 2006 17:56:20 +0000 (17:56 +0000)]
* src/frontends/qt4/QTocDialog.C
(updateToc, populateItem): fix the logic of depth calculation.

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

18 years agoadd -D_CYGWIN_WIN whenever cygwin without x is selected.
Abdelrazak Younes [Sat, 15 Apr 2006 16:19:15 +0000 (16:19 +0000)]
add -D_CYGWIN_WIN whenever cygwin without x is selected.

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

18 years ago * src/frontends/qt4/ui/QTocUi.ui: lay out in a grid.
Jürgen Spitzmüller [Sat, 15 Apr 2006 15:50:13 +0000 (15:50 +0000)]
    * src/frontends/qt4/ui/QTocUi.ui: lay out in a grid.

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

18 years agoDon't jump back to cursor on inset clicking:
Jürgen Spitzmüller [Sat, 15 Apr 2006 15:10:03 +0000 (15:10 +0000)]
Don't jump back to cursor on inset clicking:
* src/insets/insetcollapsable.C
(void InsetCollapsable::doDispatch): undispatch cursor after lmb button click.
* src/insets/insettabular.C
(void InsetTabular::doDispatch):  undispatch cursor after rmb click.
* src/insets/insetref.C
(void InsetRef::doDispatch):  undispatch cursor after rmb click.
* src/text3.C
(void LyXText::dispatch): set cursor also after rmb click.

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

18 years agoFrom Enrico Forestieri:
Georg Baum [Sat, 15 Apr 2006 14:46:12 +0000 (14:46 +0000)]
From  Enrico Forestieri:
* src/support/os_win32.C
(init, latex_path, cygwin_path_fix): Add support for cygwin tetex.

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

18 years agoInitial Qt4 support for view-source feature (r13610), from Bo Peng (ben.bob@gmail...
Bo Peng [Sat, 15 Apr 2006 14:13:41 +0000 (14:13 +0000)]
Initial Qt4 support for view-source feature (r13610), from Bo Peng (ben.bob@gmail.com)
* add src/frontend/qt4/QViewSource.h/C, QViewSourceDialog.h/C, ui/QViewSourceUi.ui
* modify corresponding qt4/Makefile.am Makefile.dialogs, Dialogs.C

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

18 years agoMuch better performance when using natbib (bug 2460):
Jürgen Spitzmüller [Sat, 15 Apr 2006 11:46:17 +0000 (11:46 +0000)]
Much better performance when using natbib (bug 2460):

* src/BufferView_pimpl.C
(bool BufferView::Pimpl::dispatch): update bibfiles cache after adding or
deleting a bib database
* src/buffer.C
(bool Buffer::readDocument): update bibfiles cache after the document
was read
* src/buffer.[Ch]
(void Buffer::updateBibfilesCache): new method to build or update a cached
vector with all used bibtex databases.
(void Buffer::getBibfilesCache): new method that returns the actual cache.
(Buffer * Buffer::getMasterBuffer): new (non-const) method to get the buffer
of the master document

* src/insets/insetbibtex.C
(void InsetBibtex::doDispatch): update the bibfiles cache after the inset has
been modified.
* src/insets/insetinclude.C.
(void Insetinclude::doDispatch): update the bibfiles cache after the inset
has Been modified.
* src/insets/insetinclude.[Ch]:
(void Insetinclude::updateBibfilesCache): new method to build or update
a cached vector with all used bibtex databases.
(void Insetinclude::getBibfilesCache): new method that returns the actual
cache.
* src/insets/insetcite.C
(string const getNatbibLabel): store a map of timestamps for all used bibtex
files (buffer's bibfiles cache) and rebuild the list of keys only if the timestamps
or the list of files have changed. This is the actual performance boost.

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

18 years agoImplement \phantom, \hphantom and \vphantom in math (bug 1473):
Georg Baum [Sat, 15 Apr 2006 09:54:24 +0000 (09:54 +0000)]
Implement \phantom, \hphantom and \vphantom in math (bug 1473):
* src/mathed/math_factory.C
(createMathInset): handle \phantom, \hphantom and \vphantom
* src/mathed/Makefile.am: add math_phantominset.[Ch]
* src/mathed/math_phantominset.[Ch]: new phantom inset

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

18 years ago* get rid of the --export-all-symbol in order to speed-up linking time
Abdelrazak Younes [Fri, 14 Apr 2006 15:10:16 +0000 (15:10 +0000)]
* get rid of the --export-all-symbol in order to speed-up linking time
* put two TODO in comments

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

18 years ago * src/LaTeXFeatures.C
Jürgen Spitzmüller [Fri, 14 Apr 2006 14:30:43 +0000 (14:30 +0000)]
    * src/LaTeXFeatures.C
        (char const * simplefeatures[]): add tipa

        * src/mathed/math_fontinset.C
        (void MathFontInset::validate): textipa requires tipa

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

18 years agouse const_cast<QWorkArea*> instead of C-style cast
Abdelrazak Younes [Thu, 13 Apr 2006 20:44:38 +0000 (20:44 +0000)]
use const_cast<QWorkArea*> instead of C-style cast

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