]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoOptimize buffer-switch: do first updateLabels() on opening instead of at each buffer...
Abdelrazak Younes [Thu, 11 Jan 2007 08:34:23 +0000 (08:34 +0000)]
Optimize buffer-switch: do first updateLabels() on opening instead of at each buffer switching.

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

17 years ago po/de.po: tiny update
Michael Schmitt [Wed, 10 Jan 2007 21:54:04 +0000 (21:54 +0000)]
po/de.po: tiny update

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

17 years ago * po/*.po: remerge
Michael Schmitt [Wed, 10 Jan 2007 21:28:29 +0000 (21:28 +0000)]
* po/*.po: remerge

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

17 years agoAdd more precise comment
Georg Baum [Wed, 10 Jan 2007 21:06:09 +0000 (21:06 +0000)]
Add more precise comment

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

17 years agoremove obsolete comment
Georg Baum [Wed, 10 Jan 2007 20:59:32 +0000 (20:59 +0000)]
remove obsolete comment

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

17 years agoFix encoding problem when reading the latex log file
Enrico Forestieri [Wed, 10 Jan 2007 18:12:52 +0000 (18:12 +0000)]
Fix encoding problem when reading the latex log file

* src/LaTeX.C
(LaTeX::scanLogFile): use from_local8bit instead of from_utf8.

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

17 years agoFix another non-ascii filename related assertion
Enrico Forestieri [Wed, 10 Jan 2007 17:18:41 +0000 (17:18 +0000)]
Fix another non-ascii filename related assertion

* src/frontends/qt4/QErrorList.C
(QErrorList::update_contents): use from_utf8 instead of from_ascii.

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

17 years agofix cursor movements.
Abdelrazak Younes [Wed, 10 Jan 2007 10:59:18 +0000 (10:59 +0000)]
fix cursor movements.

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

17 years agoPartially revert changeset 16635.
Enrico Forestieri [Wed, 10 Jan 2007 04:24:36 +0000 (04:24 +0000)]
Partially revert changeset 16635.

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

17 years agoFix encoding of filenames in python scripts
Enrico Forestieri [Wed, 10 Jan 2007 03:42:06 +0000 (03:42 +0000)]
Fix encoding of filenames in python scripts

* lib/scripts/fig2pstex.py
* lib/scripts/fig2pdftex.py
* lib/scripts/fig_copy.py
* lib/scripts/fen2ascii.py:
convert filenames from utf8 to the default locale encoding.

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

17 years agoFix problem with non-ascii filenames in include inset
Enrico Forestieri [Wed, 10 Jan 2007 00:30:49 +0000 (00:30 +0000)]
Fix problem with non-ascii filenames in include inset

* src/insets/insetinclude.C
(InsetInclude::getScreenLabel): use from_utf8 instead of from_ascii

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

17 years agoMake the output of \inputencoding commands (and the change of output
Georg Baum [Tue, 9 Jan 2007 19:25:40 +0000 (19:25 +0000)]
Make the output of \inputencoding commands (and the change of output
encodings) more fine grained: From paragraph level to individual character
level. The inputenc package supports that since at least 2000.

* src/insets/insetbase.h
(latex): Document the differences between output to a string stream
and a file stream

* src/buffer.h
(writeLaTeXSource): ditto

* src/output_latex.h
(latexParagraphs): ditto
(switchEncoding): new function to change the encoding of a stream
(and output \inputencoding commands)

* src/paragraph_pimpl.C
(Paragraph::Pimpl::simpleTeXSpecialC): Adjust to latexWriteEndChanges
changes

* src/support/docstream.[Ch]
(setEncoding, operator<<): New stream modifier that changes the
encoding of file streams

* src/lyxfont.[Ch]
(LyXFont::latexWriteStartChanges): Change stream encoding if needed
(LyXFont::latexWriteEndChanges): Change stream encoding if needed

* src/lyxfont.h
(public:):

* src/paragraph.C
(Paragraph::simpleTeXOnePar): Adjust to latexWriteStartChanges and latexWriteEndChanges changes
(bool Paragraph::simpleTeXOnePar):
(bool Paragraph::simpleTeXOnePar):
(bool Paragraph::simpleTeXOnePar):
(bool Paragraph::simpleTeXOnePar):
(bool Paragraph::simpleTeXOnePar):

* src/output_latex.C
(TeXOnePar): Remove the ugly hack to for wencoding changes and use
switchEncoding instead. A nice side effect is that the old hack would
not work if the main language encoding is latin1 and a character
would be mapped to a cedilla in the "fake ucs4" encoding, because
iconv refuses to convert such a character to latin1, although it
exists in latin1 (it wants to attach it to a base character).

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

17 years agoAdd some documentation for findtexfile
Georg Baum [Tue, 9 Jan 2007 19:10:29 +0000 (19:10 +0000)]
Add some documentation for findtexfile

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

17 years agoBookmarks: change from LIFO to FIFO
Bo Peng [Tue, 9 Jan 2007 18:13:29 +0000 (18:13 +0000)]
Bookmarks: change from LIFO to FIFO

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

17 years agosmall optimization and code formatting.
Abdelrazak Younes [Tue, 9 Jan 2007 15:48:04 +0000 (15:48 +0000)]
small optimization and code formatting.

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

17 years agomore Sweave commands from Gregor Gorjanc
Georg Baum [Tue, 9 Jan 2007 08:38:17 +0000 (08:38 +0000)]
more Sweave commands from Gregor Gorjanc

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

17 years ago* status.15x: remove bogus report.
Jürgen Spitzmüller [Tue, 9 Jan 2007 07:12:20 +0000 (07:12 +0000)]
* status.15x: remove bogus report.

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

17 years ago* src/changes.C: two changes of type UNCHANGED are always equals
Michael Schmitt [Mon, 8 Jan 2007 23:28:41 +0000 (23:28 +0000)]
* src/changes.C: two changes of type UNCHANGED are always equals

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

17 years ago* lib/ui/stdmenus.inc: use marginally better shortcuts
Michael Schmitt [Mon, 8 Jan 2007 23:17:44 +0000 (23:17 +0000)]
* lib/ui/stdmenus.inc: use marginally better shortcuts

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

17 years ago* src/text.C: replace "[C]" by the more meaningful "[Change tracking]" and support...
Michael Schmitt [Mon, 8 Jan 2007 22:38:49 +0000 (22:38 +0000)]
* src/text.C: replace "[C]" by the more meaningful "[Change tracking]" and support localization

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

17 years ago* src/paragraph_pimpl.C:
Michael Schmitt [Mon, 8 Jan 2007 22:25:59 +0000 (22:25 +0000)]
* src/paragraph_pimpl.C:
* src/paragraph_pimpl.h: lookupChange(): return reference for performance optimization

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

17 years ago* src/paragraph.C:
Michael Schmitt [Mon, 8 Jan 2007 22:21:57 +0000 (22:21 +0000)]
* src/paragraph.C:
* src/paragraph.h: lookupChange(): return reference for performance optimization

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

17 years ago* lib/ui/stdmenus.inc: remove "paste " from "paste selection as xxx"
Michael Schmitt [Mon, 8 Jan 2007 22:00:43 +0000 (22:00 +0000)]
* lib/ui/stdmenus.inc: remove "paste " from "paste selection as xxx"

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

17 years agoUpdated
Uwe Stöhr [Mon, 8 Jan 2007 21:45:27 +0000 (21:45 +0000)]
Updated

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

17 years agoinclude tabulars and math in the "paste recent" stack
Georg Baum [Mon, 8 Jan 2007 18:40:37 +0000 (18:40 +0000)]
include tabulars and math in the "paste recent" stack

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

17 years agoFix enabling of LFUN_PRIMARY_SELECTION_PASTE: It was always disabled, because
Georg Baum [Mon, 8 Jan 2007 18:37:40 +0000 (18:37 +0000)]
Fix enabling of LFUN_PRIMARY_SELECTION_PASTE: It was always disabled, because
we don't set the selection with qApp->clipboard()->put().
Therefore we get the status of the internal selection from the cursor, and
the empty flag for fake selections is not needed anymore.

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

17 years ago* src/insets/insetcite.C (getNatbibLabel): correct check for citation key cache.
Jürgen Spitzmüller [Mon, 8 Jan 2007 17:38:39 +0000 (17:38 +0000)]
* src/insets/insetcite.C (getNatbibLabel): correct check for citation key cache.

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

17 years agoForgot this in revision 16606.
Abdelrazak Younes [Mon, 8 Jan 2007 15:51:43 +0000 (15:51 +0000)]
Forgot this in revision 16606.

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

17 years agoproperly inline inMathed() and inTexted().
Abdelrazak Younes [Mon, 8 Jan 2007 15:30:17 +0000 (15:30 +0000)]
properly inline inMathed() and inTexted().

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

17 years agoDelay bibfileCache first update up until it is used.
Abdelrazak Younes [Mon, 8 Jan 2007 13:36:01 +0000 (13:36 +0000)]
Delay bibfileCache first update up until it is used.

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

17 years ago* src/frontends/qt4/QGraphicsDialog.C:
Jürgen Spitzmüller [Mon, 8 Jan 2007 13:22:50 +0000 (13:22 +0000)]
* src/frontends/qt4/QGraphicsDialog.C:
- do not focus filename widget for already existing insets (bug 1663).

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

17 years ago * support/os_unix.C (canAutoOpen, autoOpenFile): on Mac OS X, use
Jean-Marc Lasgouttes [Mon, 8 Jan 2007 13:20:19 +0000 (13:20 +0000)]
* support/os_unix.C (canAutoOpen, autoOpenFile): on Mac OS X, use
the role kLSRolesAll for both edito and viewer, since it is what
the finder does.

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

17 years agosame performance fix as rev. 16600.
Abdelrazak Younes [Mon, 8 Jan 2007 11:42:20 +0000 (11:42 +0000)]
same performance fix as rev. 16600.

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

17 years agoperformance fix.
Abdelrazak Younes [Mon, 8 Jan 2007 11:35:55 +0000 (11:35 +0000)]
performance fix.

* InsetFloat::addToToc(): avoid a string copy, a map lookup and a TocItem construction. Don't complete the loop if item found.

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

17 years agoperformance fix, label updating have nothing to do with Buffer contents. 'updateLabel...
Abdelrazak Younes [Mon, 8 Jan 2007 11:15:50 +0000 (11:15 +0000)]
performance fix, label updating have nothing to do with Buffer contents. 'updateLabels()' is called in BufferView::setBuffer().

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

17 years agoperformance fix/cleanup.
Abdelrazak Younes [Mon, 8 Jan 2007 11:01:26 +0000 (11:01 +0000)]
performance fix/cleanup.

* LyXKeySym.h: replace global operator==() with pure virtual method.

* QLyXKeySym: new operator==() method.

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

17 years agoperformance fix.
Abdelrazak Younes [Mon, 8 Jan 2007 10:50:15 +0000 (10:50 +0000)]
performance fix.

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

17 years ago* status.15x: add new dialog bug (and look, I've learned my lesson!)
Jürgen Spitzmüller [Mon, 8 Jan 2007 09:14:38 +0000 (09:14 +0000)]
* status.15x: add new dialog bug (and look, I've learned my lesson!)

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

17 years agoFix rest of bug 3068.
Jürgen Spitzmüller [Mon, 8 Jan 2007 06:52:20 +0000 (06:52 +0000)]
Fix rest of bug 3068.

* src/frontends/qt4/QCitationDialog.[Ch]:
- implement KeyPressEvent, catch ESC key and clear params there as well

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

17 years agoUpdate
Enrico Forestieri [Mon, 8 Jan 2007 03:47:27 +0000 (03:47 +0000)]
Update

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

17 years agoFix problem with filename encoding in python script for graphics conversion
Enrico Forestieri [Mon, 8 Jan 2007 03:03:12 +0000 (03:03 +0000)]
Fix problem with filename encoding in python script for graphics conversion

* src/graphics/GraphicsConverter.C
(build_script): convert the input filename from utf8 to the default
locale encoding as it hopefully corresponds to the filesystem encoding.

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

17 years agoResolve compiler warning unused parameter nr in src/frontends/qt4/QPrefsDialog.C
Bo Peng [Sun, 7 Jan 2007 23:06:54 +0000 (23:06 +0000)]
Resolve compiler warning unused parameter nr in src/frontends/qt4/QPrefsDialog.C

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

17 years agolib/ui/stdmenus.inc: change 'Clipboard as xxx' to 'Plain Text as xxx'. I still think...
Bo Peng [Sun, 7 Jan 2007 22:52:04 +0000 (22:52 +0000)]
lib/ui/stdmenus.inc: change 'Clipboard as xxx' to 'Plain Text as xxx'. I still think we should remove 'Selection as xxx'.

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

17 years agoFix bug 3062, bookmark-goto x crashes lyx for invalid bookmark
Bo Peng [Sun, 7 Jan 2007 22:41:54 +0000 (22:41 +0000)]
Fix bug 3062, bookmark-goto x crashes lyx for invalid bookmark
* src/session.C: check validity of temp bookmark
* src/lyxfunc.C: check validity of bookmark in GOTO_BOOKMARK
* lib/bind/*.bind: remove shortcuts to bookmark-save 2/3/4/5

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

17 years agoAdd missing call to WorkArea::redraw(). Fix bug 3078
Abdelrazak Younes [Sun, 7 Jan 2007 22:01:50 +0000 (22:01 +0000)]
Add missing call to WorkArea::redraw(). Fix bug 3078

http://bugzilla.lyx.org/show_bug.cgi?id=3078

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

17 years agoDon't calculate outerfont twice
Georg Baum [Sun, 7 Jan 2007 19:06:48 +0000 (19:06 +0000)]
Don't calculate outerfont twice

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

17 years agoavoid unneeded stream flushes
Georg Baum [Sun, 7 Jan 2007 18:53:59 +0000 (18:53 +0000)]
avoid unneeded stream flushes

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

17 years agomore typos
Georg Baum [Sun, 7 Jan 2007 18:40:06 +0000 (18:40 +0000)]
more typos

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

17 years ago* src/changes.C:
Michael Schmitt [Sun, 7 Jan 2007 18:13:25 +0000 (18:13 +0000)]
* src/changes.C:
* src/changes.h: some speed optimizations as the result of profiling

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

17 years agohm ...
Jürgen Spitzmüller [Sun, 7 Jan 2007 18:01:36 +0000 (18:01 +0000)]
hm ...

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

17 years ago* src/frontends/qt4/ui/QGraphicsUi.ui:
Jürgen Spitzmüller [Sun, 7 Jan 2007 17:59:47 +0000 (17:59 +0000)]
* src/frontends/qt4/ui/QGraphicsUi.ui:
- fix initial tab.

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

17 years agoAdd some documentation
Georg Baum [Sun, 7 Jan 2007 17:58:36 +0000 (17:58 +0000)]
Add some documentation

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

17 years agofix typos
Georg Baum [Sun, 7 Jan 2007 17:54:26 +0000 (17:54 +0000)]
fix typos

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

17 years agoadd bug for the dialog experts, probably easy to fix.
Georg Baum [Sun, 7 Jan 2007 17:41:01 +0000 (17:41 +0000)]
add bug for the dialog experts, probably easy to fix.

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

17 years ago* status.15x: revert accidental encoding change AGAIN :-(
Jürgen Spitzmüller [Sun, 7 Jan 2007 16:59:23 +0000 (16:59 +0000)]
* status.15x: revert accidental encoding change AGAIN :-(

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

17 years ago* status.15x: update to the TOC issue.
Jürgen Spitzmüller [Sun, 7 Jan 2007 16:57:29 +0000 (16:57 +0000)]
* status.15x: update to the TOC issue.

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

17 years agoCorrectly enable/disable all paste lfuns
Georg Baum [Sun, 7 Jan 2007 16:43:38 +0000 (16:43 +0000)]
Correctly enable/disable all paste lfuns

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

17 years ago* src/frontends/qt4/QTocDialog.C (updateGui):
Jürgen Spitzmüller [Sun, 7 Jan 2007 16:39:35 +0000 (16:39 +0000)]
* src/frontends/qt4/QTocDialog.C (updateGui):
- disable depth slider when there's no content (prevents crash).

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

17 years agoFix bug 144: Support for noteedit
Georg Baum [Sun, 7 Jan 2007 15:56:41 +0000 (15:56 +0000)]
Fix bug 144: Support for noteedit

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

17 years agoAdd comment
Georg Baum [Sun, 7 Jan 2007 14:54:10 +0000 (14:54 +0000)]
Add comment

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

17 years agoTell X the selection status also after it is changed by the keyboard, since
Georg Baum [Sun, 7 Jan 2007 14:44:44 +0000 (14:44 +0000)]
Tell X the selection status also after it is changed by the keyboard, since
we got a consensus on this on the list.
Some calls of haveSelection are still missing, but we need to decide the
"persistent selection" question before those can be implemented properly.

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

17 years agoTOC dialog: fix scrollbar flickering when clicking on items
Peter Kümmel [Sun, 7 Jan 2007 13:13:40 +0000 (13:13 +0000)]
TOC dialog: fix scrollbar flickering when clicking on items

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

17 years ago* src/frontends/qt4/QBibtexDialog.C: sanitize button behaviour (bug 2895)
Jürgen Spitzmüller [Sun, 7 Jan 2007 12:46:37 +0000 (12:46 +0000)]
* src/frontends/qt4/QBibtexDialog.C: sanitize button behaviour (bug 2895)

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

17 years agofix: TOC dialog table content is not visible after clicking the combo box
Peter Kümmel [Sun, 7 Jan 2007 12:10:17 +0000 (12:10 +0000)]
fix: TOC dialog table content is not visible after clicking the combo box

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

17 years ago* src/text.C: fix endless loop in breakParagraph()
Michael Schmitt [Sun, 7 Jan 2007 12:01:26 +0000 (12:01 +0000)]
* src/text.C: fix endless loop in breakParagraph()

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

17 years ago* src/paragraph.C: hfillExpansion(): rewrite loop for better understanding
Michael Schmitt [Sun, 7 Jan 2007 10:42:10 +0000 (10:42 +0000)]
* src/paragraph.C: hfillExpansion(): rewrite loop for better understanding

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

17 years ago* src/paragraph.C: sanitize hfillExpansion()
Michael Schmitt [Sun, 7 Jan 2007 10:25:45 +0000 (10:25 +0000)]
* src/paragraph.C: sanitize hfillExpansion()

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

17 years ago* src/frontends/qt4/QCharacter.C:
Jürgen Spitzmüller [Sun, 7 Jan 2007 10:24:25 +0000 (10:24 +0000)]
* src/frontends/qt4/QCharacter.C:
* src/frontends/qt4/QDocumentDialog.C:
* src/frontends/qt4/QPrefsDialog.C:
- include some information on the resizing bug,

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

17 years ago* development/Win32/packaging/build_msvs_debug.bat: add new build script for debug...
Michael Schmitt [Sun, 7 Jan 2007 09:53:04 +0000 (09:53 +0000)]
* development/Win32/packaging/build_msvs_debug.bat: add new build script for debug mode & msvs project creation

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

17 years agoFix bug 3068.
Jürgen Spitzmüller [Sun, 7 Jan 2007 09:44:57 +0000 (09:44 +0000)]
Fix bug 3068.

* src/frontends/qt4/QCitationDialog.C:
- clear params on dialog closing
* src/frontends/qt4/QCitationDialog.[Ch]:
- implement CloseEvent

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

17 years ago* development/Win32/packaging/build_msvc.bat: return to start directory after compilation
Michael Schmitt [Sun, 7 Jan 2007 09:43:43 +0000 (09:43 +0000)]
* development/Win32/packaging/build_msvc.bat: return to start directory after compilation

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

17 years ago* status.15x: revert accidental encoding change.
Jürgen Spitzmüller [Sun, 7 Jan 2007 09:33:11 +0000 (09:33 +0000)]
* status.15x: revert accidental encoding change.

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

17 years ago* status.15x: update
Jürgen Spitzmüller [Sun, 7 Jan 2007 09:30:42 +0000 (09:30 +0000)]
* status.15x: update

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

17 years agoFix conversion of n-th roots to mathematica and octave syntax.
Enrico Forestieri [Sun, 7 Jan 2007 03:28:53 +0000 (03:28 +0000)]
Fix conversion of n-th roots to mathematica and octave syntax.

* src/mathed/MathExtern.C
(pipeThroughOctave): take into account that the output from octave
may contain ansi control sequences.

* src/mathed/InsetMathRoot.[Ch]
(InsetMathRoot::mathematica): new virtual method to output n-th
roots in mathematica syntax.

* src/mathed/InsetMathRoot.C
(InsetMathRoot::octave): octave has not a root() command.

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

17 years agoupdate comments.
Abdelrazak Younes [Sat, 6 Jan 2007 23:24:55 +0000 (23:24 +0000)]
update comments.

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

17 years ago* po/de.po: tiny update
Michael Schmitt [Sat, 6 Jan 2007 19:03:38 +0000 (19:03 +0000)]
* po/de.po: tiny update

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

17 years ago* src/frontends/qt4/ui/QCharacterUi.ui: fix resize problem
Michael Schmitt [Sat, 6 Jan 2007 18:48:27 +0000 (18:48 +0000)]
* src/frontends/qt4/ui/QCharacterUi.ui: fix resize problem

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

17 years ago * po/*.po: remerge
Michael Schmitt [Sat, 6 Jan 2007 16:52:27 +0000 (16:52 +0000)]
* po/*.po: remerge

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

17 years ago* po/Makefile.in.in: consider new *.inc files (former *.ui files)
Michael Schmitt [Sat, 6 Jan 2007 16:49:58 +0000 (16:49 +0000)]
* po/Makefile.in.in: consider new *.inc files (former *.ui files)

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

17 years agoFix thinko: default paste method for plain text
Georg Baum [Sat, 6 Jan 2007 15:33:07 +0000 (15:33 +0000)]
Fix thinko: default paste method for plain text

* src/lyxtext.h
* src/text3.C
(pasteString): Change argument to bool

* src/text3.C
(LyXText::dispatch): (LFUN_PASTE): Paste plain text as paragraphs,
not as lines
(LyXText::dispatch): Adjust to pasteString change

* lib/bind/cua.bind:
* lib/bind/sciword.bind:
* lib/bind/mac.bind: Move shortcuts from "clipboard-paste paragraph"
and "primary-selection-paste paragraph" to "primary-selection-paste"
and "clipboard-paste", since the "paragaph" versions are used in
LFUN_PASTE and middle-mouse-button paste. Now "primary-selection-paste"
has the same shortcut it always had, and "clipboard-paste" has the
shortcut that was originally assigned to
"primary-selection-paste paragraph".

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

17 years ago* lib/configure.py: change "MS Word (HTML)" to "HTML (MS Word)" as suggested by H...
Michael Schmitt [Sat, 6 Jan 2007 15:03:38 +0000 (15:03 +0000)]
* lib/configure.py: change "MS Word (HTML)" to "HTML (MS Word)" as suggested by H. Haase; fix a few typos ("a" => "an")

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

17 years ago* Status.15x: add graphics converter bug
Michael Schmitt [Sat, 6 Jan 2007 14:04:45 +0000 (14:04 +0000)]
* Status.15x: add graphics converter bug

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

17 years ago* lib/bind/cua.bind:
Michael Schmitt [Sat, 6 Jan 2007 13:56:58 +0000 (13:56 +0000)]
* lib/bind/cua.bind:
* lib/bind/mac.bind:
* lib/bind/sciword.bind: move the shortcut C-M-v from "primary-selection-paste" to "clipboard-paste paragraph"

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

17 years ago* lib/ui/stdmenus.inc:
Michael Schmitt [Sat, 6 Jan 2007 13:42:15 +0000 (13:42 +0000)]
* lib/ui/stdmenus.inc:
* lib/ui/stdmenus.ui: rename file in order not to confuse users
* lib/ui/stdtoolbars.inc:
* lib/ui/stdtoolbars.ui: rename file in order not to confuse users

* development/scons/scons_manifest.py:
* lib/doc/de_Customization.lyx:
* lib/Makefile.am:
* lib/ui/classic.ui:
* lib/ui/default.ui: adjust

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

17 years agonew bug
Georg Baum [Sat, 6 Jan 2007 11:41:56 +0000 (11:41 +0000)]
new bug

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

17 years ago* src/ParagraphMetrics.C: compile fix (missing include).
Jürgen Spitzmüller [Sat, 6 Jan 2007 11:12:24 +0000 (11:12 +0000)]
* src/ParagraphMetrics.C: compile fix (missing include).

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

17 years agofix compile error:
Georg Baum [Sat, 6 Jan 2007 10:08:48 +0000 (10:08 +0000)]
fix compile error:
../../../src/mathed/../ParagraphMetrics.h:76: error: extra qualification 'lyx::ParagraphMetrics::' on member 'calculateRowSignature'

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

17 years agoAdd ticks to the slider.
Abdelrazak Younes [Sat, 6 Jan 2007 09:40:36 +0000 (09:40 +0000)]
Add ticks to the slider.

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

17 years agoSafeguard: don't do things that could trigger a painting inside the resizeEvent().
Abdelrazak Younes [Sat, 6 Jan 2007 09:36:40 +0000 (09:36 +0000)]
Safeguard: don't do things that could trigger a painting inside the resizeEvent().

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

17 years agoThis commit fixes the singlePar optimization which was disabled due to the ParagraphM...
Abdelrazak Younes [Sat, 6 Jan 2007 09:15:59 +0000 (09:15 +0000)]
This commit fixes the singlePar optimization which was disabled due to the ParagraphMetrics cleanup.

* rowpainter.C::paintPar(): don't calculate row signature here. Use ParagraphMetrics::rowChangeStatus() instead.

* RowList_fwd.h: RowSignature is now a vector.

* ParagraphMetrics
  - rowChangeStatus(), updateRowChangeStatus(), calculateRowSignature(): new methods.
  - row_signature_: new member
  - rowSignature_: renamed to row_signature_

* TextMetrics::redoParagraph(): call ParagraphMetrics::updateRowChangeStatus()

* BufferView::updateMetrics(): simplify the singlePar case.

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

17 years agoINSTALL.Win32: add instructions for mingw + scons
Bo Peng [Fri, 5 Jan 2007 22:43:56 +0000 (22:43 +0000)]
INSTALL.Win32: add instructions for mingw + scons

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

17 years agosrc/support/unlink.C: Fix an #include error
Bo Peng [Fri, 5 Jan 2007 22:16:04 +0000 (22:16 +0000)]
src/support/unlink.C: Fix an #include error

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

17 years agoAbdel fixed a bug
Georg Baum [Fri, 5 Jan 2007 19:03:26 +0000 (19:03 +0000)]
Abdel fixed a bug

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

17 years agoScons: fix a mingw/scons bug (it is a scons bug)
Bo Peng [Fri, 5 Jan 2007 18:30:46 +0000 (18:30 +0000)]
Scons: fix a mingw/scons bug (it is a scons bug)

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

17 years agoFix bug 3067: Special column attributes can contain non-ascii characters,
Georg Baum [Fri, 5 Jan 2007 17:11:32 +0000 (17:11 +0000)]
Fix bug 3067: Special column attributes can contain non-ascii characters,
so store them in a docstring.

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

17 years agoThe bug-fix in revision 16531 introduced another bug. This is the right fix. I did...
Abdelrazak Younes [Fri, 5 Jan 2007 15:35:10 +0000 (15:35 +0000)]
The bug-fix in revision 16531 introduced another bug. This is the right fix. I did not understood correctly what was anchor_ref_.

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

17 years agoFix and document middle mouse button paste. This is probably the last of
Georg Baum [Fri, 5 Jan 2007 14:40:49 +0000 (14:40 +0000)]
Fix and document middle mouse button paste. This is probably the last of
the status quo fixes, I'll send a proposal how to proceed soon.

* src/CutAndPaste.[Ch]
(copySelection): Split into copySelection and copySelectionToStack

* src/text3.C
(LyXText::dispatch): Use copySelectionToStack instead of LFUN_COPY
to copy the selection to the cut buffer for two reasons:
- LFUN_COPY did not work (probably because bv.cursor() was not yet set)
- If it would work it would put the selection to the system clipboard
  which is clearly wrong.
Document why we put the selection to the stack.

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

17 years agoAbdel, get yourself a decent file system!
Georg Baum [Fri, 5 Jan 2007 14:38:53 +0000 (14:38 +0000)]
Abdel, get yourself a decent file system!

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

17 years agoFix screen update when deleting insets:
Abdelrazak Younes [Fri, 5 Jan 2007 14:31:59 +0000 (14:31 +0000)]
Fix screen update when deleting insets:

http://bugzilla.lyx.org/show_bug.cgi?id=3071

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

17 years agoThe uncontroversal part of the selection fix: Always set the X selection
Georg Baum [Fri, 5 Jan 2007 13:31:37 +0000 (13:31 +0000)]
The uncontroversal part of the selection fix: Always set the X selection
after selecting something with the mouse

* src/insets/insettabular.C
(InsetTabular::doDispatch): Set the X selection if there is a
selection after release of the left mouse button

* src/mathed/InsetMathNest.C
(InsetMathNest::doDispatch): Set the X selection after double and
triple click of the left mouse button
(InsetMathNest::lfunMouseRelease): Set the X selection if there is a
selection after release of the left mouse button

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