Commit Graph

3365 Commits

Author SHA1 Message Date
Edwin Leuven
924d8f471c small cleanup: we don't need to store the funcrequest
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13980 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-01 20:34:22 +00:00
Edwin Leuven
40783d2ebb don't crash: apply values before closing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13979 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-01 20:33:37 +00:00
Edwin Leuven
98a75b6456 replace if/else with switch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13974 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-31 14:46:01 +00:00
Edwin Leuven
5c8f40106a Add new tableinsertwidget
+ Remove table widget from inserttable dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13972 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-31 12:53:05 +00:00
Abdelrazak Younes
c4edb019f5 fix "posx, posx" typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13968 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-30 13:39:34 +00:00
Jean-Marc Lasgouttes
0fbd5c2588 * src/frontends/*/lyx_gui.C:
* src/frontends/lyx_gui.h: change width and height parameters to unsigned int.

* src/frontends/xforms/lyx_gui.C: compilation fix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13967 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-30 10:20:35 +00:00
Bo Peng
f9c7473ed3 Move window width/height/posx/posy from frontends to lyx_main.C, from Bo Peng (ben.bob@gmail.com)
* src/frontends/ALLFRONTENDS/lyx_gui.C: use passed width/height/posx/posy in lyx_gui::start
	* src/frontends/lyx_gui.h: prototype change for lyx_gui::start
	* src/lyx_main.C: determine windows size and position from lyxrc or session.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13953 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 15:11:19 +00:00
Bo Peng
a21c78f25b Some MSVC2003/2005 compatibility fixes, from Bo Peng (ben.bob@gmail.com)
* src/support/lyxsum.C: fix HAVE_DECL_ISTREAMBUF_ITERATOR
	* src/support/mkdir.C: add direct.h for windows
	* src/support/forkedcall.C: add cerrno under windows
	* src/support/tempname.C: define S_IRUSR and S_IWUSR
	* src/support/package.C.in: define PATH_MAX=256



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13951 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 14:56:08 +00:00
Abdelrazak Younes
2485efbf75 additional comments related to rev 13948
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13949 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 07:38:09 +00:00
Abdelrazak Younes
d1d896e23c Fix hang on exit under Windows.
TODO: reorganize this code. In particular make sure that this advise from Qt documentation is respected:

Since the QApplication object does so much initialization, it must be created before any other objects related to the user interface are created.

Right now this is not the case. For example, "FontLoader::initFontPath()" is called before the QApplication creation. Moreover, I suspect that a number of global variables contains Qt object that are initialized before the passage through parse_init(). This might also explain the message displayed by Qt that caused the hanging:

QObject::killTimer: timers cannot be stopped from another thread



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13948 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-28 22:10:33 +00:00
Abdelrazak Younes
9614a1d698 Fix for Qt4 crash on exit under linux by Georg Baum and myself.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13943 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-27 19:58:02 +00:00
Georg Baum
cf7e4e5e03 * src/frontends/qt4/ui/pch.h: remove
* src/frontends/qt4/ui/Makefile.am: remove unused rules


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13942 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-27 14:38:34 +00:00
Abdelrazak Younes
a7c2820c49 Enable Font width caching.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13931 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-25 22:37:01 +00:00
Georg Baum
d544373734 Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
"Don't view/edit this format", and 'auto' means "Use the default viewer/editor".
	* src/format.C
	(fixCommand): Change semantics: "none" is equal to "", and "auto"
	is removed if canAutoOpenFile returns false.

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

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

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

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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13929 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-25 11:57:22 +00:00
Abdelrazak Younes
04e8d1e65b qt3/qfont_loader.h: added comment about pointer reference.
qt4/qfont_loader.h: reverted to last version and added comment about pointer reference.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13927 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-25 10:02:01 +00:00
Abdelrazak Younes
3efac59557 qt4 optimisation:
* qfont_loader.h: enable the font caching
* QWorkArea: disable intermediate QImage caching, use QPixmap directly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13893 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-21 08:49:02 +00:00
Georg Baum
5b83287abe * src/format.[Ch]
(document_): new flag, telling whether this is a document format and
	we want to show this format in the export and view menus
	(documentFormat): accessor for document_

	* src/format.h: Add some documentation

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

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

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

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

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

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

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

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

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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13887 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-20 12:03:40 +00:00
Abdelrazak Younes
f8918b0859 * QPrefsDialog.[Ch]: Split up of QPrefsDialog into different modules (one per .ui file)
* panelstack.C: automatic creation of parent category if not already created.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13886 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-20 11:49:53 +00:00
Jean-Marc Lasgouttes
b5987c69a1 * src/frontends/qt3/qfontloader.C (initFontPath, ~FontLoader):
* src/frontends/qt4/qfontloader.C (initFontPath, ~FontLoader): add fonts in
lyxdir/fonts to system fonts in windows; remove them in destructor.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13877 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-20 08:21:58 +00:00
Edwin Leuven
cd457e07c8 make the formats/converters panels in the pref dialog set the correct parameters.
atm this does not work because it depends on the order in which these entries were added.

now the order is alphabetical and things are messed up.

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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13864 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 11:14:10 +00:00
Abdelrazak Younes
4a8ffce850 Small cleanup recommended by Lars Gullik Bjønnes:
Can you move the SUBDIRS var back to the top of the file pleae.
Also EXTRA_DIST should be at the top.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13863 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 09:37:35 +00:00
Abdelrazak Younes
995da7bafc Qt4 compilation speedup patch by Bo Peng and me.
* configure.ac: removed frontends/qt4/moc compilation.
* frontends/qt4/: moc files (*_moc.cpp) are now included at the end of relevant source file (*.C)
* SConscript: adapted to "moc included in .C file" change.
* frontends/qt4/Makefile.am:  adapted to "moc included in .C file" change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13860 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 08:51:12 +00:00
Georg Baum
e6a167ea5e Add \overset and \underset to math panel (bug 2533):
* lib/images/math/underset.xpm: new
	* lib/images/math/overset.xpm: new

	* lib/Makefile.am: add new files

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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13858 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 07:10:56 +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
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
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
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
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
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
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
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
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
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
Martin Vermeer
71f356c372 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
2006-04-26 17:43:03 +00:00
Bo Peng
1d1df1a5f1 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
2006-04-25 22:22:11 +00:00
Georg Baum
4fd1ce3af6 undo compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13734 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 15:07:24 +00:00
John Spray
5b92f48666 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
2006-04-24 14:22:32 +00:00
Georg Baum
7855aa5b13 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
2006-04-24 14:17:16 +00:00
Lars Gullik Bjønnes
eefc9ad640 * 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
2006-04-24 13:48:24 +00:00
Lars Gullik Bjønnes
69567e26be change string "qt2" to "qt4"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13727 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 13:25:50 +00:00
Abdelrazak Younes
f8c8b75706 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
2006-04-23 09:25:25 +00:00
Abdelrazak Younes
8c0bd3a77b * 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
2006-04-22 18:48:28 +00:00
Martin Vermeer
11145e20eb 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
2006-04-21 22:51:39 +00:00
Abdelrazak Younes
fc57e5e4ad 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
2006-04-19 14:48:22 +00:00
John Spray
70fb7833dd Commit Bernhard Reiter's implementation of GExternal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13694 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-19 09:13:54 +00:00
John Spray
35948be234 Changes to External controller for GTK implementation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13693 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-19 09:11:25 +00:00
Abdelrazak Younes
9db70c5346 * 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
2006-04-18 09:57:47 +00:00
Georg Baum
4700431096 * 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
2006-04-17 16:44:37 +00:00
Abdelrazak Younes
f6bcac7285 * 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
2006-04-16 14:19:25 +00:00
Jürgen Spitzmüller
a90ee19486 * 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
2006-04-16 08:33:30 +00:00
Jürgen Spitzmüller
9d8aadcc64 * 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
2006-04-15 17:56:20 +00:00
Jürgen Spitzmüller
436adb1605 * 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
2006-04-15 15:50:13 +00:00
Bo Peng
2f3ac2d20f 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
2006-04-15 14:13:41 +00:00
Abdelrazak Younes
e2ddbdca5c 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
2006-04-13 20:44:38 +00:00
Abdelrazak Younes
544d542c7d compilation fixes following rev 13671
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13672 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 20:39:42 +00:00
Lars Gullik Bjønnes
67d576f75e * frontends/WorkArea.h(workAreaResize, scrollDocView, workAreaKeyPress,
dispatch, selectionReuqested, selectionLost): remove signals

* BufferView.[Ch] (selectionRequested, selectionLost, workAreaResize,
  workAreaKeyPress, workAreaDispatch): add forwarding functions to the pimpl

* BufferView_pimpl.C (Pimpl): Remove the setup of the now deleted signals,
  also remove corresponding connection objects.

* frontends/xforms/XWorkArea.h:
* frontends/qt2/QWorkArea.h:
* frontends/qt4/QWorkArea.h:
* frontends/gtk/GWorkArea.h: add LyXView as class variable view_ (qt
  classes also get view() medthod)

* frontends/qt2/QWorkArea.C:
* frontends/qt2/QContentPane.C:
* frontends/qt4/QWorkArea.C:
* frontends/xforms/XWorkArea.C:
* frontends/gtk/GWorkArea.C: Change from calling signals to call
  the functions directly through view_.view()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13671 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 18:58:48 +00:00
Lars Gullik Bjønnes
3b44c08e43 * lyxfunc.h:
* BufferView_pimpl.h: delete LyXKeySymPtr typedef

* kbmap.h: include LyXKeysym.h and remove forward declaration of LyXKeySym,
  and delete LyXKeySymPtr typedef

* kbsequence.h:
* frontends/WorkArea.h: delete LyXKeySymPtr typedef, include LyXKeySym.h
   and don't include boost/shared_ptr.hpp, remove forward declaration of
   LyXKeySym.

* frontends/LyXKeySym.h: include boost/shared_ptr.hpp, and add typedef
  for LyXKeySymPtr


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13663 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 12:18:42 +00:00
Jean-Marc Lasgouttes
637a28fe60 Compilation fix: Replace MakeAbsPath with makeAbsPath
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13657 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-12 14:02:23 +00:00
Abdelrazak Younes
5b66bd5d4c Compilation fix: Replace MakeAbsPath with makeAbsPath
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13656 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-12 13:53:01 +00:00
Abdelrazak Younes
5b448e549e Fix enableCustom
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13645 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 10:51:59 +00:00
Abdelrazak Younes
9960bf9278 Fix related to r13635
closePB renamed to cancelPB

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13644 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 10:13:17 +00:00
Abdelrazak Younes
1ddacf35e0 added "none" color special case.
TODO: see how to get rid of these special cases...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13642 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 09:59:56 +00:00
Abdelrazak Younes
107356b439 Transfered closePB handlling (GUI code) from QToc.C to QTocDialog.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13641 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 09:56:56 +00:00
Abdelrazak Younes
31d7f2ed30 I have continued a bit on my track to do a real model view separation for the Citation Dialog. In this new scheme, QCitation is the controller and the model at the same time, it inherits ControlCitation and it doesn't know about the view. QCitationDialog is the view, it is using QCitation to get its model and for communication with the core; it is inheriting Dialog::View directly.
In frontend/qt4/Dialog.C, we use these class like this:

    } else if (name == "citation") {
        QCitation * ci = new QCitation(*dialog);
        dialog->setController(ci);
        dialog->setView(new QCitationDialog(*dialog, ci));
        dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);

Now, it should be possible to define another view like this:

    } else if (name == "citation-inline") {
        QCitation * ci = new QCitation(*dialog);
        dialog->setController(ci);
        dialog->setView(new QCitationInline(*dialog, ci));

All the citation functionalities are not there yet but the basic ones are there. There are still a few "intelligence" still to be transfered from the view to the dialog.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13635 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 08:26:43 +00:00
Bo Peng
d7bccc5f88 Update on view-source feature (r13610), from Bo Peng (ben.bob@gmail.com)
* src/text3.C, src/lyxfunc.C: no special treatment of view-source dialog now.
	* src/frontends/controllers/ControlViewSource.h, .C:
		handle everything (get source type, code) in the controller.
	* src/insets/insetbibtex.C, insetexternal.C insetinclude.C:
		add dryrun mode to file copying etc.
	* src/frontends/qt2/QViewSource.C: small changes when calling the controller.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13627 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 16:27:59 +00:00
Abdelrazak Younes
c7511f4cab clean up the function renaming cleanup (libFileSearch instead of LibFileSearch)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13615 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 21:24:01 +00:00
Abdelrazak Younes
9dfa853d2c lib/Makefile.am: move math icons from no-install
QMathDialog.C: set icon paths
QMathUi.ui: set icon paths to lib/images/math for visual feedback in designer


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13614 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 21:14:58 +00:00
Georg Baum
6170926512 clean up the function renaming cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13613 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 08:42:58 +00:00
Bo Peng
eb485caa96 view-source feature, from Bo Peng <ben.bob@gmail.com>
* src/buffer.h buffer.C - getSourceCode()
	* src/lyxfunc.C -  open view-source dialog
	* src/text3.C - change LFUN_MOUSE_RELEASE
	* src/output_linuxdoc.C, src/output_docbook.C, src/output_latex.C 
		- intercept output
	* src/outputparams.h, outputparams.C - add par_begin, par_end, dryrun
	* src/insets/insetgraphics.C  - add dryrun mode of file conversion
	* lib/ui/stdmenus.ui - add view-source menu item under view
	* Add view-source dialog, add 
	    src/frontends/qt2/QViewSourceDialog.h, QViewSource.C, QViewSource.h, QViewSourceDialog.C
	    src/frontends/qt2/ui/QViewSourceDialogBase.ui
	    src/frontends/controllers/ControlViewSource.h ControlViewSource.C
	  modify
	    src/frontends/qt2/Makefile.dialogs, Makefile.am, Dialogs.C,
	    src/frontends/controllers/Makefile.am, po.POTFILES.in


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13610 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:48:54 +00:00
Lars Gullik Bjønnes
618ca28af6 * support/types.h: introduce the char_type type
* paragraph.h: make value_type point at char_type
* other files: change some bald 'char' to 'char_type'


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13609 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:30:40 +00:00
Lars Gullik Bjønnes
cf4293824f * Change several freestanding and class methods with first letter
capitalized to have first letter lowercased.
* Adjust all affected files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13605 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 00:26:19 +00:00
Lars Gullik Bjønnes
8c93f63b48 * filetools.[Ch]: Make functions that start with a capital
letter start with a lower letter.
	* All other .C and .h in the cs: adjust for above change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13603 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 22:31:11 +00:00
Martin Vermeer
2c300dd10d * ControlMath.C
(ControlMath::dispatchInsert): fix broken GUI for sub/superscript
	insertion



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13602 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 19:32:52 +00:00
Georg Baum
6b753c5d97 Remove the images directory
* Makefile.am: remove image files
	* images/ChangeLog: delete
	* images/smallcaps.xpm: move to lib/images/font-smallcaps.xpm
	* lib/Makefile.am: add images to noinst files

Move the following files to lib/images/math:
	* images/README
	* images/delim.xbm
	* images/ams_misc.xbm
	* images/equation.xpm
	* images/delim.xpm
	* images/arrows.xbm
	* images/bop.xbm
	* images/matrix.xpm
	* images/delim0.xpm
	* images/delim1.xpm
	* images/misc.xbm
	* images/greek.xbm
	* images/ams_nrel.xbm
	* images/style.xbm
	* images/ams_ops.xbm
	* images/varsz.xbm
	* images/font.xbm
	* images/sub.xpm
	* images/sqrt.xpm
	* images/dots.xbm
	* images/space.xpm
	* images/deco.xbm
	* images/super.xpm
	* images/ams_arrows.xbm
	* images/style.xpm
	* images/ams_rel.xbm
	* images/brel.xbm
	* images/font.xpm
	* images/deco.xpm
	* images/frac.xpm

Adjust the following files to the moved images:
	* src/frontends/gtk/GMathPanel.C
	* src/frontends/gtk/Makefile.am
	* src/frontends/qt4/ui/QMathUi.ui
	* src/frontends/xforms/Makefile.am
	* src/frontends/xforms/FormMathsPanel.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13598 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 11:33:26 +00:00
André Pönitz
1f5c5a06ee support/textutils.h:
support/filetools.h: rename IsDirWriteable IsFileReadable IsLyXFilename
IsSGMLFilename IsLineSeparatorChar IsLetterChar IsPrintable
IsPrintableNonspace IsDigit to lower case initial

lyxvc.C:
LaTeXFeatures.C:
lyx_cb.C:
insets/insetbibtex.C:
insets/insetexternal.C:
insets/insetgraphics.C:
insets/ExternalSupport.C:
insets/insetinclude.C:
BufferView_pimpl.C:
graphics/GraphicsCacheItem.C:
text2.C:
converter.C:
buffer.C:
lyxfunc.C:
frontends/gtk/ghelpers.C:
frontends/controllers/ControlGraphics.C:
frontends/controllers/ControlInclude.C:
frontends/controllers/ControlSpellchecker.C:
support/filetools.C:
support/filetools.h: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13595 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 09:09:57 +00:00
Edwin Leuven
bfce1347ad compile fixes + update in pref dialog
QtView.C: typo in include
      QPrefsDialog.C: update after changing color
      QPrefsDialog.h: default parent in constructor



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13580 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 12:01:11 +00:00
Abdelrazak Younes
8a2a78ddf3 Fix: The modules' parent is not QPrefsDialog but the widget inside PanelStack.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13575 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 21:16:54 +00:00
Edwin Leuven
e3630e4076 clean up of the graphics dialog:
-layout
-enabling/disabling widgets
-tab order



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13574 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 21:04:27 +00:00
Abdelrazak Younes
e03298bb36 compilation fix: session.h and support/convert.h were missing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13573 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 20:19:51 +00:00
Abdelrazak Younes
bcb89509b3 * QMathUi.ui:
- replaced the sqrt etc QPushButton with QToolButton
 - modified the layout

* QMathDialog::QMathDialog
 - got rid of the fixed width for function QWidgetList


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13571 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 15:08:48 +00:00
Martin Vermeer
9e6c3bd7c2 The nicefrac patch
* LaTeXFeatures.C
	(simplefeatures[]: add nicefrac

	* mathed/math_factory.C
	(createMathInset): change frac semantics

	* mathed/math_fracinset.[Ch]

	(MathFracInset::metrics):
	(MathFracInset::draw):
	(MathFracInset::drawT):
	(MathFracInset::write):
	(MathFracInset::mathmlize): add nicefrac stuff

	* mathed/math_dfracinset.C:
	* mathed/math_tfracinset.C: adapt semantics

	* frontends/qt2/ui/QMathDialogBase.ui

	* frontends/qt2/QMathDialog.[Ch]
	(QMathDialog::symbol_clicked): provide GUI



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13566 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 09:46:01 +00:00
Lars Gullik Bjønnes
3b9338a3a8 Whitespace cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Lars Gullik Bjønnes
b2effebe20 2006-04-06 Bo Peng <ben.bob@gmail.com>
session support that
    * handle recent opened files (previously lastfile)
    * save/load bookmarks when quit lyx
    * save/load buffer cursor location whan a file is closed
    * save/load windows position and size when a file is closed
    * add rc entries load_session, use_lastfilepos,
      screen_geometry_height, screen_geometry_width,
      screen_geometry_xysaved.
    * trigger LFUN_QUIT when Alt-F4 or close-button is used to close lyx.
    * remove lastfile.h lastfile.C (merged in session.h, session.C)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13561 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 22:56:18 +00:00
Georg Baum
0dcc1e0cce Fix mess up of internal/external paths (from Enrico Forestieri)
* src/frontends/qt2/QPrefs.C:
	(internal_path_list, external_path_list): Handle the PATH prefix
	style according to the user-prefs style.
	(QPrefs::apply, QPrefs::update_contents): fix inverted logic of
	rc.cygwin_path_fix

	* src/support/os.h: New declarations to deal with PATH lists.
	* src/support/os_cygwin.C: Major rewrite to account for path style
	problems.
	* src/support/os_unix.C:
	* src/support/os_win32.C: Stub functions for PATH lists.
	* src/support/environment.C: fix bug 2344: Wrong path_prefix handling
	in cygwin
	* src/support/filetools.C (ChangeExtension): fix for the path
	style to be written in .tex files (cygwin related).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13558 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 19:26:08 +00:00
Abdelrazak Younes
ed6eb3e4f2 Porting work from Edwin Leuven:
* QMathUi.ui: Port to Qt4, icons paths are hacked to point to ../lib/images/
* QMathDialog: Port to qt4
* iconpalette.C: fix cols calculation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13557 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 15:10:34 +00:00
Abdelrazak Younes
dd69416f11 Fix from Edwin Leuven:
BulletsModule is a widget not a dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13553 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 14:02:37 +00:00
Abdelrazak Younes
ca474cf0d5 Resize the dialog so that the delimiters appears by couple on screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13552 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 13:16:52 +00:00
Abdelrazak Younes
2fcb3d9b18 Log:
* convert to automatic slot connections
* fix TOC navigation
* delete non useful commented out code


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13536 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-31 13:17:44 +00:00
Martin Vermeer
ce1170d887 * QToc.C
(QToc::updateToc): Better scroll behaviour

	* ui/QTocDialogBase.ui: Keyboard shortcuts, Dn -> Down



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13534 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-30 12:34:49 +00:00
Abdelrazak Younes
5a4d33d97e Add outlining functionality to the Qt4 TOC dialog.
The Toc dialog is not finished yet, there's some clean-up to do especially in select_adapdator which doesn't seem to work. This makes lyx crash when clicking on the Up, Down, In or Out buttons.

    * frontends/qt4/QTocDialog.[Ch]: add automatic slots

    * frontends/qt4/QTocDialog.[Ch]: add "enableButtons(bool)"

    * frontends/qt4/ui/QTocUi.ui: add pushbuttons

    * frontends/qt4/QToc.[Ch]: add move* methods.

The following Qt4 equivalent changes to revision r13521 are not done yet:
    * frontends/qt2/QToc.[Ch]: add move* method.
    (QToc::updateToc):
    (QToc::select): add code for TOC window positioning, and
    outlining methods



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13530 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 16:57:47 +00:00
Martin Vermeer
c0b204c0a8 Add outlining functionality to the TOC dialog.
* LyXAction.C
	(LyXAction::init): define command

	* BufferView_pimpl.C
	(BufferView::Pimpl::getStatus): 
	(BufferView::Pimpl::dispatch): add handling code

	* frontends/qt2/QTocDialog.C: add connections, adapters

	* frontends/qt2/ui/QTocDialogBase.ui: add pushbuttons

	* frontends/qt2/QTocDialog.h: add adapters

	* frontends/qt2/QToc.[Ch]
	(QToc::updateToc): 
	(QToc::select): add code for TOC window positioning, and 
	outlining methods 

	* frontends/controllers/ControlToc.[Ch]: implement methods

	* lfuns.h
	(kb_action {): define LFUN

	* toc.[Ch]: implement up, down, in and out operations in Outline
	method



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13521 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 05:08:42 +00:00
Jürgen Spitzmüller
7b81bf1108 * frontends/{qt2,qt4}/QPrefsDialog.C (remove_format):
Prevent deletion of file formats if they are used by a converter 
	and warn the user accordingly.
	Fixes crash (bug 2431).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13514 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 12:01:31 +00:00
Abdelrazak Younes
b9ff894f8b * QCitation::findKey() use QRegExp but find still doesn't work
* QCitationDialog::on_applyPB_clicked(): calls form_->apply
* QCitationDialog::on_oKPB_clicked(): calls form_->apply

TBDone: extract the code from controller&co in order to update the view with a new citation inset (or a modified one).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13499 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-26 18:35:15 +00:00
John Spray
107d32b49f Revert patch from bug 1954, to fix bug 2421
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13498 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-26 10:18:52 +00:00
Abdelrazak Younes
2f415cfbb1 This new citation dialog follows a new design similar to lyx-1.3:
- two panes for Selected/Available keys
- find as you search (Regular expression are supported)
- advanced search button

There are a lot of work still:
- selected citations are not inserted in the document
- find does not select the found key
- the graying/un-graying of buttons does not work properly
- the Advanced Search Dialog (which will search inside the citation) is not done yet
- ...
But the good news is that I have used the Model/View separation of Qt4. QCitation contains the list models and QCitationDialog contains the list views. The idea would be to reuse the model for a new dialog, I am thinking of a simple combo box placed on the toolbar which insert citations with default style, etc. Or a context menu insert->citation...



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13496 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-25 21:26:09 +00:00
Abdelrazak Younes
299a19c3c0 - The layout combox box has now a maximum number of 30 visible items. In the future it would be better to calculate the optimal value based on the work area height.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13491 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 20:53:40 +00:00
Abdelrazak Younes
6b354a2230 Oups, compilation fix (missing a '{')
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13488 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 17:37:44 +00:00
Abdelrazak Younes
cf9417bb2d * src/frontends/qt4/QDocumentDialog.C
(void QDocumentDialog::apply):
(void QDocumentDialog::update_contents): only take action when there is a ToC structure
* port of preampleUi from Q3MultilineEdit to QTextEdit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13485 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 16:37:06 +00:00
Abdelrazak Younes
87c311f815 Compilation Fix: Appended "Ui" to main objectName so that it is the same as the ui file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13484 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 15:59:11 +00:00
Jean-Marc Lasgouttes
a9b0afd3b5 Partial fix to bug 2355.
* src/bufferparams.C
	(bool BufferParams::writeLaTeX):
	(void BufferParams::useClassDefaults): only take action when there is
	a ToC structure

	* src/frontends/qt2/QDocument.C
	(void QDocument::apply):
	(void QDocument::update_contents): only take action when there is
        a ToC structure

	* src/frontends/xforms/FormDocument.C
	(bool FormDocument::language_apply):
	(bool FormDocument::options_apply):
	(void FormDocument::options_update): only take action when there is
        a ToC structure; disable 
	(void FormDocument::UpdateClassParams): disable the secnumdepth and
	tocdepth widgets when there is no ToC structure

	* src/frontends/xforms/FormDocument.h
	(options_apply): do not return a bool (was not used)

	* src/lyxtextclass.C
	(hasTocLevels): new method.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13471 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 11:57:19 +00:00
Georg Baum
399e6e788c Store colors as rgb values in branches.
* src/frontends/xforms/Color.[Ch]: move to src

	* src/Color.[Ch] (getRGBColor): move to src/frontends/*/lyx_gui.C

	* src/BranchList.h
	(Branch::color_): change type to lyx::RGBColor

	* src/BranchList.[Ch]
	(Branch): new constrcutor, set color_ to LColor::background
	(getColor, setColor): adapt to type change of color_

	* src/bufferparams.C
	(BufferParams::writeFile): adapt to type change of branch color

	* src/frontends/lyx_gui.h
	* src/frontends/gtk/lyx_gui.C
	* src/frontends/qt2/lyx_gui.C
	* src/frontends/qt4/lyx_gui.C
	* src/frontends/xforms/lyx_gui.C
	(getRGBColor): move from src/Color.[Ch] here

	* src/frontends/gtk/lyx_gui.C
	* src/frontends/xforms/lyx_gui.C
	(hexname): use getRGBColor

	* src/frontends/gtk/GDocument.C
	(update): adapt to type change of branch color
	(apply): add comment about color chooser

	* src/frontends/qt2/QDocumentDialog.C
	(updateBranchView): adapt to type change of branch color
	(toggleBranchColor): ditto

	* src/frontends/qt2/lcolorcache.[Ch]
	* src/frontends/qt4/lcolorcache.[Ch]
	(rgb2qcolor): new utility function

	* src/frontends/qt4/QBranches.C
	(QBranches::update): adapt to type change of branch color
	(QBranches::on_colorPB_clicked): ditto

	* src/frontends/xforms/FormDocument.C
	(get_current_color): adapt to type change of branch color
	(FormDocument::branch_update):

	* src/frontends/xforms/FormPreferences.C
	(FormPreferences::Colors::LoadBrowse): adapt to RGBColor changes

	* src/frontends/xforms/FormPreferences.h: remove unneeded RGBColor
	forward declaration 

	* src/frontends/xforms/XWorkArea.C
	(XWorkArea::XWorkArea): adapt to RGBColor changes

	* src/frontends/xforms/Makefile.am: remove Color.[Ch]

	* src/frontends/xforms/FormColorpicker.[Ch]: adapt to RGBColor changes

	* src/frontends/xforms/xformsImage.C: adapt to RGBColor changes

	* src/frontends/controllers/ControlDocument.C
	(ControlDocument::dispatchParams): adapt to type change of branch color

	* src/Makefile.am: add Color.[Ch]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13466 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:04:05 +00:00
Abdelrazak Younes
f44bd092bc * src/frontends/qt4/QPrefsDialog.C
(QPrefsDialog::QPrefsDialog):
         (void QPrefsDialog::apply):
         (void QPrefsDialog::update):
         * src/frontends/qt4/ui/QPrefUI.ui:  remove wheel mouse spin box (bug 783).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13464 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 16:38:46 +00:00
Jean-Marc Lasgouttes
4fd5c07875 * src/frontends/qt2/qscreen.C
(void QScreen::showCursor):
        (void QScreen::removeCursor): use update instead of repaint.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13459 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 11:15:00 +00:00
Jean-Marc Lasgouttes
556da959ae Add the tests/ subdirectory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13458 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 11:11:19 +00:00
Jürgen Spitzmüller
e951788e37 * src/frontends/qt2/QPrefs.C
(void QPrefs::apply):
	(void QPrefs::update_contents):
* src/frontends/qt2/QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog):
* src/frontends/qt2/ui/QPrefUIModule.ui:
	remove wheel mouse spin box (bug 783).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13457 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 09:37:05 +00:00
Georg Baum
f68868707d compile fix from Ling Li: remove superflous class name of members
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13454 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-22 21:38:40 +00:00
Abdelrazak Younes
29564e5f54 Changelog:
* QDialogView.h: interface methods and slots are now public instead of protected. This allow to avoid making friend classes.
* QPrefs.[Ch]: removed everything GUI related. The controller does not know anything about what the Dialog is doing, it is here only to transfer request one way or the other.
* QPrefsDialogs.[Ch]: transfered everything GUI related here. Things are gathered per module in contructor, apply() and update() methods so that it will be easy to transfer code to separate class afterward
  - QPrefsDialogs::apply(LyXRC & rc): fill in rc parameters from GUI.
  - QPrefsDialogs::update(LyXRC const & rc): update GUI from rc parameters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13453 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-22 18:59:17 +00:00
Georg Baum
bdcfe69b98 set svn:eol-style to native in qt4 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13447 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-21 19:56:57 +00:00
Georg Baum
f7bbfca3a0 remove qgridview.[Ch] (these files were only needed for qt2)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13446 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-21 19:15:31 +00:00
Abdelrazak Younes
6c2e78e128 * QPrefsDialog::QPrefsDialog():
- fix from Edwin Leuven: colorsModule did not recognize colornames grey40, etc.
  - delete unused variable.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13445 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-21 12:49:43 +00:00
Abdelrazak Younes
4213d1851a clean up dos style line ending.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13442 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 17:25:02 +00:00
Jean-Marc Lasgouttes
13c546c460 * src/frontends/qt2/QWorkArea.C
(QWorkArea::QWorkArea): do not set background of the workarea (bug 2197)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13433 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 15:33:24 +00:00
Martin Vermeer
a193ea09f9 Selective expose patch
* metricsinfo.h
	(ViewMetricsInfo): add size parameter

	* BufferView_pimpl.C
	(BufferView::Pimpl::metrics): return size

	* frontends/screen.C
	(LyXScreen::redraw): expose selectively, using y1, y2 in vi, and
	exposing lower grey at end using size test



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 15:05:07 +00:00
Abdelrazak Younes
812b5ebfa9 When I created the Branches dialog class, I forgot to connect it to the Document settings panel dialog.
* QDocumentDialog.C: added connection to QBranches::changed signal.
* QBranches.h: added changed signal
* QBranches::update() added changed signal emission. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13430 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 14:40:27 +00:00
Abdelrazak Younes
967d3e3cd6 QBranches::on_colorPB_clicked() one-line bug fix:
When you click the "Alter button" on a added branch in "Document Settings/Branches" Dialog, clicking on the palette on the right to select a color won't work (selected color stays black). After selecting a color from the "Basic Colors" or the "Custon colors"
(which works fine), the color selection from the palette will work correctly. The problems lies in that the QColor() constructor produces an invalid color (RGB 0,0,0). "lightskyblue" is now the default color for a branch when you click the alter button.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13429 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 14:10:31 +00:00
Abdelrazak Younes
4a5053d34e * qscreen.[Ch]:
- Cursor handing is done on the server -> *cursor are
    QPixmap
  - Use new drawScreen and copyScreen methods.
* QWorkArea.[Ch]:
  - Pixel manipulation is done on the client -> paint_device_ is a
    QImage
  - an intermediate Screen device is updated whenever expose is called
    -> sreen_device_ is a QPixmap. This screen_device is the one that is
    painted on screen in QWorkArea::repaintEvent().
  - new update, drawScreen and copyScreen methods. 
* QLPainter.C: use the new paintDevice interface.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13428 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 10:43:21 +00:00
Jürgen Spitzmüller
4c4b3e3cff frontends/controllers/ControlBibtex.[Ch]: new members bibtotoc(), getStylefile(),
which hold functionality that has been moved from the frontends
	and implement a method to use a default stylefile for new bibtex 
	insets (bug 2322).

frontends/gtk/GBibtex.C:
frontends/qt2/QBibtex.C:
frontends/qt4/QBibtex.C:
frontends/xforms/FormBibTex.C: Move parsing of Options (stylefile, bibtotoc) to the 
	controller (bug 2322).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13427 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 10:24:23 +00:00
Georg Baum
3626d1ce04 Remove qt2 support in the following files:
* src/frontends/qt2/qt_helpers.C
	(makeFontName):

	* src/frontends/qt2/QWorkArea.C
	(QWorkArea::haveSelection):
	(QWorkArea::haveSelection):
	(QWorkArea::getClipboard):

	* src/frontends/qt2/panelstack.C
	(PanelStack::PanelStack):

	* src/frontends/qt4/qt_helpers.C
	(makeFontName):

	* README: remove notice about qt2

	* config/qt.m4: make 3.0 the minimum required qt version


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13414 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 19:02:43 +00:00
Georg Baum
c9c37cab4e * src/frontends/qt4/QWorkArea.C
(QWorkArea::mouseMoveEvent): Use qt wide scroll wheel setting


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13409 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 20:34:20 +00:00
Georg Baum
4c772b2376 QContentPane::mouseMoveEvent: Use qt wide scroll wheel setting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13401 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:26:44 +00:00
Abdelrazak Younes
937d6d1111 PanelStack::addPanel(): fixed document settings dialog size when first showed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13391 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 13:15:42 +00:00
Abdelrazak Younes
e16b61096d Edwin Leuven <e.leuven@uva.nl>
* entries in the combobox in the toolbar are not legible
* same for entries in the listview in the preferences dialog
* the color is not updated after changing it (i always change the murky pink color of lyx's background to white)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13387 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 11:23:23 +00:00
Abdelrazak Younes
371dc18f22 fixed inset buttons grey colors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13386 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 10:52:20 +00:00
Jean-Marc Lasgouttes
4b7512f767 fix drawing of buttons (bug 2328)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13381 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 15:32:32 +00:00
Abdelrazak Younes
c6d4e2b9c6 removed topLevelMenu_.clear() call in QLPopupMenu::update() following MenuBackend change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13380 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 15:26:21 +00:00
Georg Baum
2470320dd6 fix symbols fonts on X11
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13378 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 13:39:59 +00:00
Abdelrazak Younes
f43f4ed94f QLPopupMenu.[Ch]: renamed topLevelMenu to topLevelMenu_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13377 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 11:27:32 +00:00
Abdelrazak Younes
5ea9a78905 QLMenubar.C: Fix potential MACX crash on menubar initialisation.
The MACX specific menubar hack present in qt2 frontend is still not ported to the qt4 frontend.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13376 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 11:12:52 +00:00
Georg Baum
369fe1ab82 restore entries from 11/2002 to 5/2005
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13372 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-14 19:56:00 +00:00
Abdelrazak Younes
6d21659ce0 QWorkArea.[Ch]: Wheel one-liner mouse fix
QWorkArea.h: Added comments
Reverted to Q_WS_X11 and Q_WS_MACX instead of Q_OS_*


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13371 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-14 14:50:00 +00:00
Jürgen Spitzmüller
98b1da0248 Abdelrazak Younes: Compile fixes for the Mac (ChangeLog follows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13349 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-12 17:44:38 +00:00
Jürgen Spitzmüller
4035592aee (Abdelrazak Younes:)
* QWorkArea.[Ch] cleanup:
	- Added private members workWidth_ and workHeight_ in order to
	  make sure QWorkArea is always able to draw (link to
	  workArea::WorkAreaResize).
	- deleted superfluous debugging stuff
	- deleted superfluous commented out code.
	- placed all specific stuff (Qt-immodule, X11 and Mac OSX) in a
	  separate place at the end of QWorkArea.C.
	- initial support for Wheel mouse (still does not work).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13348 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-12 17:29:34 +00:00
Lars Gullik Bjønnes
41cfebb8eb src/frontends/qt4/ui/pch.h: new file
boost/libs/regex/src/Makefile.am: remove non-existant file


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13343 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-12 08:52:08 +00:00
Martin Vermeer
b557e3790e fix bug 2212: First change is skipped in Merge changes... dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13331 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:46:03 +00:00
Georg Baum
f02a98497d fix bug 1955
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13322 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 14:51:28 +00:00
Georg Baum
9c5fcfa383 fix nullstream also in pch files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13311 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-07 10:02:07 +00:00
Lars Gullik Bjønnes
bd9c55944f Update for boost::regex v4, add test
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13306 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-06 22:33:16 +00:00
Lars Gullik Bjønnes
0226612481 add svn:ignore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13300 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 20:41:35 +00:00
Lars Gullik Bjønnes
0c21c114d4 setup the buildsystem for building qt4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13295 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:29:08 +00:00
Lars Gullik Bjønnes
12e5a52b92 Added initial qt4 work by Abdelrazak Younes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13294 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:24:44 +00:00
John Spray
44fc7b62a5 window size tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13262 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 18:12:01 +00:00
John Spray
b59621bc59 Rewording in GTK document dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13261 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 18:07:25 +00:00
John Spray
786759e106 Some work on GTK tabular dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13260 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 18:03:24 +00:00
John Spray
e4c3c00f80 revise layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13259 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 16:26:45 +00:00
John Spray
153c985ba2 grayscale and monochrome
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13258 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 16:26:23 +00:00
John Spray
757cb58173 Spellchecker options for gtk preferences dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13253 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 17:05:24 +00:00
John Spray
dfaf9a11a1 Fix update() of GTK wrap dialog for default placement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13252 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 01:39:07 +00:00
John Spray
c822a28e39 Escape underscores in GTK menu labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13251 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 01:24:22 +00:00
John Spray
a67c5829cb Fix spinbutton limits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13250 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 00:53:30 +00:00
John Spray
01b554be2a Fix rows and columns getting confused in table creation dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13249 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 00:52:58 +00:00
John Spray
b7039ba891 revert removal of update() from show() - I misunderstood.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13248 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 00:46:25 +00:00
John Spray
9aa58f9986 Make GCitation show selected keys even if they're not in
the list of bibkeys.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13247 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-16 19:31:03 +00:00
Jürgen Spitzmüller
414a11684e code cosmetics to the iterator fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13242 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-15 14:12:54 +00:00
Jürgen Spitzmüller
36945644e7 fix crash due to invalidated iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13241 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-15 11:13:37 +00:00
John Spray
5d14da2001 Fix double-updating, thus fixing GChanges skipping first change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13240 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 16:14:33 +00:00
John Spray
5943449516 Add comments to mark questionable text encoding conversions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13239 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:55:27 +00:00
John Spray
a50e83ea38 Fix copy and paste text encoding in GTK frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13238 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:49:41 +00:00
John Spray
42843b1c02 ...and the changelog entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13237 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:47:42 +00:00
John Spray
29e7776c34 Remove broken multibyte stuff from GTK frontend, make single-byte
stuff work properly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13236 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 14:46:22 +00:00
John Spray
72c40bc700 Try to make GPainter a bit more efficient
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13230 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 19:36:10 +00:00
John Spray
61133c4b56 Tweak layout in GToc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13229 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 18:12:56 +00:00
John Spray
65ca7003ba Fix event loop to no longer eat CPU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13228 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 18:01:41 +00:00
John Spray
e820144307 Fix some font names getting mangled in GPreferences, as
pointed out by Bartok.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13227 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 17:51:11 +00:00
John Spray
b67c859551 Get lots of nice icons from the desktop theme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13224 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 01:53:22 +00:00
John Spray
2bb8621129 Rearrange GTK icon lookup code, get rid of comboBoxTextSet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13220 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 23:58:29 +00:00
John Spray
ed6d4b736f Bartek Kostrzewa's fix for crash in GMenubar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13217 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 16:03:55 +00:00
John Spray
17cc48720a Make enter button work in GTK text dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13216 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:56:37 +00:00
John Spray
e073019bb8 Get rid of mnemonics on tabs in GTK document dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13215 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:55:48 +00:00
John Spray
12916902e0 Revamp GTK citation dialog appearance
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13214 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:55:07 +00:00
John Spray
45bd72333f Try to fix GMenubar for UTF-8 locales
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13213 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:53:56 +00:00
John Spray
b6ab9d8886 Don't show preamble item in menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13212 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:52:16 +00:00
John Spray
134abbe788 More work on GPreferences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13211 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 15:03:50 +00:00
Lars Gullik Bjønnes
4a7ab830bc Delete all .cvsignore files from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
John Spray
b3f859406a Keyboard and graphics options in GTK preferences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10825 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 22:29:13 +00:00
John Spray
ec0483b508 Tweak glade for GSearch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10824 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 22:21:13 +00:00
John Spray
ec195eb254 Fix sensitivity in GBibtex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10823 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 22:20:37 +00:00
John Spray
78b20cb25a Add items with double click in GCitation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10822 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 10:42:10 +00:00
John Spray
3b19fb295a Fix compilation of gtklengthentry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10821 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 10:39:52 +00:00
John Spray
670fc3e2c5 Sexy new GTK about dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10820 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-07 00:48:47 +00:00
John Spray
d928a9d0a2 Whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10819 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 22:52:53 +00:00
John Spray
f3adb6ad82 Move some functions from ghelpers into gtklengthentry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10818 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 22:51:24 +00:00
John Spray
f3341d73ee GTK Bibtex dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10817 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 21:59:12 +00:00
John Spray
98dd757bbc Little more work on GTK document dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10816 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 21:54:10 +00:00
John Spray
ca90f64323 Use GtkLengthEntry in GGraphics, tweak glade a little
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10815 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 21:46:25 +00:00
John Spray
09c0c8ce12 clean up GPreferences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10812 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 23:21:26 +00:00
John Spray
a94ebc1c53 Use GtkLengthEntry in GTK vspace, document dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10811 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 22:05:24 +00:00
John Spray
6c69baf809 Fix packing options in GtkLengthEntry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10810 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 22:00:37 +00:00
John Spray
c0d288c88b Start work on GTK preferences dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10809 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 21:57:17 +00:00
Jürgen Spitzmüller
7bf040cb7e layout fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10794 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-29 14:07:10 +00:00
John Spray
555db1ce35 preamble editing in GTK document dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10789 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 18:32:38 +00:00
John Spray
d07928baf5 add GTK wrap dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10788 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 16:42:18 +00:00
John Spray
37d42d45f3 Continue to improve GtkLengthEntry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10787 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 16:37:19 +00:00
John Spray
2ce904c93a Berhard's fixes to GTK citation dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10786 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 16:32:40 +00:00
John Spray
b1f5c8c2e8 Temporarily comment out some gtkmm 2.6 stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10785 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 15:07:29 +00:00
John Spray
fd2124c83d Use Gtk::ComboBoxText::clear() instead of clear_items(), which only exists in newer gtkmm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10783 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 11:52:13 +00:00
John Spray
d62eeda965 Bernhard's GTK Branch dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10780 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-27 10:26:31 +00:00
Georg Baum
c21692f191 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10776 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-25 14:12:32 +00:00
John Spray
bf1f75ca68 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10773 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-24 14:42:46 +00:00
John Spray
d3b2da29c1 Remove all xforms code from gtk frontends
Add GTabular class
Add GtkLengthEntry class


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10772 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-24 14:05:09 +00:00
John Spray
4d753da194 Replace xformsImage with LyXGdkImage in GTK frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10771 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-24 11:18:54 +00:00
John Spray
5822d76b50 Rename some confusing variables (nested same-name variables)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10765 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 21:38:32 +00:00
John Spray
b9963e1a57 GTK graphics dialog: Default to scaling 100% when no scaling or size is given
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10764 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 20:48:26 +00:00
John Spray
8d74dd26d8 Make GTK alert dialogs use the titles they're passed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10763 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 20:43:07 +00:00
John Spray
9c477c6427 more work on GTK document dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10762 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 20:30:26 +00:00
John Spray
9ee46b846e Add GTK bibitem dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10761 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 20:06:38 +00:00
John Spray
465b672789 Add Bernhard's GTK+ citation dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10760 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-21 11:10:33 +00:00
Jean-Marc Lasgouttes
2486c96b8d cleanup some debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10757 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-19 15:49:21 +00:00
Jürgen Spitzmüller
10a5c58dbd restore double clicking in the QRefs dialog (bug 2194), plus some small ui fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10714 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-08 10:57:31 +00:00
Lars Gullik Bjønnes
863e0fc180 make the dbg messages a tiny bit clearer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10668 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-18 18:39:42 +00:00
Jean-Marc Lasgouttes
aaf24e32e9 unify paper size names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10660 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-14 15:27:57 +00:00
Jürgen Spitzmüller
9bd413bfd7 fix bug 2148 (preferences saves wrong papersizes); also finally dispose dead PAPER_PACKAGES enum
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10657 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-12 11:13:03 +00:00
Jean-Marc Lasgouttes
2688ee7626 improve warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10634 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-30 10:51:02 +00:00
Michael Schmitt
08985cf16f remove dummy captions; fix text message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10629 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-28 18:58:16 +00:00
Martin Vermeer
9beb07356b Fig bug 1966: uncontrollable scrolling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10623 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-26 20:28:38 +00:00
Angus Leeming
d9f29afe1c Trivial fixes to some warnings thrown up by MSVS.Net 2003.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10585 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-02 20:11:36 +00:00
Angus Leeming
52c945af74 Don't unlock QApplication's mutex as it leads to undefined behaviour (and crashes NetBSD).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10560 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-19 15:07:36 +00:00
Georg Baum
56c6e2f621 fix bug 2086
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10556 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-17 08:30:37 +00:00
Georg Baum
0688b5face new files for gtk thesaurus dialog from Bernhard Reiter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10555 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-14 15:59:20 +00:00
Georg Baum
e9b54d910b add gtk thesaurus dialog from Bernhard Reiter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10554 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-14 15:58:29 +00:00
Martin Vermeer
ebcb289b7c The speedup patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10528 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-07 12:00:41 +00:00
Jürgen Spitzmüller
32f30b6aee small fix for the qcitation dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10526 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-06 08:44:03 +00:00
Jean-Marc Lasgouttes
03eed1b8ba bug 2062: Spellcheck stops at ligature breaks without warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10524 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-05 13:44:17 +00:00
Jean-Marc Lasgouttes
141e4d0e7b make sure that word at cursor position is checked too. (bug 2063)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10523 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-05 12:00:03 +00:00
Angus Leeming
f7713f7011 Squash compiler warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10521 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-05 08:41:28 +00:00
Jürgen Spitzmüller
2df2f11f5d fix bug 1894 (disabling of widgets broken)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10511 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-03 10:37:28 +00:00
Martin Vermeer
3752f82762 Fix bug 2038 for all three frontends (gtk untested)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10506 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-02 16:35:56 +00:00
Jürgen Spitzmüller
6a943418d3 fix disabling of newpageCB
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10486 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-26 18:42:54 +00:00
Jean-Marc Lasgouttes
27195721f0 do not try to se the icon under Qt/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10477 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-22 08:33:19 +00:00
Jean-Marc Lasgouttes
81efcd9cf6 fix compiler warnings (bug 1927)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10465 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-20 08:31:37 +00:00
Jürgen Spitzmüller
f61e2b3ad9 update bufferview after document settings have been applied (bug 2023)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10447 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-15 14:56:28 +00:00
Jürgen Spitzmüller
fd69d1cfe9 fix citation backward searching (bug 2002)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10443 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-15 10:48:14 +00:00
Angus Leeming
251f834995 Ensure that the grammar used to invoke the spellchecker is consistent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10425 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-08 09:20:16 +00:00
Angus Leeming
e2a6073643 Enable TeXFiles.sh to run when its path contains spaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10417 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-07 09:01:15 +00:00
Michael Schmitt
8cc74b918e remove obsolete file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10401 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-19 17:17:23 +00:00
Angus Leeming
15d6e2a670 Ensure that the rotation origin strings are translatable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10392 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-07 21:30:21 +00:00
Angus Leeming
0b63d5a8d0 Give the browse button a sane tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10391 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-07 21:29:54 +00:00
John Spray
03672d1484 Add GTK Reference dialog (GRef)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10389 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-05 07:20:38 +00:00
Jean-Marc Lasgouttes
b039292c74 improvie two spellchecker error dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10388 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-04 12:51:43 +00:00
John Spray
7454536793 Fix font_metrics::width crashing on strings it doesn't understand
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10386 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-03 07:47:54 +00:00
Jean-Marc Lasgouttes
f5ad20538a compile error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10385 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-02 22:45:54 +00:00
John Spray
9d3d5d016f Add height/4 to scrolling maximum instead of height/2: prevent
overshooting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10383 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-02 21:14:23 +00:00
Martin Vermeer
bd71b5b95e Scrollbar fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10382 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-02 14:25:48 +00:00
John Spray
177f4a4666 Fix GTK TOC dialog so that it can do lists of figures etc again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10378 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-31 22:43:27 +00:00
John Spray
a97abdf7d5 Add GTK stock icon support for RELOAD
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10377 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-31 20:38:01 +00:00
Jean-Marc Lasgouttes
a4fc781dcc fix bug 1950: Spellchecker runs twice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10367 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-28 10:26:33 +00:00
Jürgen Spitzmüller
c22fb327fc Sort the files in the TeXInfo and BibTeX dialogs correctly and remove empty items (bug 1936)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10365 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-27 17:46:15 +00:00
Jürgen Spitzmüller
d7413b0f04 fix missing qstring->string translation. Thanks, Georg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10364 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-27 17:11:17 +00:00
Jürgen Spitzmüller
7d978a119f Do not use localized strings internally (bug 1870)
Someone please check the gtk TOC dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10363 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-27 15:22:08 +00:00
Georg Baum
267b209869 remove paperpackage stuff (fixes bug 1929)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10352 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-25 13:45:17 +00:00
Angus Leeming
00ef03a081 Disconnect two signals --- forward port from 1.3.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10351 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-23 21:54:49 +00:00
Angus Leeming
792636617d Squash a bug spotted by Udo M��ller in the XForms find & replace dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10348 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-22 16:51:54 +00:00
Angus Leeming
c3bf4f29f1 Various Qt UI tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10345 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-22 13:46:03 +00:00
Jürgen Spitzmüller
56eb1dbdb1 remove the paperpackage widgets from the qt and xforms frontend (bug 1929). John S., could you please do this in the gtk document dialog, too?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10342 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-20 06:51:24 +00:00
Jean-Marc Lasgouttes
75c0ec1c42 revert earlier undocumented change (useful comment, isn't it?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10322 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 12:15:33 +00:00
Angus Leeming
7704aa9055 Help Lars spell his name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10311 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 08:04:50 +00:00
Jean-Marc Lasgouttes
fbd55b518a fix file name when dropping files on windows; remove debug output from the Prefs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10308 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 00:29:12 +00:00
André Pönitz
3e1919e067 probably fixed bug 1561
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10298 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 23:03:01 +00:00
Jean-Marc Lasgouttes
a4fc1ae96d try to account for non-existing symbol fonts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10292 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 15:32:28 +00:00
José Matox
1de2bc6d79 couple of small fixes (they are not even mine).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10291 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 15:27:49 +00:00
Michael Schmitt
f6b917140d Various text message changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10279 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 12:39:56 +00:00
Martin Vermeer
baa6723a40 Second Locale patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10275 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 11:58:54 +00:00
José Matox
9745fb8187 Remove the support for a4.sty, a4wide.sty and a4widemargins from lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10273 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 11:17:13 +00:00
André Pönitz
372365845d some more inlining
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10259 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 18:25:58 +00:00
José Matox
a56bd0b8b1 Fix bug 886 and others not reported related with the document paper size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10253 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 16:57:55 +00:00
André Pönitz
a5b556bdd6 make FontInfo & fontinfo(LyXFont const & f) inline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10249 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 16:13:08 +00:00
André Pönitz
7e08de938a other people's work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10248 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:55:36 +00:00
André Pönitz
7173717c8c rename qfont_loader and font_info to mathc LyX naming conventions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10247 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:43:33 +00:00
Lars Gullik Bjønnes
ef8e527612 drop reLyX like it is hot, and setup to use tex2lyx instead (and remerged po files + no.po small update)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10244 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:18:14 +00:00
André Pönitz
46e3547945 simplify function calls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10243 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 14:53:18 +00:00
André Pönitz
316b56e2bc stylistic changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10239 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 11:58:12 +00:00
Jean-Marc Lasgouttes
4f96e3c41e get rid of the lib/xfonts hack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10238 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 11:06:12 +00:00
André Pönitz
3f54e51eb3 * lyxfont.h: Change order of declarations to give the compiler
a better chance to inline things

  * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
  questions on unsaved docs for better scritability


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10236 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 10:35:43 +00:00
André Pönitz
282f86fbb1 send UpdatableInset down the way of the Dodo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10228 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 22:10:25 +00:00
José Matox
a46bc98efd Add pch.h.gch* to .cvsignore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10209 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 14:32:14 +00:00
Lars Gullik Bjønnes
3af720c5a0 dist pch.h and mark PCH_FILE as built file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10179 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 10:57:44 +00:00
Lars Gullik Bjønnes
5020cae63f pretend success when srcdir != builddir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10177 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-13 20:07:23 +00:00
Lars Gullik Bjønnes
a78c91bdbb make sure to dist pch.h and mark PCH_FILE as a built file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10173 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 23:42:23 +00:00
Angus Leeming
5ae47a84eb Squash the Qt "Mutex destroy failure" warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10170 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 11:33:56 +00:00
Jean-Marc Lasgouttes
a72f2eda2d add boldsymbol to Qt math panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10136 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 12:22:59 +00:00
Jürgen Spitzmüller
dd1d850e93 localize date/time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10129 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-05 09:01:52 +00:00
Jürgen Spitzmüller
200435f2d9 fix bug 1870 (List of tables windows shows list of figures)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10125 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-04 13:05:03 +00:00
Jürgen Spitzmüller
9e4f1421a2 use bformat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10123 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-04 12:28:36 +00:00
Jürgen Spitzmüller
9e3ae6b327 fix "change tracker microbug" reported by Helge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10117 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-01 17:19:42 +00:00
Jean-Marc Lasgouttes
58f654142c add missing getext marks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10112 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-30 13:45:01 +00:00
Jean-Marc Lasgouttes
97d84f7589 change order of #includes so that USE_LYX_FONTCACHE has a meaningful value
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10096 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-21 13:10:59 +00:00
Angus Leeming
24e4fbfb15 Fix Cygwin compile problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10088 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-20 06:37:13 +00:00
Angus Leeming
029c5c4732 'Forward port' various path fixes from the 1.3.x branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10084 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-18 00:18:29 +00:00
Jean-Marc Lasgouttes
d8c516a729 revert stupid patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10074 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-16 14:18:18 +00:00
Jean-Marc Lasgouttes
810fbe89aa plug two memory leaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10069 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-16 09:44:13 +00:00
Jean-Marc Lasgouttes
62022d5441 do not cache font width with recent Qt versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10043 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-10 14:53:42 +00:00
Angus Leeming
70572847e2 Whitespace, only whitespace. s/ +$//
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10024 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-09 09:58:08 +00:00
Martin Vermeer
a85913d21a Lars's key input queue
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9999 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-06 12:34:28 +00:00
Jürgen Spitzmüller
cda2de1a4f limit qt-immodule fixes (bug 1830) to qt/x11
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9996 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-03 09:25:46 +00:00
Jean-Marc Lasgouttes
4fb36820b2 improve selection of range when using the errorlist dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9994 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-03 08:48:04 +00:00
Angus Leeming
7598e0b791 Fix QString -> std::string compilation problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9988 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-31 22:06:07 +00:00
Angus Leeming
6730c51c69 Allow ':' characters in file names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9987 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-31 19:38:44 +00:00
Martin Vermeer
a683500118 Axe processEvents, fix cursor draw artifacts, put update flags into an enum,
allow single-paragraph update


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9986 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-31 14:40:30 +00:00
Georg Baum
8fdea6df8a UI fixes from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9980 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-29 08:31:27 +00:00
Jürgen Spitzmüller
b6221be763 Jos�'s qt-immodule fixes (bug 1830)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9979 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-28 11:08:50 +00:00
Jürgen Spitzmüller
c776e0754a Michael's "ASCII->Plain Text" changes (bug 1572)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9965 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-21 13:26:13 +00:00
Jürgen Spitzmüller
91e6e36b83 fix qcitation search feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9964 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-21 10:36:10 +00:00
Lars Gullik Bjønnes
e5ae321dab the AM_* flags patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9963 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 16:56:28 +00:00
Lars Gullik Bjønnes
9601a476f0 move gnome subdir to the Attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9959 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 06:36:29 +00:00
Georg Baum
bff9db34d9 more text cleanups from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9958 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-19 18:53:09 +00:00
Angus Leeming
85e12a8cb3 Cache and re-use cursor pixmaps.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9957 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-19 16:34:02 +00:00
Georg Baum
0bc125e92b fix bug 1879
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9949 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-17 15:33:16 +00:00
Angus Leeming
36c3528db8 Enable the user to input "file names with spaces" only if LaTeX can
handle them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9946 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-16 09:14:18 +00:00
Angus Leeming
270bb796aa Whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9944 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-13 08:33:01 +00:00
Angus Leeming
d242843c81 Michael's dialog title patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9941 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-12 23:12:43 +00:00
Angus Leeming
a8a852b4e9 Make the Qt Alert boxes recognize their parent.
Lots of gratuitous changes that should not alter Lyx's behaviour.

**************************************************************************
You're all going to get failure on link. Please "rm -f lengthvalidator.*".
**************************************************************************


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9940 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-12 22:37:43 +00:00
Jean-Marc Lasgouttes
2b6b957d3e various toc-related fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9938 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-12 10:16:04 +00:00
Jean-Marc Lasgouttes
6fdbb6b8f0 processEvents tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9937 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-12 09:34:14 +00:00
Martin Vermeer
e276c08990 Use event loop for Qt >= 3.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9936 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-11 20:09:20 +00:00
Martin Vermeer
31bded06b1 The processEvents / screen update recursion bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9931 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-11 07:44:20 +00:00
Angus Leeming
0c83c77294 (Lars) Remove symbolic links on "make distclean".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9923 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-09 09:57:36 +00:00
Georg Baum
ce7da69af1 Another set of text changes from Michael, approved by John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9920 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-08 10:02:38 +00:00
Georg Baum
685af1c6d6 Remove dialog titles from Qt's *.ui files from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9918 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-07 12:12:25 +00:00
André Pönitz
3a3c1080ee make sure the 'setStatus(Collapsed)' crash won't occur otherwise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9917 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-06 20:00:31 +00:00
André Pönitz
56f0c42919 fix crash when collapsing ert with cursor inside
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9916 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-06 18:54:36 +00:00
Angus Leeming
4ea2bf14db Disable various spell thingies when USE_[AIP]SPELL is not defined.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9912 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-05 21:08:18 +00:00
Angus Leeming
318bdb52f3 Michael Schmitt's harmonization of translations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9906 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-05 11:07:45 +00:00
Angus Leeming
817e3efdf3 * Make the PCH stuff work properly when source directory
and build directory differ.
* A couple of minor fixes to the Makefiles' DISTCLEAN targets.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9905 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-04 16:42:06 +00:00
Angus Leeming
026cce7c1e Fix bug 1876. Thanks Alfredo. Thanks Felix-Antoine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9902 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-03 22:24:43 +00:00
Angus Leeming
201e5bdf70 Fully enable compilation of LyX 1.4.x on Windows with MinGW/MinSYS.
Break compilation with MSVC. See accompanying mail on the lyx-devel list.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9895 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-02 13:35:30 +00:00
Jürgen Spitzmüller
b52587a650 qt longtabular ui fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9894 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-02 05:51:27 +00:00
Martin Vermeer
e3d9f8c283 Trivial fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9890 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-29 11:52:52 +00:00
Angus Leeming
48f1b22d5d Improve feedback when trying to create a custom bullet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9886 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-28 15:34:19 +00:00
Angus Leeming
cf7f310eb9 Make typing responsive when an image is on the screen.
Patch not needed for 1.3.x.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9884 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-28 09:39:51 +00:00
Angus Leeming
fb70c52b05 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9877 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 11:12:20 +00:00
Angus Leeming
aabd481ab6 Consistent use of preprocessor guards;
include <config.h> in .C files, not .h ones;
licence blurb.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9876 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 10:30:24 +00:00
Georg Baum
a70b4ef051 refine the logic for checking whether a dialog may apply its data or not
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9874 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 09:37:52 +00:00
Angus Leeming
17e48cd4f3 Move support/globbing.[Ch] to xforms/globbing.[Ch].
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9871 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-25 11:09:53 +00:00
Angus Leeming
f8ca518f31 Move the setting of the Qt preprocessor flags out of the Makefiles and into qt.m4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9855 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-22 10:59:17 +00:00
Jean-Marc Lasgouttes
c8babc2cbf update counters if secnumdepth has changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9829 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-19 08:56:15 +00:00
John Spray
62a44b3e87 Fix type in list of glade files to install
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9826 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-18 17:55:06 +00:00
Jürgen Spitzmüller
e54f1bea17 fix qprefs ui (bug 1829)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9816 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-15 08:56:46 +00:00
Jürgen Spitzmüller
7cb17160b3 qdocument dialog: fix numbering ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9813 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-14 09:40:35 +00:00
Georg Baum
a1ba34bef9 disable open dialogs if applying them is not allowed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9811 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-13 09:43:58 +00:00
Jürgen Spitzmüller
9dd60d60b3 fix qt dialog list resizing (bug 1033)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9802 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-11 07:00:03 +00:00
Angus Leeming
f8b0dc67eb Fix display of CREDITS info in Help->About dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9794 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-08 15:11:47 +00:00
Martin Vermeer
dbbcea2f5e Fix bug 1843
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9750 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-27 07:14:12 +00:00
Jean-Marc Lasgouttes
f5bde88677 support \% in bib files; support annote field
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9732 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 14:31:22 +00:00
John Spray
293b9f37d7 More expansion of gtk document dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9726 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 09:57:51 +00:00
Georg Baum
542c82edbe fix preferences dialog layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9725 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 08:31:54 +00:00
Alfredo Braunstein
d996147dbb avoid an infinite loop while scrolling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9724 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-20 17:13:17 +00:00
John Spray
7dc95c602b Use gtk properties stock icon for document dialog menu entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9723 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-20 11:38:58 +00:00
John Spray
fc71ca3447 * GGraphics, GVSpace, GBox: update to use new ghelpers functions
* ghelpers: add getLengthFromWidgets, setWidgetsFromLength,
  comboBoxTextSet, populateUnitCombo.  Remove buildLengthNoRelUnitList.
* GDocument.[Ch], Makefile.am, Dialogs.C: start work on document
  dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9709 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-11 00:25:56 +00:00
Lars Gullik Bjønnes
87cd77d1fc gnome build removal, gtk build fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9696 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-06 04:29:27 +00:00
John Spray
b433a7ff83 make something const
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9692 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-05 00:31:12 +00:00
John Spray
efa09596c0 Fix layoutbox update in toolbar in order to not blank current selection
when updating, such as on a change of document class.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9691 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-04 23:58:28 +00:00
Angus Leeming
fe96831a8c Do Lars' dirty work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9688 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-02 08:56:13 +00:00
Angus Leeming
832a46885a Andreas' "in_show" fix to bug 1119.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9661 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-22 10:25:42 +00:00
Jean-Marc Lasgouttes
4088deebe2 Michael's patch to change 'reference' to 'label' in xref dialogs (same as BRANCH_1_3_X)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9655 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-21 10:30:11 +00:00
John Levon
ed0d2079b8 Better comment for the event queue magic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9615 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-11 18:07:06 +00:00
Jürgen Spitzmüller
fb4d88b7b0 fix QRef dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9610 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-10 21:47:53 +00:00
Lars Gullik Bjønnes
aa491cdb98 dociterator dont inherit from std::vector and updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9602 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-08 13:18:05 +00:00
Asger Ottar Alstrup
f22059e9e4 - Move theCoords.doneUpdating here - right before we paint the cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9585 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-04 07:16:03 +00:00
Angus Leeming
ad6ae8996a Move a helper text into LyXRC::getDescription (RC_PATH_PREFIX)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9566 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-01 22:48:23 +00:00
Angus Leeming
807a279bc4 Some boost::filesystem fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9564 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-01 16:41:24 +00:00
Angus Leeming
984a123af3 Asger's obviously-correct Win32 changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9556 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 15:26:40 +00:00
Lars Gullik Bjønnes
b6e6f87f71 ditch FileInfo -> use boost.filesystem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9547 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 10:42:26 +00:00
Angus Leeming
467a7c0830 Remove unused 'public slot: void slotEdit();'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9545 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 10:19:22 +00:00
Georg Baum
7050a7cb57 gtk compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9543 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-29 20:40:37 +00:00
Georg Baum
5f21ba1f56 disable concept checks in gtk frontend for gcc 3.4 and above
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9542 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-29 15:09:14 +00:00
Lars Gullik Bjønnes
342cdf4322 the convert patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9538 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-27 21:05:44 +00:00
Angus Leeming
1b264d6f7d Rename some of the elements of the SpellBase::Result enum.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9513 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-20 16:17:37 +00:00
Angus Leeming
f3024416ad Guard HAVE_UNISTD_H.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9512 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-20 15:38:14 +00:00
Angus Leeming
1665be55ae Change the meaning of the $$s placeholder to <lyx support dir>.
(It was <lyx support dir>/scripts.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9509 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-20 15:02:16 +00:00
Jean-Marc Lasgouttes
bec94eeade fix bugs discovered by msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9507 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-20 14:38:45 +00:00
Angus Leeming
bb350c0cba Use HAVE_UNISTD_H.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9503 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-19 15:26:41 +00:00
Angus Leeming
c9f9ba315c Asger's exchanging of the class and struct keywords.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9502 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-19 15:03:31 +00:00
Asger Ottar Alstrup
282bf655ed - Add missing STL includes for correctness - gcc is too forgiving
- Add missing using statements
- Guard #warning statements


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9494 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-18 14:15:57 +00:00
Angus Leeming
2365df80bf Invoke scripts by prepending the name of the script language executable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9489 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-17 18:54:01 +00:00
Angus Leeming
3f938d4dbf The LyXRC::prepend_path patch as tested on the Mac by Andreas.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9485 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-16 21:01:41 +00:00
Angus Leeming
49cc508422 Enable Qt's uic to process the .ui files when using srcdir != buildir and
precompiled headers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9481 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-15 19:17:11 +00:00
Angus Leeming
7b214dd05e The Cygwin path fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9478 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-14 15:53:30 +00:00
Angus Leeming
b4c186e11e Use getString, a safe wrapper around fl_get_input, consistently.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9475 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-13 19:12:10 +00:00
Angus Leeming
f717cb6b22 Get rid of extraneous whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9466 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-12 10:30:46 +00:00
Jean-Marc Lasgouttes
06788449ec enable Goto error (bug 1760)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9464 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-11 13:22:42 +00:00
Angus Leeming
b5589bf6cf The package reworking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9463 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 19:17:43 +00:00
André Pönitz
9a5b09b5e4 start fixing cursor size in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9460 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 09:28:06 +00:00
Jean-Marc Lasgouttes
aab625bdb9 fix font metrics with Qt/Win 3.2.1nc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9455 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-07 15:29:45 +00:00
Lars Gullik Bjønnes
7ab15b2e0c missed some tostr.h -> convert.h places
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9449 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:44:04 +00:00
Lars Gullik Bjønnes
9c2ba3c4ff rename tostr.[Ch] to convert.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9448 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:39:35 +00:00
Lars Gullik Bjønnes
6a55be9506 tostr -> convert and some bformat work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Jürgen Spitzmüller
701b99ecd7 float2string #4 (Spacing)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9445 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 13:48:13 +00:00
Lars Gullik Bjønnes
bb8fcec6c9 improve link trick and remove some duplicates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9435 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 15:35:42 +00:00
Jürgen Spitzmüller
352bfecbba forgot to mention...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9434 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 11:00:12 +00:00
Jürgen Spitzmüller
780ee52866 float2string #3 (lyxrc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9432 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 10:54:31 +00:00
Lars Gullik Bjønnes
aa7816f6d8 improve trick to avoid touching a lot of unneeded files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9427 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 10:07:32 +00:00
Jürgen Spitzmüller
b029c3bf80 float2string #2 and insetexternal \sclaebox fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9419 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-04 10:59:49 +00:00
Jean-Marc Lasgouttes
4757e3cb6f cure a few more warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9416 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-03 12:51:26 +00:00
Jean-Marc Lasgouttes
2aa786c652 fix some compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9409 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-29 11:39:17 +00:00
Jürgen Spitzmüller
99edaf8969 float2string changes #1 (Graphics), missing bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9405 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-28 11:27:51 +00:00
Angus Leeming
f1e9f57553 * Replace all use of 'slashify_path' with 'internal_path'.
* Specialise 'internal_path' and 'external_path' for Windows and Cygwin.
* Enable LyX to find its system_lyxdir on Windows.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9401 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-20 16:59:33 +00:00
Georg Baum
5da7ac4fb5 fix compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9398 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-19 20:22:24 +00:00
Martin Vermeer
eebda223db The ��ngstr��m, ��rsted patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9394 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-17 13:34:02 +00:00
Angus Leeming
3dd565beae Prevent invocation of std::string(0);
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9391 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-16 16:04:52 +00:00
Jürgen Spitzmüller
5dc46fafb1 fix xforms math panel (bug 1214)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9389 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-16 15:35:17 +00:00
Angus Leeming
82dca177a3 Remove redundant "using lyx::support::GetEnvPath;"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9388 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-16 14:53:58 +00:00
Angus Leeming
f88dfdc0dc Get rid of FileInfo::getNumberofLinks().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9384 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-15 21:40:11 +00:00
Angus Leeming
4b7891d873 OS Abstraction of "HOME" and the null device.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9376 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-15 19:35:43 +00:00
Angus Leeming
8ac5137961 remove invalid Q_EXPORT declaration as it breaks compilation of the
generated qgridview_moc.C on Windows machines. Has no effect on *nix
machines where Q_EXPORT expands to an empty string.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9365 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-14 11:05:44 +00:00
Angus Leeming
ba837dca09 Remove trailing slash from -Ifoo/ in the AM_CPPFLAGS rules in the various
Makefile.ams to overcome bug in the MinGW port of g++ 3.4.2.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9364 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-14 10:41:09 +00:00
John Spray
fa14ac7bab update frontends/gtk/glade/Makefile.am with recently(ish) added glade files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9360 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-12 22:48:58 +00:00
John Spray
8d6684d46f gtk filedialog: use set_current_name to make suggested filenames work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9359 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-08 22:55:41 +00:00
John Spray
9ff37e567e gtk: improve dialog layouts, make spinbuttons show 2 decimal places where appropriate, make GSearch focus the find text entry on update()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9358 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-07 22:39:29 +00:00
John Spray
3a79aaab3f gtk include dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9353 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-07 00:29:15 +00:00
Alfredo Braunstein
3c696553ac draw incomplete cursors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9352 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-06 21:59:23 +00:00
Lars Gullik Bjønnes
7d6b15683f cleanup some makefiles a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9344 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-05 22:10:05 +00:00
Lars Gullik Bjønnes
7ef4c4070c rename boost libs, add some boost variables for automake, and use them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9343 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-05 17:10:58 +00:00
Angus Leeming
855a20adb9 <X11/forms.h> --> "lyx_forms.h"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9342 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-05 16:49:26 +00:00
Lars Gullik Bjønnes
a4319c2b89 more PCH_FLAGS work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9341 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-04 14:50:25 +00:00
Lars Gullik Bjønnes
4048edc864 fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9339 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 19:56:32 +00:00
Lars Gullik Bjønnes
c73eea9bda use AM_CPPFLAGS instead of INCLUDES since that is deprecated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9338 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 19:11:38 +00:00
Georg Baum
e70294c413 use better index types for tabular rows, columns and cells than int
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9334 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 13:57:50 +00:00
Jürgen Spitzmüller
1ce553b7fe length validators for the remaining qt dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9333 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 11:02:06 +00:00
Angus Leeming
b6cb6b2a38 Revert the XForms 'intelligent graphics exposure' patch because it is
currently breaking selection, etc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9327 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-30 15:56:13 +00:00
Jean-Marc Lasgouttes
37e82a5463 get rid of broken_header.h and some unneeded tests
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9326 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-30 09:21:12 +00:00
Alfredo Braunstein
a2cd656e25 CoordBranch merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9325 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-30 01:59:49 +00:00
John Spray
e171a6a69f whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9324 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-29 21:44:26 +00:00
John Spray
84ff0a283c fix warnings in frontends/gtk/FileDialogPrivate.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9323 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-29 21:21:57 +00:00
John Spray
21b99b12d8 make gtk layout combobox smaller
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9322 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-29 17:05:38 +00:00
Jürgen Spitzmüller
fb9f8d569a Length validators for the graphics and box dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9320 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-27 18:47:41 +00:00
Jürgen Spitzmüller
59248bccd2 Rename button in the tabular dialog, carify tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9319 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-27 18:39:07 +00:00
John Spray
08762a396f fix ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9317 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 16:09:11 +00:00
John Spray
297d94a4b8 GtkFileChooser in gtk FileDialog, also do filtering
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9316 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 15:34:50 +00:00
John Spray
d5c07d31aa Use GtkFileChooser in gtk FileDialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9315 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 15:32:37 +00:00
Angus Leeming
68b0cca2e7 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9314 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 14:52:54 +00:00
Angus Leeming
5a338c3927 Change glob() API to accept a dir parameter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9313 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 14:37:40 +00:00
Angus Leeming
d23bb9eaa8 Clean-up FileFilterList API.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9311 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 12:31:39 +00:00
Georg Baum
78948fb552 fix changelog entry finally ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9309 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 18:39:54 +00:00
John Spray
25bd4a229b better fix for gcc 3.4 compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9308 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 11:57:43 +00:00
John Spray
8a69513606 fix gtk gcc3.4 compilation, add pch.h for gtk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9307 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 11:34:57 +00:00
John Spray
3e498a40a5 Fix gtk compilation with gcc 3.4, add preliminary pch.h for gtk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9306 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 11:33:01 +00:00
Angus Leeming
8eea28ec80 Give FileFilterList its own .[Ch] files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9305 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 11:08:32 +00:00
John Spray
6fb13068e3 tweak scrolling in gtk workarea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9291 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-22 17:44:50 +00:00
Jean-Marc Lasgouttes
ce2cab2732 update the screen while spellchecking and merging changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9289 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-22 14:56:14 +00:00
Georg Baum
42833f9c13 disable concept checks in GSendto.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9287 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-22 14:03:32 +00:00
Jürgen Spitzmüller
4c63bdbff0 glue length validator for qt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9286 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-22 12:22:19 +00:00
John Spray
9b3cfb9363 gtk sendto dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9283 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-21 13:14:39 +00:00
John Spray
82d82f7a11 use size_t instead of unsigned int where appropriate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9281 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-20 21:26:13 +00:00
John Spray
acd65c684f Juergen's compiler warning fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9278 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-20 11:21:09 +00:00
Lars Gullik Bjønnes
a56b428d88 fix compilation with boost 1.32.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9276 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-20 09:35:17 +00:00
Jean-Marc Lasgouttes
020972b7f9 get rid of Paragraph::isWord; ignore words with digits in spellchecker
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9268 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-18 14:58:54 +00:00
Georg Baum
feb701e35e determine current cell in the tabular controller instead of the inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9265 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-18 12:58:19 +00:00
Lars Gullik Bjønnes
d8dd55eb33 disable conecpt checks for gtk dir, fix concept checks for qt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9262 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-16 23:18:46 +00:00
Lars Gullik Bjønnes
1f9d992ce0 Make us satisfy concept checks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9260 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-16 20:41:38 +00:00
Jean-Marc Lasgouttes
3c6f968676 correctly disable buffer-related menu entries when a dialog has focus (bug 1720)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9258 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-16 10:46:23 +00:00
John Spray
59cd5ec173 gtk vspace dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9257 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-16 00:20:59 +00:00
John Spray
24cec04e28 Tweak gtk print dialog layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9255 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-15 16:30:24 +00:00
John Spray
facb7e89de GTK Float dialog and Note dialog. Today is rhyming dialog day!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9254 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-15 16:02:57 +00:00
John Spray
6640822be5 Menu icons, gtk stock icons in toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9251 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-15 14:02:40 +00:00
John Spray
6b553bee4c Get rid of "Display Tooltips" option in ui, it's not implemented
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9243 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-15 00:57:17 +00:00
John Spray
7e20629741 GTK ERT dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9240 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-14 18:26:16 +00:00
John Spray
5352478c93 GTK Box dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9239 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-14 17:10:04 +00:00
Georg Baum
dacd4cea26 make gettting the file format from file contents work in the correct way ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9218 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-09 19:08:34 +00:00
Jean-Marc Lasgouttes
7f4c86a075 code refactorization in toolbars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9212 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-09 12:40:34 +00:00
Jean-Marc Lasgouttes
4b5e6c510d trivial typo; unfortunately I can't compile the gtk frontend currently
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9207 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-08 14:17:17 +00:00
Jean-Marc Lasgouttes
53c1607808 fix automake 1.6.3 error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9206 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-08 10:56:02 +00:00
Jean-Marc Lasgouttes
cb15371de3 add possibility to specify the origin of a FuncRequest; use it to get rid of the "verbose" flag in dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9205 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-08 10:54:29 +00:00
Jürgen Spitzmüller
248968e24c fix crash when adding new format (bug 1692), improve qt converters ui (bug 1488)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9204 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-08 08:33:54 +00:00
Lars Gullik Bjønnes
36bbe54813 * translator.h: use bind, equal_to instead of equal_1st_in_pair
and equal_2nd_in_pair
* Makefile.am (libsupport_la_SOURCES): remove lyxfunctional.h
* lyxfunctional.h: delete file
* RadioButtonGroup.C (set): use bind, equal_to instead of
equal_2nd_in_pair


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9184 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-06 16:42:30 +00:00
Lars Gullik Bjønnes
ab9e55eb69 * lyxfunctional.h: delete compare_memfun and helper classes
* xformsImage.C (loadableFormats): use bind, equal_to instead of
compare_memfun
* QLImage.C (loadableFormats): use bind, equal_to instead of
compare_memfun
* bufferlist.C (exists): use bind and equal_to instead of
compare_memfun
(getBuffer): ditto
* lyxtextclasslist.C (NumberOfClass): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9183 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-06 16:14:22 +00:00
Lars Gullik Bjønnes
13c24dd556 * lyxfunctional.h: delete back_inserter_fun functions and helper
classes.
* lyx_gui.C (start): use for_each instead of explicit for loop
* cursor.C (insert): use for_each instead of explicit for loop

* bufferlist.C (getFileNames): use std::transform and
std::back_inserter instead of std::copy and lyx::back_inserter_fun.

* buffer_funcs.C (bufferErrors): use for_each instead of explicit
for loop

* buffer.C (changeLanguage): use for_each instead of explicit for
loop
(hasParWithID): implement using getParFromID

* LaTeXFeatures.C: ws change only

* CutAndPaste.C (replaceSelectionWithString): Use a temporary var
to cleanup a bit.

* BufferView_pimpl.C (trackChanges): use for_each instead of
expilicit for loop


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9182 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-06 15:23:12 +00:00
Angus Leeming
dd39c2d020 Enable the XForms frontend to be compiled with picky versions of make.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9175 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-05 11:46:10 +00:00
John Spray
5b9330bb8e fix interpreting of gdk mouse button numbers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9170 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-04 21:50:10 +00:00
John Spray
8f7d6cae4e minor fixes to gtk graphics dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9154 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-01 10:23:11 +00:00
Georg Baum
6fe9e4e30d rename getExtFromContents() to getFormatFromContents()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9141 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-29 15:47:55 +00:00
Angus Leeming
eb00187fea Whitespace, nothing but whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9131 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 21:16:44 +00:00
Angus Leeming
e5706b107d The Movers patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9130 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 18:39:13 +00:00
John Spray
4f89cf2b1d gtk graphics dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9129 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 09:10:17 +00:00
John Spray
f4811c91d7 Use MenuItem::status() instead of own submenudisabled function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9107 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-22 23:13:47 +00:00
Georg Baum
e416d1aea7 enable translation of ambigous messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9097 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-19 09:11:02 +00:00
Jean-Marc Lasgouttes
eb130e4103 fix math fonts with LyX/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9086 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-13 16:14:57 +00:00
John Spray
541a765905 trivial bugfix in gtoc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9082 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-11 17:19:42 +00:00
John Spray
0f3e1aa0f9 fix typo in gchanges
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9081 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-11 17:06:52 +00:00
John Spray
e05e237c60 tweak gworkarea scrolling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9080 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-11 16:58:17 +00:00
John Spray
b0a20c95ff gtk changes dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9079 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-11 14:29:15 +00:00
John Spray
90d13ee068 Trivial and WS changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9073 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-10 15:10:37 +00:00
John Spray
2c7c49ad8b Add GTK Log view dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9071 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-09 13:51:05 +00:00
John Spray
0e976314ed Add ShowFile dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9070 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-09 07:51:37 +00:00
John Spray
e8b0d829e7 Add gtk Texinfo dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9069 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-08 18:21:42 +00:00
John Spray
91d8de7b58 glade tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9068 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-08 16:18:05 +00:00
John Spray
c9ab63f32e add ErrorList dialog, implement GViewBase::setTitle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9067 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-08 14:59:18 +00:00
Jean-Marc Lasgouttes
8f4d5e8096 fix dialogs in LyX/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9060 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-07 08:03:18 +00:00
John Spray
956313903e The Spellchecker dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9059 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-06 15:15:37 +00:00
Angus Leeming
06f456e0b4 Get the layout engine working correctly (John Spray's patch.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9055 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-06 09:22:52 +00:00
John Spray
de19376118 Add mathsmatrix dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9048 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 12:37:26 +00:00
Angus Leeming
e978fa42e3 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9044 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 10:11:42 +00:00
Angus Leeming
965a772279 Hartmut's patch to make the indexing command (makeindex) configurable.
Plus tweaks to get the UI working.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9043 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 08:34:41 +00:00
John Spray
dec1f2fd28 fix gmenubar crash on "Figures" submenu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9039 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-04 11:32:34 +00:00
John Spray
041474d127 Add readonly() function to GViewBase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9038 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-03 12:32:30 +00:00
John Spray
ac89ab9cfe Improve GSearch's sensitivity behaviour on readonly documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9037 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-03 12:31:38 +00:00
John Spray
3f4d7c6ac0 Add accelerator (binding) labels to menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9036 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-02 23:24:46 +00:00
John Spray
005955b527 Display accelerator (binding) labels in menus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9035 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-02 23:21:36 +00:00
John Spray
ae8999aeba add gtk TOC dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9034 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-02 16:17:21 +00:00
John Spray
2cd0b94b86 Fix tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9033 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-01 19:31:08 +00:00
John Spray
4e0607242f Add GParagraph dialog, make GViewBase update() when it show()s
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9032 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-01 18:59:36 +00:00
John Spray
8e778e7499 Update from deprecated Combo to ComboBox in GLayout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9031 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-01 18:41:16 +00:00
Lars Gullik Bjønnes
0ebf1d4a50 fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9018 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-27 20:52:39 +00:00
Lars Gullik Bjønnes
fa371fa1eb some small changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9017 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-27 19:04:17 +00:00
Lars Gullik Bjønnes
de8a7a9214 the character dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9016 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-27 18:52:43 +00:00
Lars Gullik Bjønnes
026310cdb5 add a const, use boost::assert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9014 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-27 00:08:33 +00:00
Lars Gullik Bjønnes
786046ce6f use stock and glade fixes from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9013 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 23:47:07 +00:00
Lars Gullik Bjønnes
9122d5b2df header file reorder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9012 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 18:36:07 +00:00
Lars Gullik Bjønnes
d86c6d46bb Move to gtk 2.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9011 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 16:48:30 +00:00
Lars Gullik Bjønnes
ec94b42f51 Use the preferred calling for Boost.Signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9010 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 14:19:47 +00:00
Lars Gullik Bjønnes
66e8220540 WS changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9008 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 13:18:29 +00:00
Lars Gullik Bjønnes
48e9df18b2 GPrint dialog from John Spray
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9006 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 08:05:05 +00:00
Angus Leeming
e5982ba00f John Spray's gtk search dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9004 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-24 20:07:54 +00:00
Alfredo Braunstein
47aecd3178 John Spray's gtk scrolling patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9002 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-24 06:32:22 +00:00
Jean-Marc Lasgouttes
09b67226eb fix backwards search (bug 1666)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8988 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-17 16:28:47 +00:00
Georg Baum
bcec816212 let the "load" button of insetinclude do something useful with nonlyx files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8985 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-16 18:03:07 +00:00
Jean-Marc Lasgouttes
558e849e69 make LyX work better when run from a directory which name contains spaces or other special characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8982 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-14 10:20:38 +00:00
Lars Gullik Bjønnes
c5186dcb4d Improve/Fix pch a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8964 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-29 23:52:48 +00:00
Georg Baum
37ef04812b make the custom bullet fix compile on SuSE 9.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8958 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-19 06:30:43 +00:00
Lars Gullik Bjønnes
88506129ee some pch work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8957 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-18 15:59:50 +00:00
Lars Gullik Bjønnes
197c26de99 More pch work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8956 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-18 14:20:18 +00:00
José Matox
393d59f296 show custom bullet instead of "...", change from John.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8955 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-18 14:00:03 +00:00
Lars Gullik Bjønnes
b0fbc29aa3 some support for pch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8947 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 21:45:30 +00:00
Jean-Marc Lasgouttes
a9114d0e44 the Qt/Mac merge menu patch; this is actually different from macmove8, so I hope it still works...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8926 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 18:06:10 +00:00
André Pönitz
02ebc072b0 remove per-inset position cahce, use new external map instead.
this allows us to bomb early on uninitialized cache values.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8923 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 14:03:42 +00:00
Jean-Marc Lasgouttes
3f9e3449d5 make sure that the color picker dialogs have the right parent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8918 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 23:29:02 +00:00
Jean-Marc Lasgouttes
122ca8287f try to repaint window correctly when dispatching loooong commands
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8906 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 15:45:51 +00:00
Georg Baum
943d71e5aa patch from Kornel: fix qt font names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8883 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-12 07:24:03 +00:00
Jean-Marc Lasgouttes
ff5a462b35 use native filedialogs under Qt/Mac (can be turned off)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8881 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-09 13:00:30 +00:00
Jean-Marc Lasgouttes
f28f5b4a08 translate properly qt built-in text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8875 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-08 22:37:39 +00:00
Jean-Marc Lasgouttes
56c470c33d make browsing for lyxdir files DTRT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8872 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-08 15:23:43 +00:00
Jean-Marc Lasgouttes
9e25f077c3 do not use QFileDialog directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8871 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-08 13:17:22 +00:00
Lars Gullik Bjønnes
8a490234de fix wheel handling for xforms
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8856 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-01 21:24:03 +00:00
Lars Gullik Bjønnes
e34a1e90af obvious stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8851 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-25 00:04:42 +00:00
Lars Gullik Bjønnes
c499bd1698 Use boost::scoped_array to store the temporary wchar_t pointer/array
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8850 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-24 16:40:21 +00:00
Lars Gullik Bjønnes
7c15014ec2 change "support/std_sstream.h" to <sstream>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8849 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-24 10:55:30 +00:00
Lars Gullik Bjønnes
d9bf52e7c5 the lyxserver modifications
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8842 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-22 13:44:40 +00:00
Lars Gullik Bjønnes
cfd21e6a2a the lyxsocket changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8841 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-21 19:03:21 +00:00
Jean-Marc Lasgouttes
d3ab333b14 make bindings appear in LyX/Mac menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8836 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-07 09:32:19 +00:00
Jean-Marc Lasgouttes
3dceaedfa2 Qt/Mac disappearing menu syndrom, part II
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8821 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-23 14:04:09 +00:00
Jürgen Spitzmüller
c842720218 disallow the insertion of incomplete citation references, prevent crash (bug 1617)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8818 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-21 08:56:43 +00:00
Lars Gullik Bjønnes
fe87ad6b88 add Debug::DEBUG and add some saver coversions to qt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8816 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-18 13:31:55 +00:00
Jean-Marc Lasgouttes
59e677aa48 fix disappearing menus syndrome on Qt/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8812 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-09 14:10:27 +00:00
Angus Leeming
07ccd91ec0 Prevent crash when trying to draw non-existent 'button_state' button on
an 'FL_NORMAL_COMBOX' combox.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8805 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-04 13:20:26 +00:00
Angus Leeming
684299d107 Reverse yesterday's attempt to squash b_u_g 1530.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8801 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-02 20:13:18 +00:00
Lars Gullik Bjønnes
12d8e9b6eb small update to test and auto var
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8799 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-02 14:39:35 +00:00
Angus Leeming
15282fe989 Tell the QDialog base class who the parent dialog is.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8795 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-01 22:16:28 +00:00
Angus Leeming
c8600dc0a1 Fix problem with toolbars always visible at startup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8789 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-01 11:10:09 +00:00
Lars Gullik Bjønnes
d9f0882887 make distcheck work, and some cleanups to the config system
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8786 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-28 07:14:58 +00:00
Lars Gullik Bjønnes
31bfe0870f makefile gtk fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8778 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-25 23:45:52 +00:00
Georg Baum
9501a5d130 make text output of message boxes more readable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8775 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-25 16:27:06 +00:00
John Levon
a0f28f1e9b fix compile error (missing semicolon)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8773 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-24 11:19:30 +00:00
Angus Leeming
0ac4f65ad7 Sane ordering of the files #included in the Qt frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8772 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-20 09:36:28 +00:00
Angus Leeming
2c375c109d Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8767 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-19 15:16:54 +00:00
Angus Leeming
2a31934f38 Wrap most of the frontend code up inside namespace lyx::frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8766 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-19 15:11:37 +00:00
Angus Leeming
24bd12178d a new biblio::asValidLatexString helper function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8754 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 15:27:13 +00:00
Angus Leeming
ea6a5fe92d Move the biblio::CiteEngine enum into bufferparams.h to minimize
dependencies on frontends/controllers/biblio.h.
Small clean up of the existing biblio.h interfaces.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8753 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 13:13:20 +00:00
Angus Leeming
8424214209 Store the citation engine in BufferParams as biblio::CiteEngine rather
than a triplet of bools. Results in a file format change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8752 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-13 20:44:35 +00:00
Angus Leeming
d8c5a828fa Clean up natbib, jurabib code as posted to the list last Friday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8748 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-10 20:55:00 +00:00
Angus Leeming
b03602ecc0 Squash bug 1251. Now works correctly if the user presses 'Esc'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8741 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-05 09:33:20 +00:00
Angus Leeming
137af8fc0c Squash bug 803 for Qt and 1.4.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8740 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-05 08:29:31 +00:00
Angus Leeming
f557f14c69 Squash bug 803 for XForms and 1.4.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8739 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-04 21:35:34 +00:00
Angus Leeming
a5e44ab543 Squash bug 1590 by removing "error" from the list of dialog identifiers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8738 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-04 18:39:41 +00:00
Angus Leeming
0ed969c0d0 Make the XForms frontend 'do the right thing' when exposing the work area
* if * libforms supports this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8737 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-04 16:25:30 +00:00
Angus Leeming
9c628d363a Revert the red color of the frame widget.
Instead, set it to LColor::background.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8736 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-04 16:19:54 +00:00
Angus Leeming
a81c35023a Do nothing on calls to XFormsToolbar::show, hide if the toolbar is
already visiblehidden respectively.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8735 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-04 14:50:36 +00:00
Angus Leeming
07cc9f6753 Change the color of the background widget to red.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8731 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-04 09:05:21 +00:00
Angus Leeming
86e0dfa3e1 ... and sanitize the simplified code...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8730 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-03 15:47:39 +00:00
Angus Leeming
c688967bc3 Simplify the mechanics of generating the 'inactive' pixmap.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8729 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-03 15:41:16 +00:00
Angus Leeming
32d281cba0 Store and use QImage rather than QPixmap.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8720 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-02 12:45:26 +00:00
Angus Leeming
ca9190c9d1 Add the ability to set the background colour of an image to
LColor::graphicsbg.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8719 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-02 11:10:22 +00:00
Georg Baum
ee3c83ff49 STLport compile fix for floor()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8718 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-02 10:13:09 +00:00
Angus Leeming
5d367b87c4 Whitespace...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8717 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-30 17:35:55 +00:00
Angus Leeming
9c57aa5277 Visual feedback of inactive toolbar buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8716 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-30 17:30:19 +00:00
Angus Leeming
14b065c2e3 Implement missing grayscale transformation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8714 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 16:06:59 +00:00
Angus Leeming
bb8f3fc98f Squash a warning by fixing the code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8710 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 14:47:09 +00:00
Angus Leeming
5009d66e16 * Positionable and dynamically visible toolbars for the XForms frontend.
* General Toolbars code clean-up.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8707 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 09:54:59 +00:00
Angus Leeming
b03580df17 A layout engine for XForms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8704 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-28 17:22:05 +00:00
Angus Leeming
dd01380a27 Pass LyxView & to the WorkArea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8703 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-28 11:33:27 +00:00
Angus Leeming
d68ec28906 Bug fix; ensure that all is Ok after the combox is moved with
fl_set_object_position et al.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8702 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-28 10:21:37 +00:00
Angus Leeming
3432599a35 Remove unneeded #include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8701 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-28 10:16:13 +00:00
Angus Leeming
e68157b774 The minimum changes needed to give the Gtk frontend dynamic toolbars,
displayed at the expected position on the LyX screen.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8700 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-27 14:48:13 +00:00
Angus Leeming
f439fef46d Search the src tree for glade files, so preventing an unnecessary crash
in the gtk frontend.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8699 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-27 12:48:45 +00:00
Angus Leeming
748e530b92 Pedantry...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8697 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-27 12:40:33 +00:00
John Levon
3bcf40e96d Make M-x show the minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8686 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-21 00:19:27 +00:00
Angus Leeming
345f0f0b23 Make 'make distdir' work again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8683 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 10:38:48 +00:00
Angus Leeming
c4762f9452 Whitespace, only whitespace...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8682 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 08:51:15 +00:00
John Levon
3cd2264196 re-show the cursor. Report any cursor dirt please.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8672 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 14:25:05 +00:00
Angus Leeming
2a39a579f9 Press 'File->Save' in emacs before commiting...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8671 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 13:34:06 +00:00
Angus Leeming
f16199abd2 Enable the user to preview xfig figures (f.ex.) without previewing mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8670 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 13:31:17 +00:00