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

17 years ago* show symbol panels in proper size when detached from math panel (always layed out...
Edwin Leuven [Sun, 19 Nov 2006 17:12:33 +0000 (17:12 +0000)]
* show symbol panels in proper size when detached from math panel (always layed out in 5 cols)

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

17 years ago * Status.15x: add new bug reported by Peter
Michael Schmitt [Sun, 19 Nov 2006 16:59:47 +0000 (16:59 +0000)]
* Status.15x: add new bug reported by Peter

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

17 years agoDetect mode_t for safe use of chmod, and for scons/msvc
Bo Peng [Sun, 19 Nov 2006 13:58:39 +0000 (13:58 +0000)]
Detect mode_t for safe use of chmod, and for scons/msvc

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

17 years ago * po/*.po: remerge after fix for toolbar names
Michael Schmitt [Sun, 19 Nov 2006 13:40:39 +0000 (13:40 +0000)]
* po/*.po: remerge after fix for toolbar names

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

17 years ago * frontends/qt4/GuiWorkArea.C: make "unknown version" translateable
Michael Schmitt [Sun, 19 Nov 2006 13:35:16 +0000 (13:35 +0000)]
* frontends/qt4/GuiWorkArea.C: make "unknown version" translateable

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

17 years ago * po/Makefile.in.in: fix parsing of toolbar names
Michael Schmitt [Sun, 19 Nov 2006 13:33:18 +0000 (13:33 +0000)]
* po/Makefile.in.in: fix parsing of toolbar names
* po/POTFILES.in: update file list

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

17 years ago * insets/insetbase.h:
Michael Schmitt [Sun, 19 Nov 2006 12:43:22 +0000 (12:43 +0000)]
* insets/insetbase.h:
* buffer.C:
* LaTeX.C:
* frontends/qt4/ui/QPrefFileformatsUi.ui:
* MenuBackend.C: fix typo: "can not" => "cannot"

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

17 years ago * lib/tex/lyxchess.sty:
Michael Schmitt [Sun, 19 Nov 2006 12:40:06 +0000 (12:40 +0000)]
* lib/tex/lyxchess.sty:
* lib/doc/Customization.lyx:
* lib/doc/UserGuide.lyx:
* lib/examples/multicol.lyx: fix typo "can not" => "cannot"

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

17 years ago * po/cs.po: update by Pavel Sanda
Michael Schmitt [Sun, 19 Nov 2006 12:36:45 +0000 (12:36 +0000)]
* po/cs.po: update by Pavel Sanda

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

17 years ago * examples/cs_splash.lyx: update by Pavel Sanda
Michael Schmitt [Sun, 19 Nov 2006 12:35:26 +0000 (12:35 +0000)]
* examples/cs_splash.lyx: update by Pavel Sanda

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

17 years ago * doc/cs_Tutorial.lyx: update by Pavel Sanda
Michael Schmitt [Sun, 19 Nov 2006 12:34:08 +0000 (12:34 +0000)]
* doc/cs_Tutorial.lyx: update by Pavel Sanda

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

17 years ago * lib/lyx2lyx/lyx_1_4.py:
Michael Schmitt [Sun, 19 Nov 2006 12:32:38 +0000 (12:32 +0000)]
* lib/lyx2lyx/lyx_1_4.py:
* lib/examples/noweb2lyx.lyx: fix typo: "can not" => "cannot"

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

17 years agofirst try it on the Mac
Peter Kümmel [Sun, 19 Nov 2006 12:24:40 +0000 (12:24 +0000)]
first try it on the Mac

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

17 years agowe rely on Windows and maybe Linux on a Qt bug
Peter Kümmel [Sun, 19 Nov 2006 12:23:36 +0000 (12:23 +0000)]
we rely on Windows and maybe Linux on a Qt bug

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

17 years agocheck if theApp is valid
Peter Kümmel [Sun, 19 Nov 2006 11:10:04 +0000 (11:10 +0000)]
check if theApp is valid

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

17 years agohopefully fix tex2lyx linking.
Abdelrazak Younes [Sat, 18 Nov 2006 21:08:16 +0000 (21:08 +0000)]
hopefully fix tex2lyx linking.

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

17 years agoadd an extra blank
Bo Peng [Sat, 18 Nov 2006 20:47:53 +0000 (20:47 +0000)]
add an extra blank

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

17 years agoDisplay minibuffer with command-execute (M-x)
Bo Peng [Sat, 18 Nov 2006 20:38:41 +0000 (20:38 +0000)]
Display minibuffer with command-execute (M-x)

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

17 years agoadd comment about location of the implementation.
Abdelrazak Younes [Sat, 18 Nov 2006 20:28:18 +0000 (20:28 +0000)]
add comment about location of the implementation.

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

17 years agohopefully fix client linking.
Abdelrazak Younes [Sat, 18 Nov 2006 20:24:47 +0000 (20:24 +0000)]
hopefully fix client linking.

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

17 years ago* lyx_main.[Ch]
Abdelrazak Younes [Sat, 18 Nov 2006 17:47:12 +0000 (17:47 +0000)]
* lyx_main.[Ch]
  - merge exec() and priv_exec()
  - LyX constructor is now public.
  - there is no global singleton_ object anymore, only a pointer.
  - IconvProcessor(): new utf8 to ucs4 convertor.

* main.C: instantiate a LyX object and exec() it. No more use of static methods.

* docstring.C: use utf8ToUcs4() instead of a static variable.

* unicode.h: declare extern utf8ToUcs4().

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

17 years agoBug fixes from Ugras Baran:
Abdelrazak Younes [Sat, 18 Nov 2006 16:19:18 +0000 (16:19 +0000)]
Bug fixes from Ugras Baran:

when iconpalette detached from the math dialog, the iconpalette widget
width may become too large to fit to the screen.

when detached resized to a too small size, icons overlap.

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

17 years agoSplit FileName into FileName and DocFileName. FileName will be used for all
Georg Baum [Sat, 18 Nov 2006 12:49:47 +0000 (12:49 +0000)]
Split FileName into FileName and DocFileName. FileName will be used for all
file names, and DocFileName contains the special extensions for documents,
included figures etc.

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

17 years agoadd bug from Enrico
Georg Baum [Sat, 18 Nov 2006 11:38:11 +0000 (11:38 +0000)]
add bug from Enrico

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

17 years agoScons: adopt Georg's solution for tex2lyx/gettext
Bo Peng [Sat, 18 Nov 2006 03:04:42 +0000 (03:04 +0000)]
Scons: adopt Georg's solution for tex2lyx/gettext

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

17 years agoAvoid processing empty lines when reading the symbols file
Enrico Forestieri [Fri, 17 Nov 2006 20:43:49 +0000 (20:43 +0000)]
Avoid processing empty lines when reading the symbols file

* src/mathed/MathFactory.C
(initSymbols): skip a line when it is empty or a comment.

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

17 years agoDocument pasteParagraphList as hinted by Jean-Marc
Georg Baum [Fri, 17 Nov 2006 19:52:45 +0000 (19:52 +0000)]
Document pasteParagraphList as hinted by Jean-Marc

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

17 years agoAdd locale facet in order to input numbers from wide streams on systems
Enrico Forestieri [Fri, 17 Nov 2006 19:27:42 +0000 (19:27 +0000)]
Add locale facet in order to input numbers from wide streams on systems
where sizeof(wchar_t) == 2

* src/support/docstring.C:
- New class ascii_num_get_facet for inputting numbers from idocstreams.
- Add the ascii_num_get_facet facet to the locale initializer.

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

17 years agoOptimize drawing.
Abdelrazak Younes [Fri, 17 Nov 2006 17:42:52 +0000 (17:42 +0000)]
Optimize drawing.

* BufferView:
  - update(): returns a pair of bools in order to inform for singlePar cases.
  - workAreaDispatch(): ditto and simplify the logic by using cursor update flags.

* text.C
  - breakParagraph(): change the cursor update flag as needed.
  - insertChar(): ditto.
  - erase(): ditto
  - redoParagraph(): now returns true if there is a height change.

* text3.C: dispatch():
  - initialize the cursor flag at the beginning
  - LFUN_MOUSE_PRESS: no need to update.
  - LFUN_MOUSE_RELEASE: ditto.
  - add some FIXMEs and comments.

* LyXFunc::dispatch(): simplify the BufferView update.

* insets/insetcollapsable.C: clarify and simplify the logic in doDispatch().

* WorkArea::dispatch(): redraw only if needed.

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

17 years agoRevert change in rev. 15955 because as Georg says:
Abdelrazak Younes [Fri, 17 Nov 2006 17:28:14 +0000 (17:28 +0000)]
Revert change in rev. 15955 because as Georg says:

This fix will create extra translator work, and nobody will remmeber that
bformat should be used instead of your solution once the real problem is
fixed. If you use from_ascii instead of from_utf8 everything is OK. utf8
can be wrong as encoding for files anyway, so for now we require that files
are pure ascii.

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

17 years agoIncomplete TocDialog slider implementation from Ugras Baran.
Abdelrazak Younes [Fri, 17 Nov 2006 17:19:43 +0000 (17:19 +0000)]
Incomplete TocDialog slider implementation from Ugras Baran.

* QTocDialog::getIndexDepth(): new method.

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

17 years ago* docstring.C: add a FIXME in utf8_to_ucs4() WRT static IconvProcessor and Mac
Abdelrazak Younes [Fri, 17 Nov 2006 16:58:32 +0000 (16:58 +0000)]
* docstring.C: add a FIXME in utf8_to_ucs4() WRT static IconvProcessor and Mac

* lyx_main.C:
  - LyX::prepareExit(): avoid utf8_to_ucs4() conversion at this late stage because this can cause problem on Mac.

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

17 years agoFix Mac crash on exit.
Abdelrazak Younes [Fri, 17 Nov 2006 15:24:26 +0000 (15:24 +0000)]
Fix Mac crash on exit.

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

17 years agoFix bug 2393 (from Dov Feldstern)
Georg Baum [Fri, 17 Nov 2006 09:03:30 +0000 (09:03 +0000)]
Fix bug 2393 (from Dov Feldstern)
* src/lyxtext.h
* src/text.C
(LyXText::charsTranspose): New method for transposing characters

* src/text.C
(LyXText::dispatch): Call charsTranspose for LFUN_CHARS_TRANSPOSE

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

17 years agoadd more bugs
Georg Baum [Thu, 16 Nov 2006 15:18:28 +0000 (15:18 +0000)]
add more bugs

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

17 years agoBug fixes from Ugras Baran:
Abdelrazak Younes [Thu, 16 Nov 2006 12:37:55 +0000 (12:37 +0000)]
Bug fixes from Ugras Baran:

Following patch corrects some misbehavior in TOC dialog:

- When clicking on Toc insets, dialog switches to correct list.
- cursor goes to correct entry when clicked..
- some other fixes..

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

17 years agoPatch from Martin V.: Fix Undo/Redo bugs with outline.
Abdelrazak Younes [Thu, 16 Nov 2006 12:20:50 +0000 (12:20 +0000)]
Patch from Martin V.: Fix Undo/Redo bugs with outline.

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

17 years agoAdd button for default layout to the toolbar
Georg Baum [Thu, 16 Nov 2006 08:17:48 +0000 (08:17 +0000)]
Add button for default layout to the toolbar

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

17 years ago * po/*.po: remerge (also consider outdated po files)
Michael Schmitt [Wed, 15 Nov 2006 23:55:08 +0000 (23:55 +0000)]
* po/*.po: remerge (also consider outdated po files)

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

17 years ago * LINGUAS: do not ignore some po files for the time being
Michael Schmitt [Wed, 15 Nov 2006 23:41:24 +0000 (23:41 +0000)]
* LINGUAS: do not ignore some po files for the time being

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

17 years ago * QPrefsDialog.C: make static strings translateable
Michael Schmitt [Wed, 15 Nov 2006 23:37:26 +0000 (23:37 +0000)]
* QPrefsDialog.C: make static strings translateable

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

17 years agoBack to business
José Matox [Wed, 15 Nov 2006 23:34:04 +0000 (23:34 +0000)]
Back to business

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

17 years agoLyX-1.5.0alpha1 1.5.0alpha1
José Matox [Wed, 15 Nov 2006 23:15:19 +0000 (23:15 +0000)]
LyX-1.5.0alpha1

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

17 years agoRemove usage from egrep, cleaner code (Jean-Marc)
José Matox [Wed, 15 Nov 2006 23:10:24 +0000 (23:10 +0000)]
Remove usage from egrep, cleaner code (Jean-Marc)

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

17 years agoFix typo (fix by Jean-Marc).
José Matox [Wed, 15 Nov 2006 21:47:55 +0000 (21:47 +0000)]
Fix typo (fix by Jean-Marc).

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