Commit Graph

14394 Commits

Author SHA1 Message Date
Uwe Stöhr
95aa2be7b3 forgot this in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20136 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 19:00:55 +00:00
Uwe Stöhr
f368ee44e8 German UserGuide.lyx: forgot a web link
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20134 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 18:59:20 +00:00
Uwe Stöhr
ebaeaa1588 German UserGuide.lyx: updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20131 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 18:46:34 +00:00
José Matox
f99c05426a Convert postats to python
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20130 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 16:37:38 +00:00
Bo Peng
e9a2729037 Embedding: bring embedding dialog back to shape
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20129 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 16:33:55 +00:00
Enrico Forestieri
92065820e5 Register math fonts with Qt 4.2 or higher. Using Qt 4.1, the old
xft-fonts package is still required. However, on *nix there seem
to be no way to tell fontconfig to prefer our fonts instead of
others matching the requirements, so, in case of conflict, the
fontconfig files should be manually adjusted, or some existing
font package used (note that the quality of the bakoma fonts is
better than that of the xft ones). There is no such problem on
Windows where our private fonts are always preferred over the
installed ones (and I hope the same holds true for Mac).

	* src/LyX.cpp
	(LyX::exec): don't call addFontResources() and restoreFontResources()
	anymore, as the frontend code will do the job.

	* src/frontends/qt4/GuiFontLoader.{cpp,h}
	(GuiFontLoader::GuiFontLoader): register math fonts with Qt.
	(GuiFontLoader::~GuiFontLoader): unregister math fonts.

	* src/support/os.h
	* src/support/os_unix.cpp
	* src/support/os_win32.cpp
	* src/support/os_cygwin.cpp:
	remove code dealing with fonts.

	* configure.ac: don't check for fontconfig headers anymore.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 16:22:05 +00:00
Enrico Forestieri
a09371153e Use same image as in branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20127 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 15:55:55 +00:00
Jean-Marc Lasgouttes
1a702924d4 Small tweak to r20121
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20122 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 10:04:10 +00:00
Jean-Marc Lasgouttes
6e974a3d42 Fix bug 4212
* Text2.cpp (deleteEmptyParagraphMechanism):
	* paragraph_func.cpp (breakParagraph): make sure that the start of 
	appendix marker is not lost when deleting or breaking a paragraph


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20121 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 09:55:57 +00:00
Bo Peng
fc2f8c8e4f Embedding: remove AUTO feature, remove STATUS from embedding dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20120 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 03:10:42 +00:00
Bo Peng
d4a2219813 Embedding: remove AUTO feature, barely make it compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20119 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 03:02:24 +00:00
Uwe Stöhr
7280043b2e UserGuide.lyx: continue work on appendix B (description of the preferences dialogs)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20118 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 23:44:36 +00:00
Uwe Stöhr
bad1b54541 German UserGuide.lyx: remove some ERT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20112 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 18:30:37 +00:00
Bo Peng
726c8660f0 Fix another prompt for externally-modified bug with writeAs()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20107 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 15:54:17 +00:00
Martin Vermeer
7bf7a111b1 Forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 15:37:34 +00:00
Martin Vermeer
ef743fc5d5 Add XML elements as a third flex inset variant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20105 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 14:45:17 +00:00
Martin Vermeer
eca79a8a09 Better error signaling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 14:28:19 +00:00
Martin Vermeer
2ddba774ce y-coord in Conglomerate, this time properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 14:17:03 +00:00
Martin Vermeer
6089258acc Fix y co-ordinate for Conglomerate-style inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 14:06:07 +00:00
Abdelrazak Younes
ea87429a23 Nicely align inset buttons with surrounding text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 12:25:30 +00:00
Abdelrazak Younes
2d8b08b63c InsetCollapsable::draw(): Rename 'top' local variable to baseline as that's what it is really.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20100 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 12:00:32 +00:00
Jean-Marc Lasgouttes
718e4ba012 change the way i18n status is built for the web site. The data is now in a i18n.inc file instead of generating the whole i18n.php
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20098 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 10:59:45 +00:00
Abdelrazak Younes
9a8fd53e8f CMake: Supress regeneration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20096 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 09:18:40 +00:00
Bo Peng
f808198306 Fix two embedding bugs that lead to deadloop when loading a bundled .lyx file without external file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 05:46:11 +00:00
Bo Peng
c20795773e Fix previous commit. I really do not understand why windows FileName() can not have backslash (assertion at line 49 of support/FileName.cpp)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20094 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 05:05:28 +00:00
Bo Peng
74175c764b Forgot this: windows backslash needs special treatment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 04:18:12 +00:00
Bo Peng
0abd895de0 Cleanup msvs_project, make sure lyx can start in place in debug mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 04:04:04 +00:00
Bo Peng
18ed8a89f1 support/minizip/iowin32.h|c: also test for _WIN32 because WIN32 is not defined for all windows compilers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20090 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 02:48:18 +00:00
André Pönitz
f5bfd22371 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20089 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 22:55:59 +00:00
André Pönitz
665119e4f6 simplify About dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20088 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 22:54:47 +00:00
Bo Peng
1c7ed8b641 fix scons again for GUI cleanup, remove unused variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20084 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 22:10:10 +00:00
Abdelrazak Younes
95e09581c5 Fix alignment of text within insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20083 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 22:08:41 +00:00
Abdelrazak Younes
d9d7af7019 Fix drawing of collapsable inset without button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20082 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 21:52:12 +00:00
Abdelrazak Younes
d4bf8e0a21 * TextMetrics::drawSelection(): use parMetrics() instead of direct access just in case. Should fix crash on selection with PageUp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20081 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 21:26:17 +00:00
Abdelrazak Younes
67905de3fc Fix tabular text y-positioning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20080 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 21:02:49 +00:00
Abdelrazak Younes
7e2d8d3955 Fix caption text y-positioning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20079 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 20:54:15 +00:00
André Pönitz
5c8f9bc525 compile fix. inclomplete transactioN???
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20078 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 20:52:35 +00:00
André Pönitz
c9ea6e6eef the fun begins....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20077 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 20:33:29 +00:00
Martin Vermeer
fe0f7858c2 Renaming CharStyle -> Flex, finishing touch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 18:40:56 +00:00
Bo Peng
c1e4304322 Embedding feature patch 5: handling of embedded files (operation without external files)
*  src/insets/InsetGraphicsParams.h|cpp:
	*  src/insets/InsetExternal.cpp: read/write buffer with embedded file
	*  src/insets/InsetGraphics.cpp: ditto
	*  src/EmbeddedFiles.h|cpp: add find() function


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20075 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 17:50:07 +00:00
Bo Peng
3f0c6bc583 fix scons for InsetFlex.*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 17:00:43 +00:00
Alfredo Braunstein
2685780f0c compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20073 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 15:46:20 +00:00
Martin Vermeer
12e1d4bc8d Name change CharStyle -> Flex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20072 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 15:29:04 +00:00
Abdelrazak Younes
67a2b3f28f Fix text frame drawing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20071 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 14:19:52 +00:00
Abdelrazak Younes
6a35e705a4 Fix cursor positioning withing collapsable insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20070 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 14:15:07 +00:00
Alfredo Braunstein
8158e25ab7 (InsetCollapsable::draw) restore background color (avoid psychedelic effects when selecting a note)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20069 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 13:52:43 +00:00
Abdelrazak Younes
d1813ca269 * TextMetrics::draw(): get rid of the first par ascent offset.
* BufferView::draw(): adapt to above change.

* InsetCollapsable::draw(): ditto -> get rid of textdim_ member.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20068 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 13:45:58 +00:00
Abdelrazak Younes
762d087396 fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20067 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 13:29:31 +00:00
Abdelrazak Younes
eed6514dd0 Move selection painting closer to row painting. Single row painting is now possible for selection.
* Row:
- setSelection(): set selection begin and end for this row.
- sel_beg, sel_end: new public members.

* BufferView::draw()
- do not trigger a full repaint for selection.
- use TextMetrics::draw() instead of hand calling TextMetrics::drawParagraph().

* InsetText::draw(): don't call TextMetrics::drawSelection().

* InsetMathMBox::drawSelection(): remove.

* TextMetrics:
- drawSelection(): simplify a bit. Now private.
- redoParagraph(): memorize Row selection status.
- x2pos(): fix crash when selecting with PageDown.
- draw(): fill-in the ParPos cache before everything else and not in drawParagraph().
- drawParagraph(): take care of row selection painting.







git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 13:04:05 +00:00
Edwin Leuven
9044e9d68a resuscitate menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20064 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 11:55:03 +00:00