]>
git.lyx.org Git - features.git/log
Georg Baum [Tue, 19 Dec 2006 18:04:42 +0000 (18:04 +0000)]
fix formatting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16340
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 19 Dec 2006 15:48:40 +0000 (15:48 +0000)]
Scons: do not print warnings when checking boost libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16339
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 19 Dec 2006 15:44:39 +0000 (15:44 +0000)]
Scons: handle the case when qt4 is in system directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16338
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 19 Dec 2006 15:42:10 +0000 (15:42 +0000)]
* insetcollapsable.C (doDispatch): do nothing on mouse release if
there is a selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16337
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 19 Dec 2006 14:27:38 +0000 (14:27 +0000)]
First step towards model/view separation of Paragraph class.
- ParagraphMetrics: new class gathering everything related to metrics.
- Paragraph: now derives from ParagraphMetrics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16335
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 19 Dec 2006 14:24:25 +0000 (14:24 +0000)]
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
Abdelrazak Younes [Tue, 19 Dec 2006 14:09:47 +0000 (14:09 +0000)]
header cleanup following rev 16332.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16333
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 19 Dec 2006 13:39:46 +0000 (13:39 +0000)]
Moves textRow() from DocIterator to cursor.C where it belongs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16332
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 19 Dec 2006 12:01:37 +0000 (12:01 +0000)]
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
Jürgen Spitzmüller [Tue, 19 Dec 2006 08:17:47 +0000 (08:17 +0000)]
* 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
Bo Peng [Mon, 18 Dec 2006 23:27:33 +0000 (23:27 +0000)]
Scons: remove boost 1.33.1 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16328
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 18 Dec 2006 20:27:26 +0000 (20:27 +0000)]
small fix from Sian Mountbatten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16327
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 18 Dec 2006 20:25:37 +0000 (20:25 +0000)]
grammar fix from Sian Mountbatten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16326
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 18 Dec 2006 20:17:12 +0000 (20:17 +0000)]
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
Georg Baum [Mon, 18 Dec 2006 16:45:20 +0000 (16:45 +0000)]
Fix bug 3037
* src/lyxfunc.C
(LyXFunc::dispatch): Use default include type if no type is given
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16324
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 18 Dec 2006 15:30:50 +0000 (15:30 +0000)]
Scons: load qt4 module with debug=False when the debug library is not available; modify boost/check warning message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16323
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 18 Dec 2006 15:21:43 +0000 (15:21 +0000)]
* Application.C (Application): initialize correctly current_view_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16322
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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