Commit Graph

83 Commits

Author SHA1 Message Date
Peter Kümmel
5a68c1c0f3 Don't forget bug in GuiImplementation::closeAllViews()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16250 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 10:46:59 +00:00
Enrico Forestieri
d08210e961 Fix cancel on quit
* src/lyxfunc.C
	(LyXFunc::dispatch): Move to GuiView::closeEvent the session code
	for lastpos in LFUN_LYX_QUIT. Check for unsaved changes before
	initiating the quit procedure in LFUN_LYX_QUIT and LFUN_WINDOW_CLOSE. 

	* src/frontends/qt4/GuiView.h
	(class GuiView): New boolean member quitting_by_menu_.

	* src/frontends/qt4/GuiView.C
	(GuiView::GuiView): Initialize quitting_by_menu_.
	(GuiView::close): Set to true quitting_by_menu_ before calling
	the quit procedure and reset it afterwards.
	(GuiView::closeEvent): Account for the close window button.
	Save last positions to the session file. Remove wrongly placed
	call to quitWriteAll.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16248 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 01:39:50 +00:00
Georg Baum
9c62a5e332 fix aspell encoding (confirmed on linux, cygwin and native windows,
confirmnation on OS S is still missing)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16247 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-11 20:39:15 +00:00
Michael Schmitt
2e37952c16 Status.15x: another spellchecker bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16246 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-11 19:41:06 +00:00
Jürgen Spitzmüller
fc30e9f6bb Fix dEPM crash:
* src/BufferView.[Ch]: 
	- make mouseSetCursor a bool and pass dEPM return value.

* src/text3.C (doDispatch):
	- LFUN_MOUSE_PRESS: request update if mouseSetCursor
	  (i.e. dEPM) returned true.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16240 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-11 13:59:40 +00:00
Georg Baum
84c131ab93 one more bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16236 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-10 19:45:49 +00:00
Georg Baum
ff2bea7d39 Fix spell two checker bugs. The reason for both bugs was a string->docstring
commit from an unclean tree.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16235 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-10 19:00:57 +00:00
Michael Schmitt
a03eaa452c Status.15x: add critical bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16226 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-10 09:26:10 +00:00
Michael Schmitt
238a52192b * Status.15x: another (minor) problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16221 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-09 16:19:59 +00:00
Michael Schmitt
cc36accbe0 * Status.15x: minor cleanup; point to bugzilla; add CT entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16220 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-09 16:11:11 +00:00
Michael Schmitt
9ca0ce2941 * Status.15x: fix report on assertion; remove fixed CT bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16219 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-09 16:01:47 +00:00
Michael Schmitt
36bded129b * Status.15x: remove a report on a bug that I can no longer
reproduce; fix the description of another bug


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16218 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-09 15:51:18 +00:00
Michael Schmitt
a028945d89 * Status.15x: add valgrind report
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16217 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-09 15:45:53 +00:00
Enrico Forestieri
aff98b305c Fix returned width for small caps (these values are not cached, though)
* src/frontends/qt4/GuiFontMetrics.C
	(GuiFontMetrics::width): return correct width for small caps.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16214 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-09 07:07:00 +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
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
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
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
Michael Schmitt
f3a1771303 * Status.15x: where have all the tooltips gone?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16143 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-02 21:59:00 +00:00
Michael Schmitt
5b3f0b69f4 * Status.15x: add two new bugs (one from Kornel); rearrange bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16130 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-02 14:23:06 +00:00
Enrico Forestieri
15d7c9000b Added one more bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16125 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-01 16:51:03 +00:00
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