]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agodo not create invalid .lyx files when importing \i{}, \j{}, \l{} or \L{}.
Georg Baum [Tue, 12 Dec 2006 14:36:52 +0000 (14:36 +0000)]
do not create invalid .lyx files when importing \i{}, \j{}, \l{} or \L{}.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16253 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoTranslate \l{} and \L{} to InsetLatexAccent
Georg Baum [Tue, 12 Dec 2006 13:56:32 +0000 (13:56 +0000)]
Translate \l{} and \L{} to InsetLatexAccent

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16252 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoDon't forget bug in GuiImplementation::closeAllViews()
Peter Kümmel [Tue, 12 Dec 2006 10:54:37 +0000 (10:54 +0000)]
Don't forget bug in GuiImplementation::closeAllViews()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16251 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoDon't forget bug in GuiImplementation::closeAllViews()
Peter Kümmel [Tue, 12 Dec 2006 10:46:59 +0000 (10:46 +0000)]
Don't forget bug in GuiImplementation::closeAllViews()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16250 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodocument why we are not using ucs-4 when communicating with aspell
Georg Baum [Tue, 12 Dec 2006 08:17:22 +0000 (08:17 +0000)]
document why we are not using ucs-4 when communicating with aspell

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16249 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix cancel on quit
Enrico Forestieri [Tue, 12 Dec 2006 01:39:50 +0000 (01:39 +0000)]
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

17 years agofix aspell encoding (confirmed on linux, cygwin and native windows,
Georg Baum [Mon, 11 Dec 2006 20:39:15 +0000 (20:39 +0000)]
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

17 years agoStatus.15x: another spellchecker bug
Michael Schmitt [Mon, 11 Dec 2006 19:41:06 +0000 (19:41 +0000)]
Status.15x: another spellchecker bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16246 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* insettabular.C (doDispatch): call mouseSetCursor on mouse
Jürgen Spitzmüller [Mon, 11 Dec 2006 17:10:11 +0000 (17:10 +0000)]
* insettabular.C (doDispatch): call mouseSetCursor on mouse
click to ensure dEPM is triggered.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16245 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoUpdate to latest from BOOST 1.34 repo
Lars Gullik Bjønnes [Mon, 11 Dec 2006 14:31:35 +0000 (14:31 +0000)]
Update to latest from BOOST 1.34 repo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16241 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix dEPM crash:
Jürgen Spitzmüller [Mon, 11 Dec 2006 13:59:40 +0000 (13:59 +0000)]
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

17 years ago* lib/languages:
Jürgen Spitzmüller [Mon, 11 Dec 2006 07:42:43 +0000 (07:42 +0000)]
* lib/languages:
change default for latin1-languages to latin9 (bug 845)
* src/paragraph_pimpl.C:
add support for the subset of symbols that is only covered by
latin1 (not latin9) to make the above switch painless.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16239 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoHungarian update
Jean-Marc Lasgouttes [Sun, 10 Dec 2006 21:09:39 +0000 (21:09 +0000)]
Hungarian update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16237 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoone more bug
Georg Baum [Sun, 10 Dec 2006 19:45:49 +0000 (19:45 +0000)]
one more bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16236 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix spell two checker bugs. The reason for both bugs was a string->docstring
Georg Baum [Sun, 10 Dec 2006 19:00:57 +0000 (19:00 +0000)]
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

17 years agoFix encoding for pspell. I cannot test this, but this should work according
Georg Baum [Sun, 10 Dec 2006 17:47:44 +0000 (17:47 +0000)]
Fix encoding for pspell. I cannot test this, but this should work according
to the documentation of pspell 0.12.2 (the latest version before it became
aspell). Since pspell.C did not even compile from Denmark till yesterday and
nobody noticed I am not willing to spend more time with this.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16234 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdjust -dbg output
Enrico Forestieri [Sun, 10 Dec 2006 16:51:25 +0000 (16:51 +0000)]
Adjust -dbg output

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16233 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMake Enrico happy
Georg Baum [Sun, 10 Dec 2006 16:37:26 +0000 (16:37 +0000)]
Make Enrico happy

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16232 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoOops, committed an old version. This one links.
Georg Baum [Sun, 10 Dec 2006 16:13:00 +0000 (16:13 +0000)]
Oops, committed an old version. This one links.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16231 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix ispell encoding for lyxrc.isp_use_input_encoding == true
Georg Baum [Sun, 10 Dec 2006 16:08:52 +0000 (16:08 +0000)]
Fix ispell encoding for lyxrc.isp_use_input_encoding == true

* src/buffer.C
(Buffer::makeLaTeXFile): move code from here ...

* src/bufferparams.[Ch]
(BufferParams::encoding): .. to this new method

* src/ispell.C
(to_iconv_encoding): new, convert from ucs4 to the encoding used by
ispell
(from_iconv_encoding): new, convert from the encoding used by ispell
to ucs4
(ISpell::ISpell): store buffer encoding
(ISpell::nextMiss): use from_iconv_encoding instead of from_utf8
(ISpell::check): use to_iconv_encoding instead of to_utf8
(ISpell::insert): ditto
(ISpell::accept): ditto

* src/ispell.h
(encoding): new member, store the buffer encoding

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16230 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoconvert thesaurus and spellchecker to docstring
Georg Baum [Sun, 10 Dec 2006 11:52:46 +0000 (11:52 +0000)]
convert thesaurus and spellchecker to docstring

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16229 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoeliminate some occurances of fromqstr
Georg Baum [Sun, 10 Dec 2006 10:31:42 +0000 (10:31 +0000)]
eliminate some occurances of fromqstr

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16228 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agopo/de.po:
Michael Schmitt [Sun, 10 Dec 2006 10:07:31 +0000 (10:07 +0000)]
po/de.po:
src/frontends/qt4/QDelimiterDialog.C: cosmetics: change text "Variable size" to just "Variable", because "size" is already given by the label

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16227 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoStatus.15x: add critical bug
Michael Schmitt [Sun, 10 Dec 2006 09:26:10 +0000 (09:26 +0000)]
Status.15x: add critical bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16226 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAutoconf 2.61 has been released, and it works with LyX
Enrico Forestieri [Sun, 10 Dec 2006 01:33:05 +0000 (01:33 +0000)]
Autoconf 2.61 has been released, and it works with LyX
http://www.mail-archive.com/autotools-announce@gnu.org/msg00023.html

* autogen.sh: allow for autoconf 2.61

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16223 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/de.po: update
Michael Schmitt [Sat, 9 Dec 2006 16:34:08 +0000 (16:34 +0000)]
* po/de.po: update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16222 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * Status.15x: another (minor) problem
Michael Schmitt [Sat, 9 Dec 2006 16:19:59 +0000 (16:19 +0000)]
* Status.15x: another (minor) problem

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16221 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * Status.15x: minor cleanup; point to bugzilla; add CT entries
Michael Schmitt [Sat, 9 Dec 2006 16:11:11 +0000 (16:11 +0000)]
* 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

17 years ago * Status.15x: fix report on assertion; remove fixed CT bug
Michael Schmitt [Sat, 9 Dec 2006 16:01:47 +0000 (16:01 +0000)]
* 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

17 years ago * Status.15x: remove a report on a bug that I can no longer
Michael Schmitt [Sat, 9 Dec 2006 15:51:18 +0000 (15:51 +0000)]
* 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

17 years ago * Status.15x: add valgrind report
Michael Schmitt [Sat, 9 Dec 2006 15:45:53 +0000 (15:45 +0000)]
* Status.15x: add valgrind report

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16217 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago po/*.po: remerge
Michael Schmitt [Sat, 9 Dec 2006 14:49:21 +0000 (14:49 +0000)]
po/*.po: remerge

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16216 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoclean up the clean up of the font panel in document dialog (roman family combo has...
Jürgen Spitzmüller [Sat, 9 Dec 2006 09:54:50 +0000 (09:54 +0000)]
clean up the clean up of the font panel in document dialog (roman family combo has to come first, not last).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16215 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix returned width for small caps (these values are not cached, though)
Enrico Forestieri [Sat, 9 Dec 2006 07:07:00 +0000 (07:07 +0000)]
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

17 years agorevert accidental change
Georg Baum [Fri, 8 Dec 2006 19:49:01 +0000 (19:49 +0000)]
revert accidental change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16213 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoConvert the spell checking machinery to docstring.
Georg Baum [Fri, 8 Dec 2006 19:46:16 +0000 (19:46 +0000)]
Convert the spell checking machinery to docstring.
Fix a conversion char -> char_type without encoding conversion in
cap::replaceSelectionWithString().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16212 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomake it compile again
Georg Baum [Fri, 8 Dec 2006 19:41:20 +0000 (19:41 +0000)]
make it compile again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16211 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd missing file
Georg Baum [Fri, 8 Dec 2006 18:43:59 +0000 (18:43 +0000)]
add missing file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16210 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* paragraph.C (startTeXParams, endTeXParams):
Jürgen Spitzmüller [Fri, 8 Dec 2006 18:20:38 +0000 (18:20 +0000)]
* paragraph.C (startTeXParams, endTeXParams):
reset column count after linebreak.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16209 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix incorrect conversion from QString to std::string. lyxerr output is wrong
Georg Baum [Fri, 8 Dec 2006 08:57:57 +0000 (08:57 +0000)]
Fix incorrect conversion from QString to std::string. lyxerr output is wrong
now (always UTF8 as in the core).

* src/frontends/qt4/qt_helpers.C
(fromqstr): Convert to UTF8, not the locale encoding

* src/frontends/qt4/qt_helpers.h
(toqstr): update documentation
(qchar_to_ucs4): ditto
(ucs4_to_qchar): ditto
(ucs4_to_qstring): ditto
(qstring_to_ucs4): ditto
(qt_): ditto
(fromqstr): ditto

* src/frontends/qt4/README: Update unicode part

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16207 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/lyx_main.C
Georg Baum [Thu, 7 Dec 2006 21:27:32 +0000 (21:27 +0000)]
* src/lyx_main.C
(LyX::init): Remove obsolete test for arguments starting with '-'.
The frontend did already parse these arguments before LyX::init is
called, and therefore any remaining ones are reported as error
earlier in LyX::init, so the removed code does never trigger.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16206 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix compiler warning
Georg Baum [Thu, 7 Dec 2006 17:48:38 +0000 (17:48 +0000)]
fix compiler warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16205 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoButton face-lift: stop shifting text under mouse
Bo Peng [Thu, 7 Dec 2006 16:26:17 +0000 (16:26 +0000)]
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

17 years ago--with-frontend=qt4 is not required anymore
Jean-Marc Lasgouttes [Thu, 7 Dec 2006 16:17:40 +0000 (16:17 +0000)]
--with-frontend=qt4 is not required anymore

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16202 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agothree new bug reports
Michael Schmitt [Thu, 7 Dec 2006 12:18:07 +0000 (12:18 +0000)]
three new bug reports

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16201 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agounneeded header
Abdelrazak Younes [Thu, 7 Dec 2006 12:06:10 +0000 (12:06 +0000)]
unneeded header

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16200 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agounneeded header
Abdelrazak Younes [Thu, 7 Dec 2006 12:05:24 +0000 (12:05 +0000)]
unneeded header

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16199 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agounneeded header
Abdelrazak Younes [Thu, 7 Dec 2006 12:03:58 +0000 (12:03 +0000)]
unneeded header

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16198 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* BufferView:
Abdelrazak Younes [Thu, 7 Dec 2006 11:46:27 +0000 (11:46 +0000)]
* 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

17 years ago * src/tex2lyx/text.C
Georg Baum [Thu, 7 Dec 2006 11:25:42 +0000 (11:25 +0000)]
* 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

17 years agoOn *nix, report the font family name instead of "Multi"
Enrico Forestieri [Thu, 7 Dec 2006 00:49:56 +0000 (00:49 +0000)]
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

17 years agoFix a button hover bug, remove button frame
Bo Peng [Wed, 6 Dec 2006 22:51:39 +0000 (22:51 +0000)]
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

17 years agoSupport for the EURO sign (bug 845):
Jürgen Spitzmüller [Wed, 6 Dec 2006 16:46:57 +0000 (16:46 +0000)]
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

17 years agoSmall update.
Enrico Forestieri [Wed, 6 Dec 2006 13:54:26 +0000 (13:54 +0000)]
Small update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16192 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoDirectly use the family name in QFontInfo to ascertain whether the requested
Enrico Forestieri [Wed, 6 Dec 2006 13:38:07 +0000 (13:38 +0000)]
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

17 years ago* convert dir to internal path
Edwin Leuven [Tue, 5 Dec 2006 22:36:31 +0000 (22:36 +0000)]
* convert dir to internal path

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16187 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* FileDialog.C: always return POSIX-like path names ('/' instead of '\' on Windows)
Michael Schmitt [Tue, 5 Dec 2006 19:51:50 +0000 (19:51 +0000)]
* 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

17 years agoButton face-lift: make the buttons a bit more prominent with a darker than background...
Bo Peng [Tue, 5 Dec 2006 17:55:45 +0000 (17:55 +0000)]
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

17 years agomore unicode filenames (+ fix one possible initialization order bug in
Georg Baum [Tue, 5 Dec 2006 12:57:01 +0000 (12:57 +0000)]
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

17 years agoIf anybody moves this to WONTFIX again I'll get really upset.
Georg Baum [Tue, 5 Dec 2006 08:06:44 +0000 (08:06 +0000)]
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

17 years agoAdd a copy constructor of InsetCollapsable to fix the follow bug:
Bo Peng [Tue, 5 Dec 2006 05:36:59 +0000 (05:36 +0000)]
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

17 years agoStatus.15x, add lyx note selection bug
Bo Peng [Tue, 5 Dec 2006 05:28:12 +0000 (05:28 +0000)]
Status.15x, add lyx note selection bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16181 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoStatus.15x: move some items to WONT FIX section
Bo Peng [Tue, 5 Dec 2006 03:58:22 +0000 (03:58 +0000)]
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

17 years agofix a compiler warning regarding unused variable
Bo Peng [Tue, 5 Dec 2006 02:18:29 +0000 (02:18 +0000)]
fix a compiler warning regarding unused variable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16179 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodocument the LaTeX class a bit
Georg Baum [Mon, 4 Dec 2006 17:56:51 +0000 (17:56 +0000)]
document the LaTeX class a bit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16178 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomore unicode filenames
Georg Baum [Mon, 4 Dec 2006 17:43:49 +0000 (17:43 +0000)]
more unicode filenames

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16177 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove unneeded includes
Georg Baum [Mon, 4 Dec 2006 17:41:03 +0000 (17:41 +0000)]
remove unneeded includes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16176 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove unused member
Georg Baum [Mon, 4 Dec 2006 17:05:50 +0000 (17:05 +0000)]
remove unused member

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16175 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoCleanup loading of files and gui session restoring.
Abdelrazak Younes [Mon, 4 Dec 2006 16:54:32 +0000 (16:54 +0000)]
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

17 years agomore unicode filenames
Georg Baum [Mon, 4 Dec 2006 15:46:57 +0000 (15:46 +0000)]
more unicode filenames

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16173 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomore unicode filenames
Georg Baum [Mon, 4 Dec 2006 15:07:05 +0000 (15:07 +0000)]
more unicode filenames

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16172 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomore unicode filenames
Georg Baum [Mon, 4 Dec 2006 14:45:17 +0000 (14:45 +0000)]
more unicode filenames

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16171 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* GuiApplication::x11EventFilter(): check for currentView() before using it.
Abdelrazak Younes [Mon, 4 Dec 2006 13:52:02 +0000 (13:52 +0000)]
* 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

17 years agoMake string conversion work with non-ucs2-characters if using qt 4.2
Georg Baum [Mon, 4 Dec 2006 13:50:46 +0000 (13:50 +0000)]
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

17 years agoAllow empty file names in constructor, since empty filenames can now be
Georg Baum [Mon, 4 Dec 2006 13:45:08 +0000 (13:45 +0000)]
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

17 years ago* Dimension is a simple wrapper class again.
Abdelrazak Younes [Mon, 4 Dec 2006 10:45:43 +0000 (10:45 +0000)]
* 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

17 years agoForgot this!
Abdelrazak Younes [Mon, 4 Dec 2006 10:33:47 +0000 (10:33 +0000)]
Forgot this!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16166 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* enable font metrics cache for all platforms.
Abdelrazak Younes [Mon, 4 Dec 2006 10:09:22 +0000 (10:09 +0000)]
* 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

17 years ago* src/paragraph.C (corrected_env, endTeXParams):
Jürgen Spitzmüller [Mon, 4 Dec 2006 07:27:49 +0000 (07:27 +0000)]
* 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

17 years agoButton face-lift: use mouse hover-buttons.
Bo Peng [Mon, 4 Dec 2006 04:31:18 +0000 (04:31 +0000)]
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

17 years ago* lib/layouts/amsart.layout:
Jürgen Spitzmüller [Sun, 3 Dec 2006 15:36:06 +0000 (15:36 +0000)]
* 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

17 years agosrc/support/filename.C: add assertion to ensure that no Windows-style
Michael Schmitt [Sun, 3 Dec 2006 14:48:00 +0000 (14:48 +0000)]
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

17 years agotwo lines between function.
Abdelrazak Younes [Sun, 3 Dec 2006 13:17:35 +0000 (13:17 +0000)]
two lines between function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16158 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix memory leaks with multiple windows and crash when deleteOnClose is set.
Abdelrazak Younes [Sun, 3 Dec 2006 13:09:57 +0000 (13:09 +0000)]
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

17 years ago* WorkArea::dispatch(): avoid GUI tweaks if cmd is a mouse motion with no button...
Abdelrazak Younes [Sun, 3 Dec 2006 10:43:55 +0000 (10:43 +0000)]
* 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

17 years agoprepare fixing some memory leaks
Peter Kümmel [Sun, 3 Dec 2006 10:30:18 +0000 (10:30 +0000)]
prepare fixing some memory leaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16155 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove unused signal
Peter Kümmel [Sun, 3 Dec 2006 10:14:35 +0000 (10:14 +0000)]
remove unused signal

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16154 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix quit problems on Mac
Peter Kümmel [Sun, 3 Dec 2006 10:05:41 +0000 (10:05 +0000)]
fix quit problems on Mac

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16153 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/*.po: remerge
Michael Schmitt [Sun, 3 Dec 2006 01:33:32 +0000 (01:33 +0000)]
* po/*.po: remerge

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16152 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/de.po: a few more translations
Michael Schmitt [Sun, 3 Dec 2006 01:29:01 +0000 (01:29 +0000)]
* po/de.po: a few more translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16151 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/frontends/qt4/ui/QPrefUi.ui: clarify message
Michael Schmitt [Sun, 3 Dec 2006 01:16:03 +0000 (01:16 +0000)]
* 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

17 years ago * qt4/QExternal.C:
Michael Schmitt [Sun, 3 Dec 2006 01:11:37 +0000 (01:11 +0000)]
* 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

17 years ago * qt_helpers.h: qt_() - set parameter 'comment' to default 0
Michael Schmitt [Sun, 3 Dec 2006 01:09:09 +0000 (01:09 +0000)]
* qt_helpers.h: qt_() - set parameter 'comment' to default 0

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16148 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/frontends/qt4/qt_helpers.h: fix comment on the use of qt_()
Michael Schmitt [Sun, 3 Dec 2006 00:28:14 +0000 (00:28 +0000)]
* src/frontends/qt4/qt_helpers.h: fix comment on the use of qt_()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16147 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/de.po: more updates
Michael Schmitt [Sun, 3 Dec 2006 00:09:31 +0000 (00:09 +0000)]
* po/de.po: more updates

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16146 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/buffer.C: remove redundant space from user message
Michael Schmitt [Sat, 2 Dec 2006 23:39:17 +0000 (23:39 +0000)]
* src/buffer.C: remove redundant space from user message

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16145 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/de.po: update
Michael Schmitt [Sat, 2 Dec 2006 22:09:52 +0000 (22:09 +0000)]
* po/de.po: update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16144 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * Status.15x: where have all the tooltips gone?
Michael Schmitt [Sat, 2 Dec 2006 21:59:00 +0000 (21:59 +0000)]
* 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

17 years agoupdate comments.
Abdelrazak Younes [Sat, 2 Dec 2006 21:55:28 +0000 (21:55 +0000)]
update comments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16142 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/lyxfunc.C:
Michael Schmitt [Sat, 2 Dec 2006 21:27:31 +0000 (21:27 +0000)]
* src/lyxfunc.C:
* src/frontends/qt4/GuiView.C:
* src/lyx_main.C: fix various typos in comments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16141 a592a061-630c-0410-9148-cb99ea01b6c8