]> git.lyx.org Git - lyx.git/log
lyx.git
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

17 years agoFix bug bug 3064 and 3065:
Abdelrazak Younes [Fri, 5 Jan 2007 13:31:34 +0000 (13:31 +0000)]
Fix bug bug 3064 and 3065:
http://bugzilla.lyx.org/show_bug.cgi?id=3064
http://bugzilla.lyx.org/show_bug.cgi?id=3065

* LyXView::currentWorkArea(): new access methods.

* ControlSpellchecker::check(): add a WorkArea::redraw() call to update the screen

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

17 years agoDon't query cur.selection() twice
Georg Baum [Fri, 5 Jan 2007 13:23:43 +0000 (13:23 +0000)]
Don't query cur.selection() twice

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

17 years ago * src/frontends/qt4/GuiSelection.C
Georg Baum [Fri, 5 Jan 2007 10:32:07 +0000 (10:32 +0000)]
* src/frontends/qt4/GuiSelection.C
(GuiSelection::haveSelection): Add a big comment what we actually do
here, and why. It took me quite some time to figure that out.

* src/frontends/Selection.h
(haveSelection): Add more detailed documentation

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

17 years agoFix another selection bug
Georg Baum [Fri, 5 Jan 2007 10:11:21 +0000 (10:11 +0000)]
Fix another selection bug
* src/frontends/qt4/GuiApplication.C
(GuiApplication::x11EventFilter): Only send or clear the selection
if the X event specified the primary selection. Previously this was
also done if the event specified the clipboard. We must ignore that,
because the clipboard is completele handled by qt.

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

17 years agoClarify TOC bug information
Georg Baum [Fri, 5 Jan 2007 09:47:02 +0000 (09:47 +0000)]
Clarify TOC bug information

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

17 years ago * src/BufferView.C
Georg Baum [Fri, 5 Jan 2007 09:21:30 +0000 (09:21 +0000)]
* src/BufferView.C
(BufferView::clearSelection): Trigger a redraw so that the cleared
selection becomes visible

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

17 years agoScons: fix two mingw bugs
Bo Peng [Fri, 5 Jan 2007 06:29:18 +0000 (06:29 +0000)]
Scons: fix two mingw bugs

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

17 years ago* src/text.C: check end-of-par BEFORE you accept/reject the rest of the par (I fear...
Michael Schmitt [Thu, 4 Jan 2007 23:10:51 +0000 (23:10 +0000)]
* src/text.C: check end-of-par BEFORE you accept/reject the rest of the par (I fear this code has to rewritten later)

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

17 years ago* src/text.C: first step to sanitize accept/rejectChange
Michael Schmitt [Thu, 4 Jan 2007 23:02:37 +0000 (23:02 +0000)]
* src/text.C: first step to sanitize accept/rejectChange

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

17 years ago* src/dociterator.h: fix typo in comment
Michael Schmitt [Thu, 4 Jan 2007 22:01:43 +0000 (22:01 +0000)]
* src/dociterator.h: fix typo in comment

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

17 years agoadd Jose's TOC bug on FC6p
Peter Kümmel [Thu, 4 Jan 2007 20:34:00 +0000 (20:34 +0000)]
add Jose's TOC bug on FC6p

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

17 years ago* Status.15x: remove reports also listed in bugzilla; remove non-reproducible bug
Michael Schmitt [Thu, 4 Jan 2007 20:20:48 +0000 (20:20 +0000)]
* Status.15x: remove reports also listed in bugzilla; remove non-reproducible bug

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

17 years agoChange menu item 'Paste External Clipboard/Selection' to 'Paste Special'
Bo Peng [Thu, 4 Jan 2007 20:08:22 +0000 (20:08 +0000)]
Change menu item 'Paste External Clipboard/Selection' to 'Paste Special'

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

17 years agoadd Juergen's setup
Peter Kümmel [Thu, 4 Jan 2007 20:04:22 +0000 (20:04 +0000)]
add Juergen's setup

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

17 years ago* src/BufferView.C: fix typo in comment
Michael Schmitt [Thu, 4 Jan 2007 19:59:58 +0000 (19:59 +0000)]
* src/BufferView.C: fix typo in comment

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

17 years ago* src/frontends/qt4/QTocDialog.C: fix formatting of curly brackets
Michael Schmitt [Thu, 4 Jan 2007 19:52:41 +0000 (19:52 +0000)]
* src/frontends/qt4/QTocDialog.C: fix formatting of curly brackets

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

17 years agoundo partly 16444/16452
Peter Kümmel [Thu, 4 Jan 2007 19:46:03 +0000 (19:46 +0000)]
undo partly 16444/16452

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

17 years agoundo partly 16441
Peter Kümmel [Thu, 4 Jan 2007 19:44:49 +0000 (19:44 +0000)]
undo partly 16441

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

17 years agoMake the shortcuts work correctly with the mac.
Jean-Marc Lasgouttes [Thu, 4 Jan 2007 17:10:24 +0000 (17:10 +0000)]
Make the shortcuts work correctly with the mac.

* src/frontends/LyXKeySym.h:
* src/frontends/qt4/QLyXKeySym.h:
* src/frontends/qt4/QLyXKeySym.C (print): add a forgui boolean that
tells whether the string should used localized names and special
characters.

* src/MenuBackend.C (binding):
* src/kbmap.C (print):
* src/kbsequence.C (print, printOptions): add forgui parameter.

* src/frontends/qt4/QLPopupMenu.C (addBinding): use a non-localaized
binding for Qt/Mac (because it needs to be parsed back) and a
localized one for the others (so that it looks good).

* src/kbmap.C (defkey,printbindings):
* src/lyxfunc.C (processKeySym,dispatch,viewStatusMessage): adapt to
above changes.

* src/kbmap.C (printKey): remove.

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

17 years agoAdd some documentation. Yes I know that some functions are misnamed :-(
Georg Baum [Thu, 4 Jan 2007 16:50:03 +0000 (16:50 +0000)]
Add some documentation. Yes I know that some functions are misnamed :-(

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

17 years agoremove declaration of nonexisting function selPaste()
Georg Baum [Thu, 4 Jan 2007 16:07:47 +0000 (16:07 +0000)]
remove declaration of nonexisting function selPaste()

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

17 years agoremove declaration of nonexisting function selCut()
Georg Baum [Thu, 4 Jan 2007 16:04:50 +0000 (16:04 +0000)]
remove declaration of nonexisting function selCut()

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

17 years ago * src/frontends/qt4/GuiApplication.C
Georg Baum [Thu, 4 Jan 2007 15:36:29 +0000 (15:36 +0000)]
* src/frontends/qt4/GuiApplication.C
(GuiApplication::x11EventFilter): Small optimization: Do not request
the current BufferView if it is not used

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

17 years agoDon't test twice for selection()
Georg Baum [Thu, 4 Jan 2007 15:21:58 +0000 (15:21 +0000)]
Don't test twice for selection()

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

17 years agofix wrong commit.
Abdelrazak Younes [Thu, 4 Jan 2007 14:32:37 +0000 (14:32 +0000)]
fix wrong commit.

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

17 years agoreenable assertion
Georg Baum [Thu, 4 Jan 2007 14:28:22 +0000 (14:28 +0000)]
reenable assertion

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

17 years agocomment out assertion in order to compile without warning.
Abdelrazak Younes [Thu, 4 Jan 2007 14:13:30 +0000 (14:13 +0000)]
comment out assertion in order to compile without warning.

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

17 years ago * insetcollapsable.C (doDispatch): [LFUN_MOUSE_PRESS] reset selection
Jean-Marc Lasgouttes [Thu, 4 Jan 2007 13:53:16 +0000 (13:53 +0000)]
* insetcollapsable.C (doDispatch): [LFUN_MOUSE_PRESS] reset selection
when mouse is pressed on the inset button (bug 3060).

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

17 years agodelete unused variables.
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

17 years agoReorganize window resizing so that no painting occurs during a resizeEvent(). This...
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

17 years agoLet LFUN_PASTE always paste the most recent clipboard (internal or system)
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

17 years agoRemove isInternal() method. We don't use it and should not do so in the
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

17 years ago * GuiApplication.C (GuiApplication): make sure that the Qtranslator
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

17 years ago * src/insets/insettabular.C
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

17 years agoGet rid of InsetTabular::hasPasteBuffer. I verified that it was equivalent
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

17 years agoforgot the break
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

17 years ago * src/insets/insettabular.C
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

17 years ago * src/mathed/InsetMathNest.C
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

17 years ago * src/CutAndPaste.C
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

17 years agoremove double declaration of cutSelection
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

17 years agoremove obsolete comment
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

17 years agoformatting
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

17 years agoFix documentation of Selection::get(): The X selection protocol is asyncronous.
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

17 years agoFix crashes caused by invalid last_inset_ due to keyboard editing
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

17 years ago* src/frontends/qt4/QToc.C: fix formatting
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

17 years ago* src/frontends/qt4/QMathMatrixDialog.C:
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

17 years ago * po/*.po: remerge (only one new message)
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

17 years agochange LYX_USER_DIR_1[234]x to LYX_USER_DIR_15x
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

17 years agoGerman documentation update from Hartmut Haase
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

17 years ago * src/MenuBackend.[Ch]: the specialMenu is now a real menu, not a
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

17 years ago * bufferparams.C (writeLaTeX):
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

17 years agoPrepare for external/internal clipboard merging.
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

17 years agoFactorise external pasting code.
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