Commit Graph

11274 Commits

Author SHA1 Message Date
Bo Peng
16072b8e09 Button face-lift: stop shifting text under mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16203 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 16:26:17 +00:00
Jean-Marc Lasgouttes
23c3ed57f1 --with-frontend=qt4 is not required anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16202 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 16:17:40 +00:00
Michael Schmitt
612439eca9 three new bug reports
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16201 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 12:18:07 +00:00
Abdelrazak Younes
a68da74622 unneeded header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16200 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 12:06:10 +00:00
Abdelrazak Younes
6afdd5d604 unneeded header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16199 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 12:05:24 +00:00
Abdelrazak Younes
d2574b7d8e unneeded header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16198 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 12:03:58 +00:00
Abdelrazak Younes
5ce7ae1883 * BufferView:
- update(): return bool only, and cleanup of the DOX comments.
  - workAreaDispatch(): return bool only, cleanup of the DOX comments, change update() call to updateMetrics() and add some FIXMEs.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16197 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 11:46:27 +00:00
Georg Baum
9295b6e6c8 * src/tex2lyx/text.C
(known_quotes): Fix typo (found by Charles de Miramon)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16196 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 11:25:42 +00:00
Enrico Forestieri
053c14d17b On *nix, report the font family name instead of "Multi"
* src/frontends/qt4/GuiFontLoader.C
	(QLFontInfo): use font.family() instead of font.rawName()
	as the latter always returns "Multi" on *nix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16195 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 00:49:56 +00:00
Bo Peng
f5c6da2b51 Fix a button hover bug, remove button frame
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16194 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-06 22:51:39 +00:00
Jürgen Spitzmüller
ca5838b017 Support for the EURO sign (bug 845):
* lib/chkconfig.ltx: 
	check for the textcomp package
* lib/doc/LaTeXConfig.lyx.in:
	document textcomp

* src/LaTeXFeatures.C (simplefeatures):
	add textcomp
* src/paragraph_pimpl.C (simpleTeXSpecialChar):
	support the Euro sign (via textcomp command)
* src/paragraph_pimpl.C (validate):
	require textcomp if we have a Euro symbol


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16193 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-06 16:46:57 +00:00
Enrico Forestieri
b579fbd3b6 Small update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16192 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-06 13:54:26 +00:00
Enrico Forestieri
30ba00a0c3 Directly use the family name in QFontInfo to ascertain whether the requested
font is available. This is now possible because the old bug needing a
workaround has been solved in Qt4. This also solves the problem of missing
integral symbols in mathed on Windows when the esint10 font is not available.

	* src/frontends/qt4/GuiFontLoader.C
	(isSymbolFamily): directly check the family name in QFontInfo.
	(getSymbolFont): add some debugging info.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16191 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-06 13:38:07 +00:00
Edwin Leuven
fd44f28cae * convert dir to internal path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16187 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 22:36:31 +00:00
Michael Schmitt
ca55737398 * FileDialog.C: always return POSIX-like path names ('/' instead of '\' on Windows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16186 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 19:51:50 +00:00
Bo Peng
eb7d4d500c Button face-lift: make the buttons a bit more prominent with a darker than background \buttonbg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16185 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 17:55:45 +00:00
Georg Baum
95579c2a71 more unicode filenames (+ fix one possible initialization order bug in
needsUpdate() in src/lyx_main.C).
toFilesystemEncoding() is now used in all places where it is needed if I did
not forget anything.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16184 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 12:57:01 +00:00
Georg Baum
46ec9f0951 If anybody moves this to WONTFIX again I'll get really upset.
Does nobody see how ridiculous it is to require the user to choose the one
existing frontend?
If this does not get fixed for 1.5.0 we'll get many complaints, and a bad
reputation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16183 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 08:06:44 +00:00
Bo Peng
af75e269c7 Add a copy constructor of InsetCollapsable to fix the follow bug:
mouse_hover_ is copied with copied collapsable insets. Should be false for
newly copied insets.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16182 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 05:36:59 +00:00
Bo Peng
41bd1e5fc2 Status.15x, add lyx note selection bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16181 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 05:28:12 +00:00
Bo Peng
a79b8b5888 Status.15x: move some items to WONT FIX section
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16180 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 03:58:22 +00:00
Bo Peng
b02d655347 fix a compiler warning regarding unused variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16179 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 02:18:29 +00:00
Georg Baum
0c9756da86 document the LaTeX class a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16178 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 17:56:51 +00:00
Georg Baum
50380866f6 more unicode filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16177 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 17:43:49 +00:00
Georg Baum
02c64e55c7 remove unneeded includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16176 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 17:41:03 +00:00
Georg Baum
3c0b752f1c remove unused member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16175 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 17:05:50 +00:00
Abdelrazak Younes
7ce57b1b20 Cleanup loading of files and gui session restoring.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16174 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 16:54:32 +00:00
Georg Baum
9eab5fa88a more unicode filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16173 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 15:46:57 +00:00
Georg Baum
534095ce9e more unicode filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16172 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 15:07:05 +00:00
Georg Baum
3314702bf1 more unicode filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16171 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 14:45:17 +00:00
Abdelrazak Younes
c6e4985a07 * GuiApplication::x11EventFilter(): check for currentView() before using it.
* Application::currentView(): now returns a pointer.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16170 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 13:52:02 +00:00
Georg Baum
c4320d24cd Make string conversion work with non-ucs2-characters if using qt 4.2
* src/frontends/qt4/qt_helpers.[Ch]
	(toqstr): Use QString::fromUcs4 if the qt version is at
	least 4.2.
	(qstring_to_ucs4): Use QString::toUcs4 if the qt version is at
	least 4.2
	(ucs4_to_qstring): Delete to avoid confusion, since it was only
	used in one place

	* src/frontends/qt4/panelstack.C
	(PanelStack::addCategory): Use toqstr instead of ucs4_to_qstring

	* src/support/unicode.[Ch]
	(ucs2_to_ucs4): Replace with utf16_to_ucs4
	(ucs4_to_ucs2): Replace with ucs4_to_utf16


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16169 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 13:50:46 +00:00
Georg Baum
015abe1a5a Allow empty file names in constructor, since empty filenames can now be
created by the default constrcutor anyway.
This prevents an assert in findtexfiles.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16168 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 13:45:08 +00:00
Abdelrazak Younes
493ec52c3f * Dimension is a simple wrapper class again.
* other files: use FontMetrics::dimension() method instead of old Dimension interface.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16167 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 10:45:43 +00:00
Abdelrazak Younes
b056d35db4 Forgot this!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16166 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 10:33:47 +00:00
Abdelrazak Younes
e318e0e4ef * enable font metrics cache for all platforms.
* introduce defaultDimension() and dimension() in preparation of Dimension class cleanup.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16165 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 10:09:22 +00:00
Jürgen Spitzmüller
a0534e02c1 * src/paragraph.C (corrected_env, endTeXParams):
- writeout \begin and \end alignment tags on their own lines (bug 3010).
(patch from Gregor Gorjanc and me).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16164 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 07:27:49 +00:00
Bo Peng
7c184e5426 Button face-lift: use mouse hover-buttons.
* src/insets/insetbase.h: add setMouseHover function
	* src/insets/insetcommand.h/C: handle setMouseHover
	* src/insets/insetcollapsable.h/C: handle setMouseHover
	* src/LColor.h/C: redefine some colors
	* src/insets/render_base.h: add state_
	* src/insets/render_button.C: draw differently according to state_
	* src/frontends/Painter.h/C: hover-stype button
	* src/frontends/qt4/GuiWorkArea.C: enable mouse tracking
	* src/BufferView.C: track mouse_motion without button events


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16162 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 04:31:18 +00:00
Jürgen Spitzmüller
ed71ed4fab * lib/layouts/amsart.layout:
- reenable Address paragraph style to fix bug 2890
	  (as discussed on bugzilla)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16160 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 15:36:06 +00:00
Michael Schmitt
2c5a5bf52f src/support/filename.C: add assertion to ensure that no Windows-style
file name is used internally (as suggested by Georg)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16159 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 14:48:00 +00:00
Abdelrazak Younes
99cae6c723 two lines between function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16158 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 13:17:35 +00:00
Abdelrazak Younes
7df55755ac Fix memory leaks with multiple windows and crash when deleteOnClose is set.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16157 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 13:09:57 +00:00
Abdelrazak Younes
6a96321573 * WorkArea::dispatch(): avoid GUI tweaks if cmd is a mouse motion with no button pressed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16156 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 10:43:55 +00:00
Peter Kümmel
a5b66d297f prepare fixing some memory leaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16155 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 10:30:18 +00:00
Peter Kümmel
2d0e33fc3f remove unused signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16154 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 10:14:35 +00:00
Peter Kümmel
f6cf871deb fix quit problems on Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16153 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 10:05:41 +00:00
Michael Schmitt
48fb157414 * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16152 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 01:33:32 +00:00
Michael Schmitt
133fad0ba4 * po/de.po: a few more translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16151 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 01:29:01 +00:00
Michael Schmitt
103c37af4e * src/frontends/qt4/ui/QPrefUi.ui: clarify message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16150 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 01:16:03 +00:00
Michael Schmitt
99d4acd183 * qt4/QExternal.C:
* qt4/lengthcombo.C:
	* qt4/QBox.C: make length units translateable


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16149 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 01:11:37 +00:00