]>
git.lyx.org Git - lyx.git/log
Abdelrazak Younes [Thu, 4 Jan 2007 13:29:35 +0000 (13:29 +0000)]
delete unused variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16500
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 4 Jan 2007 12:36:17 +0000 (12:36 +0000)]
Reorganize window resizing so that no painting occurs during a resizeEvent(). This caused the crash on MacOSX because the splash image drawing was not finished before the resizeEvent() occurred because of scrollbar hiding.
* WorkArea::resizeBufferView(): delete redraw() call.
* GuiWorkArea:
- need_resize_: new private member.
- expose(): move pixmap painting code to new private updateScreen() method.
- paintEvent(): resize the backing pixmap if need be.
- resizeEvent(): move the resizing code to paintEvent().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16499
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 12:05:24 +0000 (12:05 +0000)]
Let LFUN_PASTE always paste the most recent clipboard (internal or system)
* src/insets/insettabular.C
(InsetTabular::doDispatch): Only paste the tabular clipboard if the
system clipboard is not newer, else let the current cell paste the
system clipboard
(InsetTabular::getStatus): Only decide whether to enable LFUN_PASTE
if the tabular clipboard is not empty and the system clipboard is
not newer, else let the current cell decide.
* src/mathed/InsetMathGrid.C
(InsetMathGrid::doDispatch): Use the system clipboard for LFUN_PASTE
if it is newer.
* src/mathed/InsetMathNest.C
(InsetMathNest::doDispatch): Use the system clipboard for LFUN_PASTE
if it is newer.
* src/text3.C
(doInsertInset): Add a "0" argument to LFUN_PASTE, because we always
want to use the internal clipboard here
(LyXText::dispatch): ditto (when handling mouse button 2 press)
(LyXText::dispatch): Use the system clipboard for LFUN_PASTE if it
is newer.
(LyXText::getStatus): Also enable LFUN_PASTE if the system clipboard
is owned by another application
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16498
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 11:12:01 +0000 (11:12 +0000)]
Remove isInternal() method. We don't use it and should not do so in the
future, we use LCursor::selection() instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16497
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 4 Jan 2007 11:05:57 +0000 (11:05 +0000)]
* GuiApplication.C (GuiApplication): make sure that the Qtranslator
holding the Qt translations is not deleted. Now keyboard shortcuts and
Qt stock dialogs are properly translated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16496
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 11:05:22 +0000 (11:05 +0000)]
* src/insets/insettabular.C
(InsetTabular::getStatus): Correctly enable LFUN_PASTE when the
special tabular clipboard is empty by removing an errornous
fall-through to LFUN_INSET_MODIFY
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16495
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 11:00:09 +0000 (11:00 +0000)]
Get rid of InsetTabular::hasPasteBuffer. I verified that it was equivalent
to cap::tabularStackDirty().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16494
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 09:50:25 +0000 (09:50 +0000)]
forgot the break
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16493
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 09:48:54 +0000 (09:48 +0000)]
* src/insets/insettabular.C
(InsetTabular::doDispatch): Don't reset the table paste buffer
when pasting from the external clipboard or selection, since no
paste operation should ever change any clipboard.
At the same time make the code more readable by removing the
fall-through.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16492
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 09:35:44 +0000 (09:35 +0000)]
* src/mathed/InsetMathNest.C
(InsetMathNest::lfunMouseRelease): Remove commented call of
theSelection->put(), since that should never be called from the kernel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16491
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 09:26:42 +0000 (09:26 +0000)]
* src/CutAndPaste.C
(cutSelection): Fill the system clipboard if this is a real cut (only
if the cursor is in texted, the mathed case is done elsewhere).
(cutSelection): Remove obsolete comment. Since the separation of
selection and clipboard the selection is only filled as response
to an explicit request by the X server, so there is no slowdown.
The clipboard is only filled on explicit user request, so that does
not result in slowdown either.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16490
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 09:14:28 +0000 (09:14 +0000)]
remove double declaration of cutSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16489
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 09:00:19 +0000 (09:00 +0000)]
remove obsolete comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16488
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 08:57:55 +0000 (08:57 +0000)]
formatting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16487
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 4 Jan 2007 08:48:43 +0000 (08:48 +0000)]
Fix documentation of Selection::get(): The X selection protocol is asyncronous.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16486
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 3 Jan 2007 23:05:27 +0000 (23:05 +0000)]
Fix crashes caused by invalid last_inset_ due to keyboard editing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16485
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 3 Jan 2007 22:03:26 +0000 (22:03 +0000)]
* src/frontends/qt4/QToc.C: fix formatting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16484
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 3 Jan 2007 21:51:10 +0000 (21:51 +0000)]
* src/frontends/qt4/QMathMatrixDialog.C:
* src/kbmap.C:
* src/LaTeXFeatures.C:
* src/text.C: remove superfluous "return" statements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16483
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 3 Jan 2007 18:23:25 +0000 (18:23 +0000)]
* po/*.po: remerge (only one new message)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16482
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 3 Jan 2007 18:02:26 +0000 (18:02 +0000)]
change LYX_USER_DIR_1[234]x to LYX_USER_DIR_15x
change LYX_DIR_1[234]x to LYX_DIR_15x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16481
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 3 Jan 2007 15:55:48 +0000 (15:55 +0000)]
German documentation update from Hartmut Haase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16480
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 3 Jan 2007 11:59:10 +0000 (11:59 +0000)]
* src/MenuBackend.[Ch]: the specialMenu is now a real menu, not a
menu name.
* src/frontends/qt4/QLMenubar.C (macxMenuBarInit): hardcode the
special menu instead of reading it from ui files. Use labels that will
trigger Qt menu merging functionality onthe mac. This fixes menu
merging on LyX/Mac (but the menu names are still in english for now).
* lib/ui/stdmenus.ui: delete special menu definition "LyX".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16479
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 3 Jan 2007 10:40:12 +0000 (10:40 +0000)]
* bufferparams.C (writeLaTeX):
* lyx_sty.C: use \setlength{\foo}{bar}, not \setlength\foo{bar}
(bug 2843)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16478
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 3 Jan 2007 08:53:54 +0000 (08:53 +0000)]
Prepare for external/internal clipboard merging.
* Clipboard.h: new isInternal() pure virtual method
* Selection.h: new isInternal() pure virtual method
* GuiClipboard, GuiSelection: implement new method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16476
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 3 Jan 2007 07:30:50 +0000 (07:30 +0000)]
Factorise external pasting code.
* LyXText::pasteString(): new private method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16475
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 3 Jan 2007 07:28:45 +0000 (07:28 +0000)]
comment out debug statement.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16474
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 3 Jan 2007 04:57:55 +0000 (04:57 +0000)]
Scons: create libs directory for res file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16472
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 2 Jan 2007 20:57:34 +0000 (20:57 +0000)]
Implement more detailed iconv error messages for better tracking of bugs
like 3043
* src/support/docstream.C
(iconv_codecvt_facet::do_out): Output the to be converted string and
the partially converted result in hex notation if an error occurs
(iconv_codecvt_facet::do_in): ditto
(iconv_codecvt_facet::do_iconv): remove now obsolete error message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16469
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 2 Jan 2007 20:44:06 +0000 (20:44 +0000)]
* src/support/unicode.C
(IconvProcessor::convert): Fix hex output of bytes on systems where
char is signed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16468
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 2 Jan 2007 12:35:53 +0000 (12:35 +0000)]
Fix bug 3052: Always start a new paragraph after a noweb code chunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16467
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 2 Jan 2007 12:27:26 +0000 (12:27 +0000)]
merge identical code from if/else branches to a single line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16466
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 2 Jan 2007 10:36:34 +0000 (10:36 +0000)]
add some assertions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16465
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 2 Jan 2007 06:13:53 +0000 (06:13 +0000)]
Scons: allow use of different icons for lyx and tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16464
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 2 Jan 2007 05:22:20 +0000 (05:22 +0000)]
Scons: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16463
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 2 Jan 2007 05:21:08 +0000 (05:21 +0000)]
Scons: create an .rc file and link lyx.exe etc with .res to set icon
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16462
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 1 Jan 2007 17:36:31 +0000 (17:36 +0000)]
Status.15x: mark a bug as fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16461
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 1 Jan 2007 16:00:27 +0000 (16:00 +0000)]
Fix cursor navigation with UP arrows. I don't know why this return was not there at the first place.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16460
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 1 Jan 2007 12:12:07 +0000 (12:12 +0000)]
fix lyx2lyx conversion of multiple encoding files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16459
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 1 Jan 2007 11:36:30 +0000 (11:36 +0000)]
Transfer x2pos() and pos2x from LyXText to TextMetrics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16458
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 1 Jan 2007 10:53:10 +0000 (10:53 +0000)]
delete unused variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16457
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 1 Jan 2007 10:44:52 +0000 (10:44 +0000)]
Compilation fix, again... sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16456
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 1 Jan 2007 10:41:28 +0000 (10:41 +0000)]
Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16455
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 1 Jan 2007 10:33:37 +0000 (10:33 +0000)]
Transfer getColumnNearX from LyXText to TextMetrics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16454
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 1 Jan 2007 09:59:11 +0000 (09:59 +0000)]
Following depm sanitization, the assertion was bogus when entering an inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16453
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 1 Jan 2007 09:46:12 +0000 (09:46 +0000)]
Recommit Peter's commit from rev 16444. svn commit did not complain...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16452
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 1 Jan 2007 09:36:55 +0000 (09:36 +0000)]
Transfer these methods from LyXText to TextMetrics:
- labelEnd()
- rowBreakPoint()
- setRowWidth()
- setHeightOfRow()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16451
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 1 Jan 2007 09:31:43 +0000 (09:31 +0000)]
Fix crash when scrolling up using the arrow keys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16450
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 31 Dec 2006 15:41:06 +0000 (15:41 +0000)]
update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16449
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 30 Dec 2006 21:53:00 +0000 (21:53 +0000)]
fix: The items in the treeview are editable, invoke ert-insert => seg fault
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16448
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 30 Dec 2006 21:51:05 +0000 (21:51 +0000)]
disable editing in the toc dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16447
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 30 Dec 2006 21:05:44 +0000 (21:05 +0000)]
remove some msvc warnings
* src/mathed/InsetMathNest.C :
unreachable code
* src/aspell_local.h :
aspell is a Clibrary, no class keyword available
* src/texrow.h :
could not generate standard constructor
* development/cmake/CMakeLists.txt :
- disable same warnings
- all size_t/int related warnings are disabled
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16446
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 30 Dec 2006 18:24:25 +0000 (18:24 +0000)]
make out-of-bound access impossible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16444
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 30 Dec 2006 15:53:19 +0000 (15:53 +0000)]
delete unused variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16443
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 30 Dec 2006 15:05:15 +0000 (15:05 +0000)]
Sanitize the DEPM!
* BufferView:
- checkDepm(): new method for DEPM mechanism.
- mouseSetCursor(): use checkDepm().
* text2.C:
- use BufferView::checkDepm() instead of using LyXText::deleteEmptyParagraphMechanism() directly.
- deleteEmptyParagraphMechanism(): prepare for conversion to DocIterator (code transferred to BufferView::checkDepm()).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16442
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 30 Dec 2006 14:50:45 +0000 (14:50 +0000)]
add more lyxerr output, don't use a reference (maybe stdlib-debug has problems with it)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16441
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 30 Dec 2006 13:53:34 +0000 (13:53 +0000)]
also warnings as errors with /W3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16440
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Sat, 30 Dec 2006 12:39:41 +0000 (12:39 +0000)]
remove unused vars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16439
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 30 Dec 2006 11:50:39 +0000 (11:50 +0000)]
remove duplicate methods moved to TextMetrics.C.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16438
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 30 Dec 2006 10:35:17 +0000 (10:35 +0000)]
we've never used Q_FOREACH
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16437
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 30 Dec 2006 10:30:02 +0000 (10:30 +0000)]
undo last acedential checkin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16436
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 30 Dec 2006 10:23:06 +0000 (10:23 +0000)]
we've never used Q_FOREACH
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16435
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 30 Dec 2006 00:00:19 +0000 (00:00 +0000)]
delete unused stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16434
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 29 Dec 2006 23:54:48 +0000 (23:54 +0000)]
This commit do the Model/View separation of the LyXText and Paragraph classes. The separation is mostly complete for the Paragraph class but some more transfer should occur for the LyXText class.
* ParagraphMetrics.[Ch]: new files
* TextMetrics.[Ch]: new files.
* lyxtext.h/text2.C/text3.C: some code transferred to the TextMetrics class.
* paragraph.[Ch]: all screen oriented code transfered to ParagraphMetrics class.
* BufferView:
- text_metrics_: new TextMetrics cache private member.
- textMetrics(): new access method.
- parMetrics(): ditto.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16433
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 29 Dec 2006 14:17:48 +0000 (14:17 +0000)]
* cursor.C (popRight): place cursor at the right spot:
notifyCursorLeaves may have killed the inset and put its contents
at lower level (bug 2908)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16430
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 29 Dec 2006 13:40:50 +0000 (13:40 +0000)]
New textclass
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16428
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 29 Dec 2006 13:17:48 +0000 (13:17 +0000)]
Change default encoding of arabic to cp1256 because iso8859-6 is incomplete
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16427
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 29 Dec 2006 11:52:01 +0000 (11:52 +0000)]
* insetcollapsable.C (hasFixedWidth): new virtual method, returns
false by default.
(metrics): do not set to openinlined if
hasFixedWidth is true.
* insetbox.C (hasFixedWidth): returns true if the box has a fixed
width.
(metrics): use hasFixedWidth.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16426
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 29 Dec 2006 11:07:23 +0000 (11:07 +0000)]
* InsetMathNest.C (handleFont): avoid crash on undo when
suppressing a font inset (bug 3019).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16424
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 29 Dec 2006 10:22:16 +0000 (10:22 +0000)]
Fix description of LabelCounter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16422
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 29 Dec 2006 09:24:18 +0000 (09:24 +0000)]
Fix LaTeX generation of files with inputenc == default.
See the patch itself for further comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16421
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 28 Dec 2006 18:47:13 +0000 (18:47 +0000)]
add missing encoding declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16420
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 28 Dec 2006 18:20:26 +0000 (18:20 +0000)]
* Status.15x: remove invalid bug report (my MikTeX environment was broken)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16419
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 28 Dec 2006 18:15:25 +0000 (18:15 +0000)]
Add some more LaTeX encodings, fix thailatex and display all available
encodings in the preferences dialog
* src/LaTeXFeatures.C: special treatment for tis620-0 encoding
* src/bufferparams.C: ditto
* src/output_latex.C: ditto
* src/encoding.[Ch]: Add the possibility to iterate over all encodings
* src/paragraph_pimpl.C: Add latin10 and cp858 to Euro treatment
* src/buffer.C: Update format number
* src/frontends/qt4/QDocumentDialog.C: Don't hardcode available
encodings
* lib/lyx2lyx/LyX.py,
lib/lyx2lyx/lyx_1_5.py: implement conversion from 256 to 255
* lib/encodings: Add some encodings, fix all "unknown" entries
* development/FORMAT: Document file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16418
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 28 Dec 2006 16:23:12 +0000 (16:23 +0000)]
Add LyX 1.4.x format for export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16417
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 28 Dec 2006 16:19:22 +0000 (16:19 +0000)]
fix comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16416
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 28 Dec 2006 15:30:12 +0000 (15:30 +0000)]
* lib/configure.py: fix typos ("Declear" => "Declare")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16415
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 28 Dec 2006 12:05:40 +0000 (12:05 +0000)]
fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16414
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 28 Dec 2006 12:01:27 +0000 (12:01 +0000)]
remove obsolete comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16413
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 28 Dec 2006 10:24:45 +0000 (10:24 +0000)]
remove useless in_ert variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16411
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 28 Dec 2006 07:35:57 +0000 (07:35 +0000)]
* src/support/unicode.C
(iconv_convert): Fix a crash: Don't try to create a vector from two
pointers where end is before begin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16408
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 28 Dec 2006 06:21:03 +0000 (06:21 +0000)]
* Status.15x: clarify status of the charstyle dialog resizing bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16407
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 28 Dec 2006 03:00:48 +0000 (03:00 +0000)]
Fix a crash caused by cur.text() != this for collapsable insets
* src/insets/insetcollapsable.C: test if inset is open before editing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16406
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 27 Dec 2006 23:11:46 +0000 (23:11 +0000)]
* Status.15x: "reopen" dialog resize bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16405
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 27 Dec 2006 15:01:09 +0000 (15:01 +0000)]
* src/mathed/InsetMathNest.C (do_dispatch):
- catch LFUN_QUOTE_INSERT and output plain quote (bug 3044).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16403
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 27 Dec 2006 11:59:56 +0000 (11:59 +0000)]
add new galician file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16401
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 27 Dec 2006 10:56:11 +0000 (10:56 +0000)]
Fix strange bibtex problem by converting some more functions to use FileName
instead of std::string
* src/support/lyxlib.h
* src/support/getcwd.C
(getcwd): return a FileName, not a std::string in filesystem encoding
* src/support/filetools.[Ch]
(makeAbsPath): return a FileName, not a std::string in undefined encoding
* src/support/lyxlib.h
* src/support/tempName.C
(makeAbsPath): return a FileName, not a std::string in undefined encoding
* many other files: Adjust to the changes above
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16399
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 27 Dec 2006 10:37:03 +0000 (10:37 +0000)]
new Galician tutorial; updated Intro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16397
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 27 Dec 2006 08:40:40 +0000 (08:40 +0000)]
remove unused stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16395
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 24 Dec 2006 19:23:33 +0000 (19:23 +0000)]
Christmas present for Gregor Gorjanc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16394
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 24 Dec 2006 18:17:44 +0000 (18:17 +0000)]
update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16393
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 24 Dec 2006 18:16:25 +0000 (18:16 +0000)]
Fix focus problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16392
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 24 Dec 2006 17:11:32 +0000 (17:11 +0000)]
Really fix focus problem on new view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16391
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 24 Dec 2006 11:38:19 +0000 (11:38 +0000)]
* src/frontends/qt4/QCharacter.C:
- fix dialog resizing for QT >= 4.2 (bug 3032).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16390
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 24 Dec 2006 02:20:33 +0000 (02:20 +0000)]
Status.15x: record a repeatable case of the famous text() == this assertion crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16389
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 23 Dec 2006 21:47:06 +0000 (21:47 +0000)]
also work with Joost's windows file bundle (qmake gives the non-portabale path of Joost's Qt installation)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16388
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 23 Dec 2006 21:30:17 +0000 (21:30 +0000)]
don't show all warnings by default, use TOP_SRC_DIR value from LyXPaths.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16387
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 23 Dec 2006 17:09:50 +0000 (17:09 +0000)]
Fix focus on WorkArea after mini-buffer command.
* LyXView:
- setFocus(): new pure virtual method.
* QCommandBuffer:
- simplify Ctor
- call GuiView::setFocus() instead of centralWidget()->setFocus()
* GuiView:
- implement setFocus():
- focusNextPrevChild(): use setFocus().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16386
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 23 Dec 2006 12:48:23 +0000 (12:48 +0000)]
* Status.15x: another showstopper for people using bibtex bibliographies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16385
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 23 Dec 2006 12:26:20 +0000 (12:26 +0000)]
* Status.15x: more bug reports
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16384
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 23 Dec 2006 12:14:34 +0000 (12:14 +0000)]
* Status.15x: add Jürgen's bug report
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16383
a592a061 -630c-0410-9148-
cb99ea01b6c8