]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoupdate from Marius Ionescu
Jean-Marc Lasgouttes [Wed, 29 Nov 2006 08:30:24 +0000 (08:30 +0000)]
update from Marius Ionescu

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

17 years agoStatus.15x: add bug for do not save unsaved file when lyx quits
Bo Peng [Wed, 29 Nov 2006 02:49:25 +0000 (02:49 +0000)]
Status.15x: add bug for do not save unsaved file when lyx quits

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

17 years agoSession: put all lyxerr output to lyxerr[Debug::INIT]
Bo Peng [Wed, 29 Nov 2006 02:34:52 +0000 (02:34 +0000)]
Session: put all lyxerr output to lyxerr[Debug::INIT]

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

17 years agoAdd a regression to Status.15x
Enrico Forestieri [Wed, 29 Nov 2006 00:25:24 +0000 (00:25 +0000)]
Add a regression to Status.15x

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

17 years agoDo not delete /tmp.
Georg Baum [Tue, 28 Nov 2006 20:04:16 +0000 (20:04 +0000)]
Do not delete /tmp.
Somebody should find a real fix.

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

17 years agoDocument the terminating '\0' in the num_get facet.
Enrico Forestieri [Tue, 28 Nov 2006 19:15:05 +0000 (19:15 +0000)]
Document the terminating '\0' in the num_get facet.

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

17 years ago* LyXText::cursorNext(): Fix crash with PageDown when the next paragraph is a math...
Abdelrazak Younes [Tue, 28 Nov 2006 17:24:44 +0000 (17:24 +0000)]
* LyXText::cursorNext(): Fix crash with PageDown when the next paragraph is a math inset bigger than the screen.
* LyXText::cursorPrevious(): Implement the same check for safety reason.

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

17 years ago* dimension.h: new operator!=() and operator=()
Abdelrazak Younes [Tue, 28 Nov 2006 15:15:49 +0000 (15:15 +0000)]
* dimension.h: new operator!=() and operator=()

* InsetBase and all derivates:
  - metrics(MetricsInfo & mi, Dimension & dim) now returns a bool (true if metrics changed).

* MathData and all derivates:
  - metrics(MetricsInfo & mi, Dimension & dim): ditto.

* RenderBase and all derivates:
  - metrics(MetricsInfo & mi, Dimension & dim): ditto.

* lyxtext.h/text.C:
  - LyXText::metrics(MetricsInfo & mi, Dimension & dim): ditto.
  - LyXText::redoParagraph(): take into account potential change in inset metrics.

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

17 years agoFix graphics rendering preview.
Abdelrazak Younes [Tue, 28 Nov 2006 12:51:50 +0000 (12:51 +0000)]
Fix graphics rendering preview.

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

17 years agoThe DVI view menu bug is not fixed. Add del /tmp bug.
Georg Baum [Tue, 28 Nov 2006 10:38:19 +0000 (10:38 +0000)]
The DVI view menu bug is not fixed. Add del /tmp bug.

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

17 years agoUpdates from Bennett and myself.
Abdelrazak Younes [Tue, 28 Nov 2006 10:16:45 +0000 (10:16 +0000)]
Updates from Bennett and myself.

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

17 years agodocument not working non-ascii filenames
Georg Baum [Tue, 28 Nov 2006 08:45:12 +0000 (08:45 +0000)]
document not working non-ascii filenames

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

17 years agoWas forgetting this
Enrico Forestieri [Tue, 28 Nov 2006 00:24:18 +0000 (00:24 +0000)]
Was forgetting this

* src/support/docstring.C
(do_get): terminate the string before using it.

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

17 years agofix wrong toolbar icon size, default value is
Peter Kümmel [Mon, 27 Nov 2006 23:35:43 +0000 (23:35 +0000)]
fix wrong toolbar icon size, default value is
in lyx_main.C. Size will be stored in the session
file.

*      src/lyx_main.C              : default value
*      src/frontends/Application.h : restore also icon size
*      src/frontends/LyXView.h     :        "
*      src/frontends/qt4/GuiView.h :        "
*      src/frontends/qt4/GuiView.C :        "
*      src/frontends/Application.C :        "

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

17 years agosupport for direct debug output
Joost Verburg [Mon, 27 Nov 2006 22:56:15 +0000 (22:56 +0000)]
support for direct debug output

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

17 years agoifpdf update and small grammar and spelling fixes by John C. McCabe-Dansted
Georg Baum [Mon, 27 Nov 2006 18:15:00 +0000 (18:15 +0000)]
ifpdf update and small grammar and spelling fixes by John C. McCabe-Dansted

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

17 years agofix typo
Georg Baum [Mon, 27 Nov 2006 18:11:11 +0000 (18:11 +0000)]
fix typo

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

17 years agoFix crash in brutefind2() when the inset was not in the coordcache.
Abdelrazak Younes [Mon, 27 Nov 2006 16:40:03 +0000 (16:40 +0000)]
Fix crash in brutefind2() when the inset was not in the coordcache.

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

17 years agoGPL Ghostscript
Joost Verburg [Mon, 27 Nov 2006 16:23:44 +0000 (16:23 +0000)]
GPL Ghostscript

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

17 years agodocument flag for PDF
Joost Verburg [Mon, 27 Nov 2006 16:02:50 +0000 (16:02 +0000)]
document flag for PDF

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

17 years ago* src/insets/insettabular.C (doDispatch): do not reset cursor/selection
Jürgen Spitzmüller [Mon, 27 Nov 2006 14:51:09 +0000 (14:51 +0000)]
* src/insets/insettabular.C (doDispatch): do not reset cursor/selection
if we have selected some cells (bug 2715).

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

17 years agoFix screen updates with arrow key navigation.
Abdelrazak Younes [Mon, 27 Nov 2006 12:49:28 +0000 (12:49 +0000)]
Fix screen updates with arrow key navigation.

* text2.C
  - LyXText::cursorUp(): ensure that BufferView::FitCursor() is tested.
  - LyXText::cursorDown(): ditto
  - LyXText::cursorRight(): ditto
  - LyXText::cursorLeft(): ditto

* text3.C
  - LyXText::dispatch(): add FIXME and ensure that update flag is at least equal to FitCursor.

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

17 years agoEditing Optimization.
Abdelrazak Younes [Mon, 27 Nov 2006 10:49:24 +0000 (10:49 +0000)]
Editing Optimization.

This commits improves considerably math editing in Windows and solves one crash when viewing the moebius figure in UserGuide.lyx.

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

17 years agoImprove the num_get locale facet
Enrico Forestieri [Mon, 27 Nov 2006 01:52:26 +0000 (01:52 +0000)]
Improve the num_get locale facet

* src/support/docstring.C
(do_get): use reserve() and the += operator in order to
avoid a possible buffer overrun.

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

17 years agoNext step of true unicode filenames: Use support::FileName instead of
Georg Baum [Sun, 26 Nov 2006 21:30:39 +0000 (21:30 +0000)]
Next step of true unicode filenames: Use support::FileName instead of
std::string at many places (not all yet).

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

17 years ago* BufferList: new begin() and end() methods.
Abdelrazak Younes [Sun, 26 Nov 2006 16:39:39 +0000 (16:39 +0000)]
* BufferList: new begin() and end() methods.

* LyX::exec(): in non-GUI mode, execute batch commands on all buffers.

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

17 years ago * po/de.po: tiny update
Michael Schmitt [Sun, 26 Nov 2006 16:27:39 +0000 (16:27 +0000)]
* po/de.po: tiny update

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

17 years ago* BufferList::last(): new method returning last loaded Buffer if any.
Abdelrazak Younes [Sun, 26 Nov 2006 15:47:45 +0000 (15:47 +0000)]
* BufferList::last(): new method returning last loaded Buffer if any.

* LyX::exec(): fix batch export in non GUI mode.

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

17 years ago* LyXFunc::getStatus(): make it work in non-gui mode.
Abdelrazak Younes [Sun, 26 Nov 2006 15:46:02 +0000 (15:46 +0000)]
* LyXFunc::getStatus(): make it work in non-gui mode.

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

17 years ago * src/text.C: partial fixes to acceptChange() and
Michael Schmitt [Sun, 26 Nov 2006 14:49:35 +0000 (14:49 +0000)]
* src/text.C: partial fixes to acceptChange() and
rejectChange(); end-of-par characters are not considered
for the time being

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

17 years ago * ui/BulletsUi.ui: add missing shortcut
Michael Schmitt [Sun, 26 Nov 2006 14:44:38 +0000 (14:44 +0000)]
* ui/BulletsUi.ui: add missing shortcut

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

17 years ago * po/de.po: update
Michael Schmitt [Sun, 26 Nov 2006 13:55:19 +0000 (13:55 +0000)]
* po/de.po: update

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

17 years ago * po/tr.po: update by Gürer Özen
Michael Schmitt [Sun, 26 Nov 2006 13:40:41 +0000 (13:40 +0000)]
* po/tr.po: update by Gürer Özen

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

17 years ago * src/paragraph_funcs.C: remove FIXMEs for change tracking
Michael Schmitt [Sun, 26 Nov 2006 13:35:11 +0000 (13:35 +0000)]
* src/paragraph_funcs.C: remove FIXMEs for change tracking
(everything was fine); output lyxerr debug message

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

17 years ago * src/text.C: remove empty namespace; fix change tracking
Michael Schmitt [Sun, 26 Nov 2006 11:53:33 +0000 (11:53 +0000)]
* src/text.C: remove empty namespace; fix change tracking
in breakParagraph()

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

17 years ago * Status.15x: one more CT bug
Michael Schmitt [Sun, 26 Nov 2006 11:23:38 +0000 (11:23 +0000)]
* Status.15x: one more CT bug

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

17 years ago * src/paragraph_funcs.C: fix end-of-par handling in
Michael Schmitt [Sun, 26 Nov 2006 11:14:16 +0000 (11:14 +0000)]
* src/paragraph_funcs.C: fix end-of-par handling in
breakParagraph(); remove ancient comment on user-friendly
layout handling

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

17 years ago * Status.15x: add report on END_LABEL_*
Michael Schmitt [Sun, 26 Nov 2006 11:05:11 +0000 (11:05 +0000)]
* Status.15x: add report on END_LABEL_*

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

17 years ago * src/Status.15x: mark 3 bugs as fixed
Michael Schmitt [Sun, 26 Nov 2006 10:54:08 +0000 (10:54 +0000)]
* src/Status.15x: mark 3 bugs as fixed

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

17 years ago * src/GuiApplication.C: add missing include
Michael Schmitt [Sun, 26 Nov 2006 10:32:42 +0000 (10:32 +0000)]
* src/GuiApplication.C: add missing include

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

17 years ago * src/changes.C: remove obsolete check for empty table
Michael Schmitt [Sun, 26 Nov 2006 10:28:55 +0000 (10:28 +0000)]
* src/changes.C: remove obsolete check for empty table

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

17 years ago * Status.15x: clean up document; add all known change tracking problems
Michael Schmitt [Sun, 26 Nov 2006 09:57:49 +0000 (09:57 +0000)]
* Status.15x: clean up document; add all known change tracking problems

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

17 years ago* lyx_main.[Ch]
Abdelrazak Younes [Sun, 26 Nov 2006 02:18:32 +0000 (02:18 +0000)]
* lyx_main.[Ch]
  - execBatchCommands(): split in loadFiles() and execBatchCommands().
  - exec(): enable batch command to be processed from GUI.

* Application:
  - start(): deleted.

* GuiApplication:
  - execBatchCommands(): new method

* GuiWorkArea::update(): call viewport()->repaint() instead of viewport()->update(), this enable to update the screen immediately when asked by a batch command.

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

17 years ago * src/text.C: fix dissolve-inset when pressing
Michael Schmitt [Sun, 26 Nov 2006 00:04:25 +0000 (00:04 +0000)]
* src/text.C: fix dissolve-inset when pressing
erase at the end of the inset

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

17 years ago * src/text.C: remove FIXME because inset-dissolve works!
Michael Schmitt [Sat, 25 Nov 2006 23:30:58 +0000 (23:30 +0000)]
* src/text.C: remove FIXME because inset-dissolve works!
use const_iterator to access paragraph insetlist; add
FIXME in accept/rejectChange

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

17 years ago * src/CutAndPaste.C: use const_iterator to access paragraph insetlist
Michael Schmitt [Sat, 25 Nov 2006 23:22:34 +0000 (23:22 +0000)]
* src/CutAndPaste.C: use const_iterator to access paragraph insetlist

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

17 years ago * src/paragraph_funcs.C: moveItem() now really moves
Michael Schmitt [Sat, 25 Nov 2006 23:02:10 +0000 (23:02 +0000)]
* src/paragraph_funcs.C: moveItem() now really moves
items (instead of corrupting the source); adjust
calls to moveItem(); clean up breakParagraphConservative()
with regards to change tracking

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

17 years agoRemove key event pruning code. This has always been disabled without anyone complaining.
Abdelrazak Younes [Sat, 25 Nov 2006 22:35:09 +0000 (22:35 +0000)]
Remove key event pruning code. This has always been disabled without anyone complaining.

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

17 years agoToc Slider fixes from Ugras Baran.
Abdelrazak Younes [Sat, 25 Nov 2006 22:16:22 +0000 (22:16 +0000)]
Toc Slider fixes from Ugras Baran.

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

17 years agosimplify exit code, old code doesn't work on the Mac
Peter Kümmel [Sat, 25 Nov 2006 21:24:04 +0000 (21:24 +0000)]
simplify exit code, old code doesn't work on the Mac

* lyxfunc.C                         : rename unused LFUN_LYX_QUIT parameter
* frontends/qt4/GuiImplementation.C : call LFUN_LYX_QUIT when last window closed
* frontends/qt4/GuiWorkArea.C       : check theApp, add debug case
* frontends/qt4/GuiApplication.C    : remove quitLyX()
* frontends/qt4/GuiApplication.h    : remove quitLyX()
* frontends/qt4/GuiView.C           : hide() widow fore exiting to prevent crash

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

17 years ago * po/cs.po:
Michael Schmitt [Sat, 25 Nov 2006 17:29:45 +0000 (17:29 +0000)]
* po/cs.po:
* po/pl.po:
* po/he.po: something went wrong during the last remerge

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

17 years ago * po/*.po: remerge files
Michael Schmitt [Sat, 25 Nov 2006 17:18:01 +0000 (17:18 +0000)]
* po/*.po: remerge files

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

17 years ago * po/POTFILES.in: update
Michael Schmitt [Sat, 25 Nov 2006 17:13:49 +0000 (17:13 +0000)]
* po/POTFILES.in: update

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

17 years ago * lib/ui/stdmenus.ui: change "Special Formatting" to
Michael Schmitt [Sat, 25 Nov 2006 17:03:30 +0000 (17:03 +0000)]
* lib/ui/stdmenus.ui: change "Special Formatting" to
"Formatting" as suggested by John Levon; add shortcuts
for clear (double) page; add separator between line
break commands and page break commands

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

17 years ago * src/insets/insetpagebreak.C:
Michael Schmitt [Sat, 25 Nov 2006 16:52:09 +0000 (16:52 +0000)]
* src/insets/insetpagebreak.C:
* src/insets/insetpagebreak.h: fix localization

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

17 years agomissing bits of the new insets for \clearpage and \cleardoublepage
Georg Baum [Sat, 25 Nov 2006 15:57:27 +0000 (15:57 +0000)]
missing bits of the new insets for \clearpage and \cleardoublepage

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

17 years agoAdd inset clearpage and cleardoublepage, from Urgas
Bo Peng [Sat, 25 Nov 2006 15:09:01 +0000 (15:09 +0000)]
Add inset clearpage and cleardoublepage, from Urgas
* src/insets/insetert.C
* src/text3.C
* src/lfuns.h
* src/factory.C
* src/tex2lyx/text.C
* src/text.C
* src/LyXAction.C: add and handle LFUN_CLEARPAGE_INSET and LFUN_CLEARDOUBLEPAGE_INSET
* src/insets/insetpagebreak.h/C: extend InsetPageBreak
* lib/lyx2lyx/lyx_1_5.py: file format change
* lib/ui/stdmenus.ui: add menu items

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

17 years agoUpdates.
Abdelrazak Younes [Sat, 25 Nov 2006 08:50:28 +0000 (08:50 +0000)]
Updates.

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

17 years ago * src/text.C: fix change tracking for backspace
Michael Schmitt [Sat, 25 Nov 2006 00:31:44 +0000 (00:31 +0000)]
* src/text.C: fix change tracking for backspace

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

17 years ago * src/text3.C:
Michael Schmitt [Fri, 24 Nov 2006 23:01:24 +0000 (23:01 +0000)]
* src/text3.C:
* src/BufferView.C: add comments on why several
change tracking-related LFUNs are always enabled

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

17 years ago * src/lyxtext.h: the use of backspacePos0 is dangerous as it
Michael Schmitt [Fri, 24 Nov 2006 22:26:22 +0000 (22:26 +0000)]
* src/lyxtext.h: the use of backspacePos0 is dangerous as it
does not honour change tracking => make it a private method;
clarify the description of backspacePos0 (it does not always
merge paragraphs)

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

17 years ago * src/rowpainter.C: fix compiler warnings; remove obsolete using statement
Michael Schmitt [Fri, 24 Nov 2006 22:18:41 +0000 (22:18 +0000)]
* src/rowpainter.C: fix compiler warnings; remove obsolete using statement

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

17 years ago * src/text.C: fix end-of-par handling (change tracking);
Michael Schmitt [Fri, 24 Nov 2006 22:12:04 +0000 (22:12 +0000)]
* src/text.C: fix end-of-par handling (change tracking);
remove blank lines; add {} around else branch

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

17 years ago * src/CutAndPaste.C: simplify code by making use of
Michael Schmitt [Fri, 24 Nov 2006 21:22:57 +0000 (21:22 +0000)]
* src/CutAndPaste.C: simplify code by making use of
Paragraph::isMergedOnEndOfParDeletion()

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

17 years ago * src/paragraph.C:
Michael Schmitt [Fri, 24 Nov 2006 21:16:46 +0000 (21:16 +0000)]
* src/paragraph.C:
* src/paragraph.h:
* src/paragraph_pimpl.C:
* src/paragraph_pimpl.h: add method isMergedOnEndOfParDeletion()

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

17 years agoupdate to cmake 2.4.4
Peter Kümmel [Fri, 24 Nov 2006 15:10:16 +0000 (15:10 +0000)]
update to cmake 2.4.4

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

17 years ago* LyX::exec():
Abdelrazak Younes [Fri, 24 Nov 2006 11:18:56 +0000 (11:18 +0000)]
* LyX::exec():
  In use_gui mode, call execBatchCommand() after createApplication(). This enable to let the frontend parse the command line.

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

17 years ago * languages: use nb_NO instead of no_NO for norwegian (bug 2850).
Jean-Marc Lasgouttes [Fri, 24 Nov 2006 10:57:16 +0000 (10:57 +0000)]
* languages: use nb_NO instead of no_NO for norwegian (bug 2850).

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

17 years agoFix compatibility to autoconf 2.60
Enrico Forestieri [Fri, 24 Nov 2006 01:14:26 +0000 (01:14 +0000)]
Fix compatibility to autoconf 2.60

* configure.ac:
Fix up expansion of ${prefix} in ${pkgdatadir}.

* autogen.sh:
Allow using autoconf 2.60 and 2.60a.

* intl/Makefile.in:
* po/Makefile.in.in:
Add datarootdir definition.

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

17 years ago * src/text.C: remove change tracking FIXME
Michael Schmitt [Thu, 23 Nov 2006 22:37:09 +0000 (22:37 +0000)]
* src/text.C: remove change tracking FIXME

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

17 years ago * src/CutAndPaste.C: fix end-of-par handling when
Michael Schmitt [Thu, 23 Nov 2006 22:20:38 +0000 (22:20 +0000)]
* src/CutAndPaste.C: fix end-of-par handling when
erase a selection

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

17 years ago * src/CutAndPaste.C: white spaces only
Michael Schmitt [Thu, 23 Nov 2006 21:46:39 +0000 (21:46 +0000)]
* src/CutAndPaste.C: white spaces only

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

17 years ago * insets/inset.h:
Michael Schmitt [Thu, 23 Nov 2006 18:59:05 +0000 (18:59 +0000)]
* insets/inset.h:
* rowpainter.C: visualize deleted/inserted end-of-par characters (change tracking)

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

17 years agoINSTALL.Win32 changes from Uwe
Bo Peng [Thu, 23 Nov 2006 17:06:14 +0000 (17:06 +0000)]
INSTALL.Win32 changes from Uwe

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

17 years agoDon't crash anymore if an .ui file contains unicode labels
Georg Baum [Thu, 23 Nov 2006 16:31:48 +0000 (16:31 +0000)]
Don't crash anymore if an .ui file contains unicode labels
* src/gettext.[Ch]
(translateIfPossible): new function to translate stuff that might
already be in the native language

* src/MenuBackend.C
(Menu::read): Use translateIfPossible for item names and submenu
labels, since the user may have already entered them in his native
language into the .ui file

* src/ToolbarBackend.C
(ToolbarBackend::read): do the same with the tooltip

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

17 years agoFix MacOS crash on startus
Abdelrazak Younes [Thu, 23 Nov 2006 15:18:09 +0000 (15:18 +0000)]
Fix MacOS crash on startus

* LyX::execBatchCommands(): allow any extra argument unknown to the core to be passed out to the frontend.

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

17 years ago * src/session.C: robustify session::read (lyx will start with corrupted session...
Bo Peng [Wed, 22 Nov 2006 21:00:14 +0000 (21:00 +0000)]
* src/session.C: robustify session::read (lyx will start with corrupted session file)

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

17 years agoAdd UpdateFlags.h to the build systems.
Georg Baum [Wed, 22 Nov 2006 20:13:02 +0000 (20:13 +0000)]
Add UpdateFlags.h to the build systems.
Add licence info to UpdateFlags.h.
Note to the author of UpdateFlags.h: Please fix the author information,
I don't know who wrote this file because not everybody used his own account.

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

17 years ago* InsetMathNest::lfunMouseRelease(): keep the optimization only if there is no select...
Abdelrazak Younes [Wed, 22 Nov 2006 14:45:33 +0000 (14:45 +0000)]
* InsetMathNest::lfunMouseRelease(): keep the optimization only if there is no selection. This allows to shorten the time when the cursor is initially set at the beginning of the math inset.

* InsetMathNest::lfunMousePress(): Disable optimization introduced in revision 16006. This is because we need the box corners when navigating inside formulas.

* InsetMathNest::doDispatch(): ditto.

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

17 years agocomment clarification.
Abdelrazak Younes [Wed, 22 Nov 2006 14:37:18 +0000 (14:37 +0000)]
comment clarification.

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

17 years agoavoid one string copy by s/from_utf8(lex.getString())/lex.getDocString()/
Georg Baum [Wed, 22 Nov 2006 09:15:38 +0000 (09:15 +0000)]
avoid one string copy by s/from_utf8(lex.getString())/lex.getDocString()/

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

17 years agoINSTALL.Win32: more instructions on setting environmental variables
Bo Peng [Wed, 22 Nov 2006 04:13:46 +0000 (04:13 +0000)]
INSTALL.Win32: more instructions on setting environmental variables

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

17 years ago* clean layout of font panel in document dialog
Edwin Leuven [Tue, 21 Nov 2006 20:40:42 +0000 (20:40 +0000)]
* clean layout of font panel in document dialog

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

17 years ago* BufferView::update(): handle the special case Flag == FitCursor.
Abdelrazak Younes [Tue, 21 Nov 2006 16:58:45 +0000 (16:58 +0000)]
* BufferView::update(): handle the special case Flag == FitCursor.

* InsetMathNest.C: adjust update flags in order to avoid unneeded screen redrawing.

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

17 years agoSome documentation on how the MVC separation is achieved in LyX.
Abdelrazak Younes [Tue, 21 Nov 2006 10:37:52 +0000 (10:37 +0000)]
Some documentation on how the MVC separation is achieved in LyX.

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

17 years ago* allow resizing of detached panel
Edwin Leuven [Tue, 21 Nov 2006 09:06:12 +0000 (09:06 +0000)]
* allow resizing of detached panel
* FlowLayout comes from:
http://doc.trolltech.com/4.1/layouts-flowlayout.html

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

17 years agoAdd some comments WRT to painting strategy.
Abdelrazak Younes [Tue, 21 Nov 2006 09:04:54 +0000 (09:04 +0000)]
Add some comments WRT to painting strategy.

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

17 years ago * text.C (erase): when deleting a text inset in change-tracking
Jean-Marc Lasgouttes [Mon, 20 Nov 2006 18:47:27 +0000 (18:47 +0000)]
* text.C (erase): when deleting a text inset in change-tracking
mode, make the cursor jump over it; avoid crash in setCursorIntern
by using the right LyXText.

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

17 years agoScons: set uic parameter -tr lyx::qt_ properly
Bo Peng [Mon, 20 Nov 2006 17:26:26 +0000 (17:26 +0000)]
Scons: set uic parameter -tr lyx::qt_ properly

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

17 years agoFix full screen repaint on Buffer-load.
Abdelrazak Younes [Mon, 20 Nov 2006 17:10:44 +0000 (17:10 +0000)]
Fix full screen repaint on Buffer-load.

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

17 years agoFix crash when closing the last buffer and add a FIXME.
Abdelrazak Younes [Mon, 20 Nov 2006 16:43:36 +0000 (16:43 +0000)]
Fix crash when closing the last buffer and add a FIXME.

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

17 years ago* Status.15x: updates.
Abdelrazak Younes [Mon, 20 Nov 2006 14:42:18 +0000 (14:42 +0000)]
* Status.15x: updates.

* buffer.h: changed() signal do not have an argument now.

* BufferView.C:
  - setBuffer(): changed update() call to updateMetrics().
  - update(): sanitize how the flags are used.
  - scrollDocView():  add a call to updateMetrics() at the end.

* LyXFunc::dispatch(): adjust changed() signal emission.

* LyXText/text3.C:
  - cursorPrevious(): delete BufferView::update call; adjust cursor flag.
  - cursorNext(): ditto.

* frontends/LyXView.C: adjust Buffer::changed() signal connection.

* frontends/WorkArea.[Ch]:
  - redraw(): no need to re-update the metrics if we don't change views.

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

17 years ago * MathMacroArgument.C (MathMacroArgument): do not use convert<> since
Jean-Marc Lasgouttes [Mon, 20 Nov 2006 14:07:30 +0000 (14:07 +0000)]
* MathMacroArgument.C (MathMacroArgument): do not use convert<> since
it may be too slow.

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

17 years agodefine HAVE_MODE_T if the compiler supports the mode_t type.
Georg Baum [Mon, 20 Nov 2006 09:12:09 +0000 (09:12 +0000)]
define HAVE_MODE_T if the compiler supports the mode_t type.
This repairs lyx::support::chmod().

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

17 years agoINSTALL.Win32, clarify how to run build_msvc.bat
Bo Peng [Sun, 19 Nov 2006 23:41:14 +0000 (23:41 +0000)]
INSTALL.Win32, clarify how to run build_msvc.bat

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

17 years agodefine HAVE_MODE_T always with HAVE_CHMOD, don't test until it is necessary
Peter Kümmel [Sun, 19 Nov 2006 19:58:48 +0000 (19:58 +0000)]
define HAVE_MODE_T always with HAVE_CHMOD, don't test until it is necessary

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

17 years ago* repair broken layout
Edwin Leuven [Sun, 19 Nov 2006 19:43:36 +0000 (19:43 +0000)]
* repair broken layout

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

17 years ago * Status.15x: inset-dissolve doesn't consider change tracking
Michael Schmitt [Sun, 19 Nov 2006 18:36:23 +0000 (18:36 +0000)]
* Status.15x: inset-dissolve doesn't consider change tracking

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

17 years agoBUG 686: delete empty math box with delete/backspace key
Bo Peng [Sun, 19 Nov 2006 18:33:13 +0000 (18:33 +0000)]
BUG 686: delete empty math box with delete/backspace key
* src/cursor.C: remove nested empty math box
* src/mathed/InsetMathNest.C: remove the whole empty math box if it
  can not be deleted from within

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

17 years ago * Status.15x: add showstopper
Michael Schmitt [Sun, 19 Nov 2006 18:26:54 +0000 (18:26 +0000)]
* Status.15x: add showstopper

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