Commit Graph

60 Commits

Author SHA1 Message Date
Georg Baum
05a6f9ffbe Fix spurious error message about nonexisting directory.
* src/buffer.C
	(Buffer::save): Only try to make a backup if the buffer file already
	exists. The try ... catch mechanism is fine, but when it was
	introduced ot was overseen that copying a file could not only fail
	because the destination dir does not exist, but also because the
	source does not exist.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16121 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-30 15:21:23 +00:00
Peter Kümmel
7fb25526d5 also support the geometry option on Windows + Qt/Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16106 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-29 16:52:44 +00:00
Peter Kümmel
ad484c922b Windows doesn't support the geometry option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16101 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-29 10:10:07 +00:00
Bo Peng
64990eaf85 Status.15x: add bug for do not save unsaved file when lyx quits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16097 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-29 02:49:25 +00:00
Enrico Forestieri
3af19d895b Add a regression to Status.15x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16095 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-29 00:25:24 +00:00
Georg Baum
1ac8219910 The DVI view menu bug is not fixed. Add del /tmp bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16089 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-28 10:38:19 +00:00
Abdelrazak Younes
403389d2c3 Updates from Bennett and myself.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16088 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-28 10:16:45 +00:00
Georg Baum
7d9eb51682 document not working non-ascii filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16087 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-28 08:45:12 +00:00
Peter Kümmel
c7a3620eeb fix wrong toolbar icon size, default value is
in lyx_main.C. Size will be stored in the session
file.

*      src/lyx_main.C              : default value
*      src/frontends/Application.h : restore also icon size
*      src/frontends/LyXView.h     :        "
*      src/frontends/qt4/GuiView.h :        "
*      src/frontends/qt4/GuiView.C :        "
*      src/frontends/Application.C :        "



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16085 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 23:35:43 +00:00
Michael Schmitt
c9133cabbe * Status.15x: one more CT bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16058 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 11:23:38 +00:00
Michael Schmitt
bea4691219 * Status.15x: add report on END_LABEL_*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16056 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 11:05:11 +00:00
Michael Schmitt
d6297023e9 * src/Status.15x: mark 3 bugs as fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16055 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 10:54:08 +00:00
Michael Schmitt
e4a14449cd * Status.15x: clean up document; add all known change tracking problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16052 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 09:57:49 +00:00
Abdelrazak Younes
70e134e536 Updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16036 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 08:50:28 +00:00
Abdelrazak Younes
34600f5055 * Status.15x: updates.
* buffer.h: changed() signal do not have an argument now.

* BufferView.C:
  - setBuffer(): changed update() call to updateMetrics().
  - update(): sanitize how the flags are used.
  - scrollDocView():  add a call to updateMetrics() at the end.

* LyXFunc::dispatch(): adjust changed() signal emission.

* LyXText/text3.C:
  - cursorPrevious(): delete BufferView::update call; adjust cursor flag.
  - cursorNext(): ditto.

* frontends/LyXView.C: adjust Buffer::changed() signal connection.

* frontends/WorkArea.[Ch]:
  - redraw(): no need to re-update the metrics if we don't change views.
  

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15997 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-20 14:42:18 +00:00
Michael Schmitt
0b2e088d72 * Status.15x: inset-dissolve doesn't consider change tracking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15991 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 18:36:23 +00:00
Michael Schmitt
5bdedb1fc0 * Status.15x: add showstopper
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15989 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 18:26:54 +00:00
Michael Schmitt
815da6867e * Status.15x: add new bug reported by Peter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15987 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 16:59:47 +00:00
Bo Peng
65e5f1e6dc Display minibuffer with command-execute (M-x)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15970 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-18 20:38:41 +00:00
Georg Baum
5ae93f3689 add bug from Enrico
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15964 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-18 11:38:11 +00:00
Abdelrazak Younes
2ea833ac71 Incomplete TocDialog slider implementation from Ugras Baran.
* QTocDialog::getIndexDepth(): new method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15956 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 17:19:43 +00:00
Georg Baum
8b9ccb51bf add more bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15950 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-16 15:18:28 +00:00
Peter Kümmel
646c312740 don't pass temporary string objects as parameters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15928 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 19:54:56 +00:00
Peter Kümmel
8d6da829e7 add bibliography bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15920 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 16:41:09 +00:00
Jean-Marc Lasgouttes
debbb01da1 update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15915 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 08:19:41 +00:00
Edwin Leuven
24160975f5 fix signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15909 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 18:52:41 +00:00
Georg Baum
1e7911cfbc another buglet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15908 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:51:27 +00:00
Georg Baum
2db7521b70 Add support for the esint package
* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): handle esint and wasysym

	* src/mathed/MathMacroTable.[Ch]
	(requires_): New member: tell the feature this macro requires
	(MacroTable::insert): take new requires arg

	* src/mathed/MathMacroTemplate.C
	(MathMacroTemplate::asMacroData): adjust to change above

	* src/mathed/MathSupport.C
	(fontinfos): add esint10 font

	* src/mathed/InsetMathHull.C
	(InsetMathHull::doDispatch): AMS_ON -> package_on

	* src/mathed/MathMacroTable.h

	* src/mathed/MathFactory.C
	(initSymbols): read and store requires field for symbols

	* src/mathed/InsetMathSymbol.C
	(InsetMathSymbol::metrics): handle esint
	(InsetMathSymbol::takesLimits): ditto

	* src/buffer.C
	(LYX_FORMAT): update format
	(Buffer::validate): handle esint, AMS_ON -> package_on

	* src/bufferparams.C:
	(AMSTranslator): Rename to PackageTranslator
	(BufferParams::readToken): Read \use_esint
	(BufferParams::writeFile): Write \use_esint

	* src/frontends/qt4/QDocumentDialog.C: handle esint

	* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes

	* src/frontends/qt4/GuiFontLoader.C
	(symbol_fonts: Add esint10 font
	(symbolFamily): handle esint10 font
	(isChosenFont): Add comment

	* src/frontends/controllers/ControlMath.C
	(latex_varsz): Add new integral symbols

	* src/support/fontutils.C
	(win_fonts_truetype): Add esint10 font

	* src/bufferparams.h
	(enum AMS): rename to enum Package
	(use_esint): new parameter

	* src/lyxfont.[Ch]: Add esint font

	* lib/symbols: Add new integral symbols

	* lib/lyx2lyx/LyX.py
	(format_relation): Update format

	* lib/lyx2lyx/lyx_1_5.py: handle new format

	* lib/chkconfig.ltx: Test esint package

	* lib/images/math/oiintop.xpm
	* lib/images/math/sqintop.xpm
	* lib/images/math/sqint.xpm
	* lib/images/math/ointctrclockwiseop.xpm
	* lib/images/math/ointctrclockwise.xpm
	* lib/images/math/iiintop.xpm
	* lib/images/math/iintop.xpm
	* lib/images/math/sqiint.xpm
	* lib/images/math/iiint.xpm
	* lib/images/math/ointclockwiseop.xpm
	* lib/images/math/oiint.xpm
	* lib/images/math/dotsintop.xpm
	* lib/images/math/sqiintop.xpm
	* lib/images/math/ointclockwise.xpm
	* lib/images/math/iiiintop.xpm
	* lib/images/math/dotsint.xpm
	* lib/images/math/iiiint.xpm
	* lib/images/math/iint.xpm: new icons

	* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package

	* lib/doc/UserGuide.lyx: Add short documentation of integral symbols

	* lib/Makefile.am: Add new files

	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:35:18 +00:00
Georg Baum
b43bb0c2c2 The cursor works on mac now according to Bennet.
Add a replacement bug :-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15903 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 15:05:17 +00:00
Georg Baum
05ba68f3db add bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15902 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 15:02:34 +00:00
Jürgen Spitzmüller
18e07ec393 * src/frontends/qt4/QBoxDialog.C:
* src/frontends/qt4/QExternalDialog.C:
* src/frontends/qt4/QVSpaceDialog.C:
	- fix signal/slot connection

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15879 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-12 11:25:20 +00:00
Georg Baum
2c64f84300 Fix translation of ambiguous messages
* src/frontends/qt4/ui/QPrefConvertersUi.ui: Readd translation hint
	to label and remove broken tooltip that somebody created instead

	* src/messages.C
	(Messages::Pimpl::get): reenable stripping of [[..]] from
	untranslated messages


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15872 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-12 09:36:08 +00:00
Georg Baum
67259bce91 new buglet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15867 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-11 21:17:51 +00:00
Michael Schmitt
6791434f05 * Status.15x: various TOC-related bug reports (by Jürgen S.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15860 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-11 15:30:21 +00:00
Michael Schmitt
04157d9cb8 * Status.15x: new reports by JP Chretien and Pavel Sanda
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15858 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-11 15:04:19 +00:00
Peter Kümmel
e70fa92179 fix drifted position of restored window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15814 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 09:13:04 +00:00
Georg Baum
d74c61f091 add my observations of the icon problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15812 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 07:46:25 +00:00
Peter Kümmel
2487444da9 use default.ui position as fall back value
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15811 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-08 23:15:44 +00:00
Peter Kümmel
3ae92a71ed disable toolbar popup menu, this is better than the current state
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15809 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-08 23:10:46 +00:00
Michael Schmitt
e0fb6ae2cf * Status.15x: add pending features
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15800 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 22:45:44 +00:00
Michael Schmitt
eab07b8e99 * Status.15x: fix missing shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15795 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 21:48:16 +00:00
Michael Schmitt
c56671cec7 * src/frontends/qt4/qt_helpers.C:
* src/frontends/qt4/qt_helpers.h:
	* src/frontends/qt4/ui/Makefile.am:
	* Status.15x:
	* development/scons/qt4.py: fix localization for qt4 strings


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15786 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 18:09:55 +00:00
Jürgen Spitzmüller
7d4268a5e5 Hit Qt 4.2 with the sledgehammer until the dialog resizing bug is fixed.
* src/frontends/qt4/QDocumentDialog.C:
* src/frontends/qt4/QPrefsDialog.C:
	- force updateGeometry() for Qt >= 4.2 after the panel stack
	   has been built. This is a workaround for a Qt bug. See FIXMEs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15781 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 16:20:42 +00:00
Peter Kümmel
fc68c619ab add link to QTabBar close button suggestion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15778 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 10:55:35 +00:00
Michael Schmitt
14f92a350a * Status.15x: mark two bugs with WONTFIX because they actually Qt 4.2.1 bugs;
add new toolbar bug


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15777 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 22:33:58 +00:00
Jürgen Spitzmüller
c5499a3da5 Revert from revision 15769:
* src/frontends/qt4/panelstack.C: 
	- fix the preferences and document dialog resizing problem (well, at least 
	  for me -- please verify).

This didn't fix the problem. I'm pretty sure now that this is a bug in Qt 4.2(.1?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15770 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 18:04:51 +00:00
Jürgen Spitzmüller
54cc44fd9a * src/frontends/qt4/panelstack.C:
- fix the preferences and document dialog resizing problem (well, at least 
	  for me -- please verify).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15769 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 16:27:31 +00:00
Georg Baum
07f8f8d756 Clarify window size bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15765 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 09:28:49 +00:00
Jürgen Spitzmüller
8abcf63913 Two new bugs (wrt minibuffer).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15764 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 09:17:34 +00:00
Michael Schmitt
ac2057254f * Status.15x: Selection highlighting is broken!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15754 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 18:20:39 +00:00