Commit Graph

9609 Commits

Author SHA1 Message Date
Bo Peng
46bf7d0a25 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
2006-05-12 14:21:30 +00:00
Lars Gullik Bjønnes
7192c8fd37 Remove the SConscript files in boost.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13836 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-12 13:29:30 +00:00
Bo Peng
df9bd2cc6d 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
2006-05-11 21:28:13 +00:00
Bo Peng
e1a132eda7 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
2006-05-11 17:20:25 +00:00
Abdelrazak Younes
93adc6658e * 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
2006-05-11 11:50:08 +00:00
Bo Peng
c7fa09fe9f Bug fixes to the scons system.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13831 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-11 05:35:01 +00:00
Bo Peng
bee53b6c8d 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
2006-05-10 21:53:31 +00:00
Lars Gullik Bjønnes
98f299e223 also add the qt4 setup to SConstruct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13826 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-10 18:31:13 +00:00
Lars Gullik Bjønnes
5e3b997b85 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
2006-05-10 18:05:12 +00:00
Lars Gullik Bjønnes
639150def2 Put all targets in one SConstruct file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13824 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-10 17:46:02 +00:00
Bo Peng
26666044d8 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
2006-05-10 05:34:20 +00:00
Bo Peng
42155ade37 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
2006-05-09 20:04:27 +00:00
Jean-Marc Lasgouttes
b01dc72b0e * 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
2006-05-09 15:41:42 +00:00
Bo Peng
97e53edb81 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
2006-05-09 13:01:45 +00:00
Bo Peng
4b5fae61d3 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
2006-05-08 21:03:01 +00:00
Michael Schmitt
10c8081a54 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
2006-05-08 20:30:52 +00:00
Michael Schmitt
1396ade8b1 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
2006-05-08 18:09:19 +00:00
John Spray
39976d4a74 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
2006-05-08 14:47:03 +00:00
Edwin Leuven
f92abd5576 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
2006-05-08 11:44:37 +00:00
Bo Peng
c44d83752d 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
2006-05-08 03:37:49 +00:00
Bo Peng
7168ce58b5 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
2006-05-07 22:44:54 +00:00
Georg Baum
b6c3478eda 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
2006-05-07 10:51:19 +00:00
Edwin Leuven
123cc28dba 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
2006-05-07 10:20:43 +00:00
Abdelrazak Younes
aabf2d6d5a 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
2006-05-06 14:41:23 +00:00
Abdelrazak Younes
668beb6c25 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
2006-05-06 13:58:41 +00:00
Michael Schmitt
d7bcff50a9 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
2006-05-05 23:11:19 +00:00
André Pönitz
da65e2b7fb 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
2006-05-05 20:23:12 +00:00
José Matox
41d309b6fb 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
2006-05-05 10:26:53 +00:00
Martin Vermeer
69429f22f5 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
2006-05-05 05:51:51 +00:00
Edwin Leuven
1032cc5ae8 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
2006-05-04 07:31:46 +00:00
Bo Peng
8e7bbcba29 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
2006-05-04 02:38:11 +00:00
Edwin Leuven
3c4e073313 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
2006-05-03 19:51:15 +00:00
Jean-Marc Lasgouttes
14b3dc43ed * 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
2006-05-03 13:32:42 +00:00
Edwin Leuven
ee3e1bbba7 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
2006-05-02 19:17:59 +00:00
Georg Baum
9e3c2e7cb9 * 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
2006-05-02 13:07:38 +00:00
Jean-Marc Lasgouttes
c1cd75a877 * 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
2006-05-02 12:53:48 +00:00
Georg Baum
f5ca956ab1 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
2006-05-01 09:16:50 +00:00
Georg Baum
143e14045f 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
2006-05-01 08:05:22 +00:00
Lars Gullik Bjønnes
4c7d66bfda * 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
2006-05-01 07:41:41 +00:00
Bo Peng
a83b27130f 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
2006-04-29 13:43:19 +00:00
Bo Peng
8a03d5005c 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
2006-04-28 16:13:35 +00:00
Bo Peng
34770cd68b 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
2006-04-28 14:29:38 +00:00
Abdelrazak Younes
ef442584b7 compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13776 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 14:16:21 +00:00
Abdelrazak Younes
17f05af743 * 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
2006-04-28 13:02:05 +00:00
Abdelrazak Younes
ff83a99e94 * 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
2006-04-28 09:16:48 +00:00
Martin Vermeer
2219197cfe Brown paper bag for r13772
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13773 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 07:45:37 +00:00
Martin Vermeer
be0dd89019 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
2006-04-28 07:28:10 +00:00
Bo Peng
7cff3d5d5e 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
2006-04-27 18:19:14 +00:00
Bo Peng
a19e4ae888 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
2006-04-27 18:14:36 +00:00
Jean-Marc Lasgouttes
18d72887a6 * 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
2006-04-27 16:44:43 +00:00