Commit Graph

3059 Commits

Author SHA1 Message Date
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