Commit Graph

108 Commits

Author SHA1 Message Date
Georg Baum
a1389d411c Fix two filename bugs (from Enrico and me)
* src/support/filetools.[Ch]
	(fileOpenSearch): comment out since it is unused
	(fileSearch): Use addExtension instead of changeExtension, since we
	are always called without extesnion, or with the correct one.
	(addExtension): new function

	* src/lyx_main.C
	(LyX::init): tell fileSearch that we are also interested in the name
	if the file does not exist


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16361 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 12:04:01 +00:00
Georg Baum
6c436f0de3 add compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16359 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 11:56:07 +00:00
Enrico Forestieri
b892a6bc43 Use a larger font for displaying the version number on the splash screen
* src/frontends/qt4/GuiWorkArea.C
	(GuiWorkArea::doGreyOut): don't use LyXFont::SIZE_XXXX directly as
	a font size as these are enum values and not the actual sizes.
	Move the version number slightly to the right to make it more
	readable against the splash screen.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16353 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 02:49:27 +00:00
Georg Baum
1ca55d1c8f Fix bug 3034
* src/mathed/InsetMathGrid.C: Don't declare mathed_parse_normal,
	include MathParser.h instead
	(InsetMathGrid::doDispatch): remove to_utf8, mathed_parse_normal
	takes now a docstring

	* src/mathed/MathMacroTemplate.C
	(MathMacroTemplate::read): restore the version of 1.4.x, since
	the new one did only work for macros without whitespace

	* src/mathed/MathParser.[Ch]
	(Parser): Add constructor from a docstring
	(mathed_parse_cell): Create the parser directly from the string,
	since the istream variant of tokenize() does only work if reading
	from the .lyx file
	(mathed_parse_normal): ditto
	(mathed_parse_normal): Delete the istream variant (unused)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16334 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 14:24:25 +00:00
Michael Schmitt
828d077a9a Status.15x: add bugzilla URLs for bugs and patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16331 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 12:01:37 +00:00
Jürgen Spitzmüller
9475c48bf2 * src/frontends/qt4/ui/QViewSourceUi.ui: remove bogus Whatsthis entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16330 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 08:17:47 +00:00
Jürgen Spitzmüller
a37f3198ad Trivial ui tweak:
* src/frontends/qt4/ui/QGraphicsUi.ui: fix tab accelerating order.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16325 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 20:17:12 +00:00
Jürgen Spitzmüller
506c5df84b * src/frontends/qt4/ui/QCitationUi.ui:
- fix shortcut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16313 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 14:04:18 +00:00
Michael Schmitt
12534e6794 Status.15x: new pathname/unicode problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16307 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 00:28:38 +00:00
Michael Schmitt
67a479074f Status.15x: thesaurus is broken on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16306 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 23:32:18 +00:00
Michael Schmitt
dd586e2953 * Status.15x: add tiny url for relevant bugzilla entries;
add new citation dialog bug


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16302 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 15:27:23 +00:00
Bo Peng
e74dcd761b Record multiple window middle button paste bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16284 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 16:27:51 +00:00
Bo Peng
ebb88876f9 Adjust Status.15x for Abdel's fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16283 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 16:25:52 +00:00
Edwin Leuven
2c832e6578 more cleanup:
- clear selected keys on ok/cancel
 - update info when navigating with keyboard
 - add clear search button
 - don't allow search strings that return empty selection

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16277 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 09:58:44 +00:00
Bo Peng
a66f7e4029 Mark multiple window cursor problem as WONTFIX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16276 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 03:35:52 +00:00
Bo Peng
655890d04d record multiple window cursor problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16274 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-14 06:33:27 +00:00
Bo Peng
74602628f6 Fix the multiple window rows() availability bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16273 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-14 03:41:32 +00:00
Michael Schmitt
042605b93f * Status.15x: let's not forgot to align the size of icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16269 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 19:13:37 +00:00
Michael Schmitt
d135c2c524 * Status.15x: add minor bug in the graphics dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16268 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 19:11:33 +00:00
Georg Baum
7c682cb930 One from Uwe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16264 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 09:59:34 +00:00
Michael Schmitt
221f0b5294 Status.15x: add Uwe's bug report
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16263 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 06:25:15 +00:00
Enrico Forestieri
cd5b51f4a3 Remove the tmp dir only if it has been created and create the lyxsocket
in the right place.

	* src/lyx_main.C
	(LyX::exec): create the lyxsocket in the temporary directory.
	(LyX::prepareExit): remove the temporary directory only if it
	has been created.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16262 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 05:29:19 +00:00
Peter Kümmel
296343472d the quit logic has changed, so it's not a bug any more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16259 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 22:53:59 +00:00
Georg Baum
a79e4dfb83 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16258 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 20:24:07 +00:00
Michael Schmitt
38e2f1b5d3 Status.15x: add citation dialog bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16256 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 19:49:53 +00:00
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