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