]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoremove change tracking on file
Jean-Marc Lasgouttes [Mon, 18 Dec 2006 09:23:30 +0000 (09:23 +0000)]
remove change tracking on file

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

17 years agoDon't use a global variable for avoiding removal of the system temp dir
Enrico Forestieri [Sun, 17 Dec 2006 21:52:40 +0000 (21:52 +0000)]
Don't use a global variable for avoiding removal of the system temp dir

* src/support/package.h
(Package::system_temp_dir): new, return the system temp dir.

* src/support/package.C.in
(Package::Package): record the system temp dir.

* src/lyx_main.C
(LyX::prepareExit): don't remove the temporary directory if it
is the same as the system temp dir, meaning that the lyx_tmpdir
has not yet been created.

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

17 years ago* add Rrightarrow.xpm to scons & automake
Edwin Leuven [Sun, 17 Dec 2006 17:46:47 +0000 (17:46 +0000)]
* add Rrightarrow.xpm to scons & automake

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

17 years agofix: http://bugzilla.lyx.org/show_bug.cgi?id=452
Edwin Leuven [Sun, 17 Dec 2006 17:36:00 +0000 (17:36 +0000)]
fix:  http://bugzilla.lyx.org/show_bug.cgi?id=452

ControlMath.C: cleanup order of symbols in math panel
iconpalette.C: 6 cols since many symbols come in pairs
Rrightarrow.xpm: was missing
searrow.xpm: was north east
swarrow.xpm: was north west

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

17 years ago* paragraph_pimpl.C: fix a seg fault when accepting a change
Michael Schmitt [Sun, 17 Dec 2006 15:09:32 +0000 (15:09 +0000)]
* paragraph_pimpl.C: fix a seg fault when accepting a change

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

17 years agoremove unused stuff
Georg Baum [Sun, 17 Dec 2006 15:05:18 +0000 (15:05 +0000)]
remove unused stuff

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

17 years ago* src/frontends/qt4/ui/QCitationUi.ui:
Jürgen Spitzmüller [Sun, 17 Dec 2006 14:04:18 +0000 (14:04 +0000)]
* 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

17 years ago* src/text2.C (getPitNearY):
Jürgen Spitzmüller [Sun, 17 Dec 2006 12:52:53 +0000 (12:52 +0000)]
* src/text2.C (getPitNearY):
- fix compiler warning (unsigned/signed int comparision).

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

17 years agoConvert filenames to local encoding for running lyx2lyx
Georg Baum [Sun, 17 Dec 2006 12:12:17 +0000 (12:12 +0000)]
Convert filenames to local encoding for running lyx2lyx

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

17 years agoConvert most of the bibtex machinery to docstring.
Georg Baum [Sun, 17 Dec 2006 10:52:04 +0000 (10:52 +0000)]
Convert most of the bibtex machinery to docstring.
Don't limit citation keys to ASCII anymore, since InsetBibitem can generate
non-ASCII keys.

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

17 years agoFix for bug 3027 by Martin V.
Abdelrazak Younes [Sun, 17 Dec 2006 10:11:28 +0000 (10:11 +0000)]
Fix for bug 3027 by Martin V.

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

17 years agoAdd some forgotten FileName conversions to enable installation in non-ascii
Georg Baum [Sun, 17 Dec 2006 09:46:04 +0000 (09:46 +0000)]
Add some forgotten FileName conversions to enable installation in non-ascii
paths

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

17 years agoStatus.15x: new pathname/unicode problem
Michael Schmitt [Sun, 17 Dec 2006 00:28:38 +0000 (00:28 +0000)]
Status.15x: new pathname/unicode problem

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

17 years agoStatus.15x: thesaurus is broken on Windows
Michael Schmitt [Sat, 16 Dec 2006 23:32:18 +0000 (23:32 +0000)]
Status.15x: thesaurus is broken on Windows

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

17 years agoScons: support boost 1.34
Bo Peng [Sat, 16 Dec 2006 23:31:15 +0000 (23:31 +0000)]
Scons: support boost 1.34

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

17 years agoScons: test for the availability of debug version of qt libraries before linking...
Bo Peng [Sat, 16 Dec 2006 20:16:34 +0000 (20:16 +0000)]
Scons: test for the availability of debug version of qt libraries before linking to them

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

17 years agoScons: can now be executed from any directory
Bo Peng [Sat, 16 Dec 2006 16:31:28 +0000 (16:31 +0000)]
Scons: can now be executed from any directory

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

17 years ago * Status.15x: add tiny url for relevant bugzilla entries;
Michael Schmitt [Sat, 16 Dec 2006 15:27:23 +0000 (15:27 +0000)]
* 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

17 years ago * po/*.po: resolve shortcut clashes
Michael Schmitt [Sat, 16 Dec 2006 14:25:22 +0000 (14:25 +0000)]
* po/*.po: resolve shortcut clashes

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

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

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

17 years ago * po/*.po: remerge
Michael Schmitt [Sat, 16 Dec 2006 12:27:46 +0000 (12:27 +0000)]
* po/*.po: remerge

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

17 years agofix variable initialization order (shuts up a gcc warning)
Georg Baum [Sat, 16 Dec 2006 10:40:43 +0000 (10:40 +0000)]
fix variable initialization order (shuts up a gcc warning)

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

17 years agoadd comment about possibly wrong encoding
Georg Baum [Sat, 16 Dec 2006 10:38:01 +0000 (10:38 +0000)]
add comment about possibly wrong encoding

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

17 years agoremove unused stuff
Georg Baum [Sat, 16 Dec 2006 10:37:41 +0000 (10:37 +0000)]
remove unused stuff

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

17 years agoFix this crash:
Abdelrazak Younes [Fri, 15 Dec 2006 23:17:10 +0000 (23:17 +0000)]
Fix this crash:
new doc
type:  foo bar
put cursor after foo: foo| bar
enter space: foo | bar
click somewhere else -> CRASH

The problem is that the paragraph breaking needs to be redone after the empty space is deleted.

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

17 years agoAccount for a bigger width or precision when inserting a number into
Enrico Forestieri [Fri, 15 Dec 2006 22:53:06 +0000 (22:53 +0000)]
Account for a bigger width or precision when inserting a number into
a wide stream on systems where sizeof(wchar_t) == 2.

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

17 years agominor style change: use 0 instead of NULL
Bo Peng [Fri, 15 Dec 2006 21:39:57 +0000 (21:39 +0000)]
minor style change: use 0 instead of NULL

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

17 years agoScons: print error message when scons is not called from top source directory or...
Bo Peng [Fri, 15 Dec 2006 21:38:55 +0000 (21:38 +0000)]
Scons: print error message when scons is not called from top source directory or development/scons

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

17 years agoupdate from Claudio Coco
Jean-Marc Lasgouttes [Fri, 15 Dec 2006 17:17:29 +0000 (17:17 +0000)]
update from Claudio Coco

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

17 years agoupdate from alex
Jean-Marc Lasgouttes [Fri, 15 Dec 2006 17:10:34 +0000 (17:10 +0000)]
update from alex

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

17 years agominor comment fix
Bo Peng [Fri, 15 Dec 2006 16:53:02 +0000 (16:53 +0000)]
minor comment fix

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

17 years agoBufferView.h/C: use member variable last_inset_ instead of static variable in workAre...
Bo Peng [Fri, 15 Dec 2006 16:48:09 +0000 (16:48 +0000)]
BufferView.h/C: use member variable last_inset_ instead of static variable in workAreaDispatch to avoid potential mutliple window problems

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

17 years agoRecord multiple window middle button paste bug
Bo Peng [Fri, 15 Dec 2006 16:27:51 +0000 (16:27 +0000)]
Record multiple window middle button paste bug

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

17 years agoAdjust Status.15x for Abdel's fix
Bo Peng [Fri, 15 Dec 2006 16:25:52 +0000 (16:25 +0000)]
Adjust Status.15x for Abdel's fix

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

17 years agoFix cursor repositioning when a Window is resized or when switching Windows showing...
Abdelrazak Younes [Fri, 15 Dec 2006 16:16:20 +0000 (16:16 +0000)]
Fix cursor repositioning when a Window is resized or when switching Windows showing the same Buffer (this bug was not visible if "Cursor follow mouse" was set).

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

17 years agogeorg baum:
Edwin Leuven [Fri, 15 Dec 2006 16:09:05 +0000 (16:09 +0000)]
georg baum:
- add encoding arg to idocfstream
- open .bib files with idocfstream
- add ascii_lowercase that takes docstring

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

17 years agoadd a comment in workAreaResize
Bo Peng [Fri, 15 Dec 2006 15:39:57 +0000 (15:39 +0000)]
add a comment in workAreaResize

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

17 years agoremove unneeded local variable.
Abdelrazak Younes [Fri, 15 Dec 2006 15:05:46 +0000 (15:05 +0000)]
remove unneeded local variable.

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

17 years agoremove some old cruft (unused OS X specific code)
Jean-Marc Lasgouttes [Fri, 15 Dec 2006 14:43:13 +0000 (14:43 +0000)]
remove some old cruft (unused OS X specific code)

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

17 years agomore cleanup:
Edwin Leuven [Fri, 15 Dec 2006 09:58:44 +0000 (09:58 +0000)]
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

17 years agoMark multiple window cursor problem as WONTFIX
Bo Peng [Fri, 15 Dec 2006 03:35:52 +0000 (03:35 +0000)]
Mark multiple window cursor problem as WONTFIX

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

17 years agoProvide do_put methods for inserting all remaining basic type values
Enrico Forestieri [Fri, 15 Dec 2006 00:30:46 +0000 (00:30 +0000)]
Provide do_put methods for inserting all remaining basic type values
into wide streams on systems where sizeof(wchar_t) == 2.

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

17 years agorecord multiple window cursor problem
Bo Peng [Thu, 14 Dec 2006 06:33:27 +0000 (06:33 +0000)]
record multiple window cursor problem

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

17 years agoFix the multiple window rows() availability bug
Bo Peng [Thu, 14 Dec 2006 03:41:32 +0000 (03:41 +0000)]
Fix the multiple window rows() availability bug

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

17 years agoProvide do_put methods for inserting "unsigned long" and "double" values
Enrico Forestieri [Thu, 14 Dec 2006 00:31:18 +0000 (00:31 +0000)]
Provide do_put methods for inserting "unsigned long" and "double" values
into wide streams on systems where sizeof(wchar_t) == 2.

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

17 years agofix manual qt configuration in these cases:
Georg Baum [Wed, 13 Dec 2006 21:18:44 +0000 (21:18 +0000)]
fix manual qt configuration in these cases:
- pkgconfig is missing
- pkgconfig is available, but it does not have any qt information
by Jean-Marc and me

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

17 years agoReplace the Qt3 support signal QComboBox::textChanged
Enrico Forestieri [Wed, 13 Dec 2006 20:01:39 +0000 (20:01 +0000)]
Replace the Qt3 support signal QComboBox::textChanged
with the correct Qt4 signal QComboBox::editTextChanged.

* src/frontends/qt4/QSearchDialog.C
(QSearchDialog::QSearchDialog): use QComboBox::editTextChanged instead
of QComboBox::textChanged.

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

17 years ago * Status.15x: let's not forgot to align the size of icons
Michael Schmitt [Wed, 13 Dec 2006 19:13:37 +0000 (19:13 +0000)]
* 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

17 years ago * Status.15x: add minor bug in the graphics dialog
Michael Schmitt [Wed, 13 Dec 2006 19:11:33 +0000 (19:11 +0000)]
* 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

17 years agoScons: use /path/to/qt/QtCore explicitly
Bo Peng [Wed, 13 Dec 2006 16:28:40 +0000 (16:28 +0000)]
Scons: use /path/to/qt/QtCore explicitly

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

17 years agorevert r16260
Bo Peng [Wed, 13 Dec 2006 16:23:29 +0000 (16:23 +0000)]
revert r16260

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

17 years agoConvert shortcut strings to unicode (required by Qt/Mac); restore
Jean-Marc Lasgouttes [Wed, 13 Dec 2006 14:13:01 +0000 (14:13 +0000)]
Convert shortcut strings to unicode (required by Qt/Mac); restore
shortcuts in menus on the Mac.

* src/frontends/qt4/QLPopupMenu.C (addBinding): remove special
OS X code (and hopefully restore shortcuts for LyX/Mac).

* src/lyxfunc.C (processKeySym, dispatch, sendDispatchMessage,
viewStatusMessage): adapt to changes below.

* src/MenuBackend.C (binding): adapt to changes below.

* src/kbmap.C (printKey, print, printbindings): return a
docstring; adapt to kbsequence changes.

* src/kbsequence.C (print, printOptions): return a docstring.

* src/frontends/LyXKeySym.h (print): return a docstring.

* src/frontends/qt4/QLyXKeySym.C (print): return a docstring.
(qprint): remove.

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

17 years agoOne from Uwe
Georg Baum [Wed, 13 Dec 2006 09:59:34 +0000 (09:59 +0000)]
One from Uwe

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

17 years agoStatus.15x: add Uwe's bug report
Michael Schmitt [Wed, 13 Dec 2006 06:25:15 +0000 (06:25 +0000)]
Status.15x: add Uwe's bug report

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

17 years agoRemove the tmp dir only if it has been created and create the lyxsocket
Enrico Forestieri [Wed, 13 Dec 2006 05:29:19 +0000 (05:29 +0000)]
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

17 years agoScons: add support for QtCore in support (and tex2lyx and client)
Bo Peng [Wed, 13 Dec 2006 04:55:41 +0000 (04:55 +0000)]
Scons: add support for QtCore in support (and tex2lyx and client)

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

17 years agoBe consistent in how qt headers are included (QtCore/Q...), because QtXml etc may...
Bo Peng [Wed, 13 Dec 2006 04:43:50 +0000 (04:43 +0000)]
Be consistent in how qt headers are included (QtCore/Q...), because QtXml etc may be used later.

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

17 years agothe quit logic has changed, so it's not a bug any more
Peter Kümmel [Tue, 12 Dec 2006 22:53:59 +0000 (22:53 +0000)]
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

17 years agoforgot this
Georg Baum [Tue, 12 Dec 2006 20:24:07 +0000 (20:24 +0000)]
forgot this

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

17 years agoMake libQtCore a support library like boost and implement encoding conversion
Georg Baum [Tue, 12 Dec 2006 20:19:46 +0000 (20:19 +0000)]
Make libQtCore a support library like boost and implement encoding conversion
from/to the local 8bit encoding with it.
Only the autotools build system is updated, scons and cmake users need to
add qt4 cpp flags when compiling libsupport, and link libsupport against
libQtCore.

* src/frontends/qt4/qt_helpers.[Ch]
(toqstr, qchar_to_ucs4, ucs4_to_qchar, ucs4_to_qstring,
 qstring_to_ucs4, fromqstr): Move these qstring conversion functions
from here ...

* src/support/qstring_helpers.[Ch] ... to these new files

* src/support/docstring.[Ch]
(from_local8bit): new conversion function from local 8bit encoding
to ucs4
(to_local8bit): new conversion function from ucs4 to local 8bit
encoding to ucs4
(to_local8bit_failure): exception that is thrown by to_local8bit if
the argument cannot be converted to the local encoding

* src/support/filename.C
(FileName::toFilesystemEncoding): implement with the help of QFile

* src/support/Makefile.am: Add new files, qt4 cpp flags and link
against libQtCore

* src/client/client.C: Convert commandline input from local encoding
to ucs4. Convert stuff that is sent to to the server to utf8,
because LyX interprets it as utf8 on the other end of the pipe.

* src/lyx_main.C
(LyX::exec): convert commandline input from local encoding to utf8
(LyX::init): ditto
(LyX::easyParse): ditto

* development/scons/scons_manifest.py: Add new files

* config/qt4.m4: Define new variables QT4_CORE_INCLUDES,
QT4_CORE_LDFLAGS and QT4_CORE_LIB

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

17 years agoStatus.15x: add citation dialog bugs
Michael Schmitt [Tue, 12 Dec 2006 19:49:53 +0000 (19:49 +0000)]
Status.15x: add citation dialog bugs

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

17 years agoUnify InsetLatexAccent output
Georg Baum [Tue, 12 Dec 2006 18:55:55 +0000 (18:55 +0000)]
Unify InsetLatexAccent output

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

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