Commit Graph

13743 Commits

Author SHA1 Message Date
Abdelrazak Younes
825bac4b43 Fix crash on new document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:43:31 +00:00
Abdelrazak Younes
edd117f27a remove unneeded TocModel::clear() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25236 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:34:12 +00:00
Abdelrazak Younes
6876ffa65b Simplify TocModel by using UserRole data.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25235 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:31:10 +00:00
Abdelrazak Younes
f8110b8b60 Fix another recursive repaint problem with Qt4.4 when erasing a section text with backspace while the Outline is opened.
This should in principle not affect drawing but X11 testing with autorepeat key is required.





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25234 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:25:17 +00:00
Abdelrazak Younes
1494e0a687 Fix crash when closing a second lyx window due to a recursive painting (QT4.4 issue). This code was not needed anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25233 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 13:04:59 +00:00
Pavel Sanda
dc4f254726 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25232 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 11:10:47 +00:00
Pavel Sanda
74fa517035 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25231 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 23:24:28 +00:00
Abdelrazak Younes
158863fd3b TocWidget: Small reorg in order to fix http://bugzilla.lyx.org/show_bug.cgi?id=4940
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25230 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 18:13:14 +00:00
Pavel Sanda
ed12154445 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25228 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 09:49:43 +00:00
Pavel Sanda
154fe36eb2 Old, unused and handled elsewhere.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 09:05:46 +00:00
Pavel Sanda
07113cf424 LFUN_FONT_FREE_* -> LFUN_TEXSTYLE_*
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141274.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25225 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 08:35:15 +00:00
Pavel Sanda
d708dfe1fd * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25224 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 21:37:40 +00:00
Pavel Sanda
4315b23d61 cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25223 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 11:50:04 +00:00
Pavel Sanda
95b509baef * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25222 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 11:46:40 +00:00
Jean-Marc Lasgouttes
b4811438e3 typo spotted by JP Chretien
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25221 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 08:31:21 +00:00
Pavel Sanda
08b0aaea54 oops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25220 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 22:34:50 +00:00
Pavel Sanda
6c9f298fa1 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25219 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 22:31:22 +00:00
Abdelrazak Younes
1239d32174 Maybe fix http://bugzilla.lyx.org/show_bug.cgi?id=4939
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25218 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 22:25:51 +00:00
Abdelrazak Younes
fe9de1f1d6 potential fix to outline drawer when leaving full-screen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25217 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 16:11:47 +00:00
Abdelrazak Younes
efd40b2673 Outline focus fix for mac: Make sure the GuiView is raised and activated before setting the focus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25216 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 15:33:42 +00:00
Jürgen Spitzmüller
15676a062f proper fix for bug 4936.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25215 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 15:20:38 +00:00
Abdelrazak Younes
16420e5263 Allow the toc and view-source dock widget to be restored if needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25214 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 15:01:45 +00:00
Abdelrazak Younes
42cb86adb9 Fix initial focus problem with outline and view-source panes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25213 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:52:38 +00:00
Abdelrazak Younes
7f4247e718 createLyXTmpDir(): Don't hardcode /tmp, use package().system_temp_dir() insetad.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25212 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:33:31 +00:00
Abdelrazak Younes
f15ede6534 set the object name for all DockView based dialog (fix http://bugzilla.lyx.org/show_bug.cgi?id=4922)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25209 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:09:27 +00:00
Abdelrazak Younes
430296f4af Hopefully fix http://bugzilla.lyx.org/show_bug.cgi?id=4918
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25207 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 13:05:24 +00:00
Abdelrazak Younes
5e6a1a3da8 GuiToc: set the object name for proper state restoration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25206 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 12:54:14 +00:00
Pavel Sanda
b37f9a379e * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25204 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 11:54:35 +00:00
Jürgen Spitzmüller
3b00c86b9d brute fix weird bug 4936.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25203 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 10:41:58 +00:00
Abdelrazak Younes
af7b5b5e26 More sensible error messages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25202 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 09:57:10 +00:00
Abdelrazak Younes
48cd43fd51 First part of http://bugzilla.lyx.org/show_bug.cgi?id=4918
Prevent deletion of LyX temporary directory is this is not a LyX created directory.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25199 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 09:34:11 +00:00
Edwin Leuven
dbc07ef630 fix http://bugzilla.lyx.org/show_bug.cgi?id=4778
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25198 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 08:11:46 +00:00
Abdelrazak Younes
cd26f796d3 Navigator pane: Switch to dockwidget when working in fullscreen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25197 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 07:09:29 +00:00
Pavel Sanda
fbcca09cf9 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25196 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 01:00:14 +00:00
Pavel Sanda
57c7833415 Next easy target.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25194 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-08 15:18:57 +00:00
Pavel Sanda
174511105c * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25193 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-08 14:35:43 +00:00
Pavel Sanda
6de6a69775 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25192 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 22:16:03 +00:00
Pavel Sanda
4f81608f6f * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25189 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 14:28:43 +00:00
Pavel Sanda
bd1848375e Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4923 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25188 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 12:43:44 +00:00
Pavel Sanda
93b0edfc81 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25185 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 11:01:17 +00:00
Abdelrazak Younes
435e223f7c Fix http://bugzilla.lyx.org/show_bug.cgi?id=4933
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25182 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 09:06:18 +00:00
Abdelrazak Younes
39a78a09d2 previous commit: forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25176 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 22:54:28 +00:00
Abdelrazak Younes
374ec4be57 Simplify and optimize image on screen visualization. Fix one bug or two along the way WRT combined image effects (egg: rotation and grayscale).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25175 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 22:51:11 +00:00
Abdelrazak Younes
87cbf97c91 X-Ref dialog: Hide the buffer combo now that child document labels are integrated within the parent's. This should be re-enables if/when the xr package is supported.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25174 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 22:30:30 +00:00
Pavel Sanda
8eec505ac9 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25172 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 18:24:16 +00:00
Richard Heck
7f6721a4e9 Clean up a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25170 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 16:02:52 +00:00
Richard Heck
08d8a8034f Fix citation dialog bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25169 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:53:02 +00:00
Jean-Marc Lasgouttes
3b99db73e4 Remove our in tree gettext version and replace with a mechanism to import it.
* autogen.sh: use autopoint to poulate the gettext code; simplify.

	* po/Rules-lyx: move the LyX-specific code of the Makefile here.

	* configure.ac: add magic incantation telling autopoint to import 
	gettext 0.16.1. Generate config.h in toplevel directory to please 
	gettext.

	* src/tex2lyx/Makefile.am:
	* src/client/Messages.cpp: compile fix

	* remove all files that came from a gettext distribution.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:25:55 +00:00
Abdelrazak Younes
896cb74fe2 Optimize the graphics loader: don't put the image in the queue if it is directly loadable and no conversion is needed. No more temporary preview image, yeah!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25166 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 13:30:38 +00:00
Abdelrazak Younes
e4a5278060 start image loading at metrics time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:39:43 +00:00