]>
git.lyx.org Git - lyx.git/log
Georg Baum [Thu, 21 Dec 2006 14:31:19 +0000 (14:31 +0000)]
convert LyXFont::stateText and LColor::getGUIName to docstring,
saving again some utf8 conversions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16365
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Dec 2006 14:07:33 +0000 (14:07 +0000)]
PROGRAM_SUFFIX represents a possible version suffix, better let it empty for now. Georg explication of how autotools handle that:
configure --with-version-suffix=-1.5
results in a PROGRAM_SUFFIX of "-1.5". This is important for the name of
the personal LyX dir, and the name of the executables if you want to
install several LyX versions in parallel without interference.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16364
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 21 Dec 2006 13:58:28 +0000 (13:58 +0000)]
convert author names and status messages to docstring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16363
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 21 Dec 2006 13:01:47 +0000 (13:01 +0000)]
Fix another instance of filename encoding problems
* src/support/filetools.h
(fileSearch): change return value type to vector<FileName>
* src/support/filetools.C
(dirList): Convert filenames from the file system encoding
* src/converter.C
(Converters::move): Adjust to dirList interface change
* src/support/filename.[Ch]
(FileName::fromFilesystemEncoding): New static method
* src/client/client.C: Add comments about filename encoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16362
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 21 Dec 2006 12:04:01 +0000 (12:04 +0000)]
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
Abdelrazak Younes [Thu, 21 Dec 2006 12:01:35 +0000 (12:01 +0000)]
Fix this error message on startup:
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16360
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 21 Dec 2006 11:56:07 +0000 (11:56 +0000)]
add compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16359
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 21 Dec 2006 11:46:13 +0000 (11:46 +0000)]
* src/converter.C
(Converters::move): Use removeExtension and reuse variable 'path'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16358
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 21 Dec 2006 10:37:28 +0000 (10:37 +0000)]
remove unused stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16357
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Dec 2006 09:52:58 +0000 (09:52 +0000)]
Fix hard-coded path for locales dir.
I am not sure about what the PROGRAM_SUFFIX should contain...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16356
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Dec 2006 09:48:26 +0000 (09:48 +0000)]
Change the rule to generate package.C from %VAR% to @VAR@
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16355
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 21 Dec 2006 08:46:32 +0000 (08:46 +0000)]
Let the compiler generate default constructor, copy constructor and
assignment operator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16354
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 21 Dec 2006 02:49:27 +0000 (02:49 +0000)]
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
Abdelrazak Younes [Wed, 20 Dec 2006 21:28:05 +0000 (21:28 +0000)]
Partial Fix for Tab key press bug. It is now properly processed but the focus is not returned to the WorkArea afterward.
* WorkArea.h: processKeySym() is now public
* GuiView:
* event(): new method to intercept Tab key press.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16352
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Wed, 20 Dec 2006 18:37:46 +0000 (18:37 +0000)]
set package vars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16351
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 20 Dec 2006 14:28:06 +0000 (14:28 +0000)]
* QLMenubar.C (macxMenuBarInit): fix workaround for menu merging
with Qt/Mac. Still does not work in non-default locale.
* QLPopupMenu.C (specialMacXmenuHack): remove, not needed anymore.
* GuiView.C (init): remove Mac hack, not needed anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16349
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Dec 2006 14:17:50 +0000 (14:17 +0000)]
Fix bug 3024 (http://bugzilla.lyx.org/show_bug.cgi?id=3024).
The use of top-level lyx::dispatch() ensure that the CoordCache is OK at each step.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16348
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Dec 2006 14:15:26 +0000 (14:15 +0000)]
add an assertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16347
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 20 Dec 2006 14:03:25 +0000 (14:03 +0000)]
Add layout AltAffiliation ; add optional argument support for Author Email and
Author URL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16345
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 20 Dec 2006 13:25:46 +0000 (13:25 +0000)]
* insetcollapsable.C (doDispatch): fix crash in previous patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16344
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 20 Dec 2006 01:32:43 +0000 (01:32 +0000)]
Scons: fix a newly introduced qt4 CCFLAGS bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16343
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 19 Dec 2006 20:39:00 +0000 (20:39 +0000)]
Scons: allow shared boost libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16342
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 19 Dec 2006 18:32:55 +0000 (18:32 +0000)]
Scons: clear separation of env and frontend_env (a major reshuffling)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16341
a592a061 -630c-0410-9148-
cb99ea01b6c8
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