]>
git.lyx.org Git - lyx.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Georg Baum [Wed, 15 Nov 2006 21:40:46 +0000 (21:40 +0000)]
Fix crashes reported by Bennet Helm and Kornel Benko
* src/support/unicode.[Ch]
(IconvProcessor): Rework the implementation to fix two bugs:
- iconv_close was called even if the conversion descriptor was
invalid
- The compiler generated copy constructor did simply copy the pimpl_
pointer. Therefore pimpl_ was deleted twice for all IconvProcessor
instances created by eightbit_to_ucs4() and ucs4_to_eightbit().
This is solved by using a scoped_ptr for pimpl_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15937
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Wed, 15 Nov 2006 18:39:20 +0000 (18:39 +0000)]
fix pch error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15936
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Wed, 15 Nov 2006 18:01:44 +0000 (18:01 +0000)]
disable scrollbar when not needed, this patch is totally uncritical
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15935
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Wed, 15 Nov 2006 15:46:45 +0000 (15:46 +0000)]
Allow alpha as suffix for development releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15934
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 15 Nov 2006 09:17:40 +0000 (09:17 +0000)]
rename parameters to sensible names, the old names where misleading
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15933
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 15 Nov 2006 01:20:31 +0000 (01:20 +0000)]
Use booleans True and False and fix a typo in configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15932
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 21:00:34 +0000 (21:00 +0000)]
QComboBox::textChanged is a Qt3 support signal only, QComboBox::editTextChanged is the new Qt4 signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15931
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 14 Nov 2006 20:45:07 +0000 (20:45 +0000)]
Make nesting levels work. Obviously ++nestdepth does not do in python
what it does in C++.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15930
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 14 Nov 2006 20:33:13 +0000 (20:33 +0000)]
add clarifying comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15929
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 19:54:56 +0000 (19:54 +0000)]
don't pass temporary string objects as parameters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15928
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 17:31:14 +0000 (17:31 +0000)]
set missing property: svn:eol-style native
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15927
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 17:25:31 +0000 (17:25 +0000)]
svn propset svn:eol-style native
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15925
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 14 Nov 2006 17:13:55 +0000 (17:13 +0000)]
* po/*.po: remerge (again)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15924
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 14 Nov 2006 16:56:47 +0000 (16:56 +0000)]
* po/hu.po: update by Alex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15923
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 14 Nov 2006 16:53:38 +0000 (16:53 +0000)]
* po/nn.po: update by Ingar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15922
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Nov 2006 16:46:06 +0000 (16:46 +0000)]
add a FIXME comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15921
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 16:41:09 +0000 (16:41 +0000)]
add bibliography bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15920
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 16:28:44 +0000 (16:28 +0000)]
support::chmod does not take a const char* as file name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15919
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 16:26:16 +0000 (16:26 +0000)]
support::chmod does not take a mode_t as mode parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15918
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 16:11:59 +0000 (16:11 +0000)]
disable chmod usage with msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15917
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 14 Nov 2006 10:06:07 +0000 (10:06 +0000)]
add option to disable the console on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15916
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 14 Nov 2006 08:19:41 +0000 (08:19 +0000)]
update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15915
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 14 Nov 2006 08:15:38 +0000 (08:15 +0000)]
* src/mathed/MathMacroArgument.C
(MathMacroArgument): fix creation of #digit string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15914
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 13 Nov 2006 23:22:31 +0000 (23:22 +0000)]
chmod fixes for msvc
* development/cmake/config.h.cmake:
there is no mode_t
* src/support/copy.C
chmod is declared in io.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15913
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 19:52:05 +0000 (19:52 +0000)]
forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15912
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Mon, 13 Nov 2006 19:23:44 +0000 (19:23 +0000)]
Fix dtl tools detection. A non-empty variable is always true in python,
even if its value is false...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15910
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Mon, 13 Nov 2006 18:52:41 +0000 (18:52 +0000)]
fix signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15909
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 17:51:27 +0000 (17:51 +0000)]
another buglet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15908
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 17:35:18 +0000 (17:35 +0000)]
Add support for the esint package
* src/LaTeXFeatures.C
(LaTeXFeatures::getPackages): handle esint and wasysym
* src/mathed/MathMacroTable.[Ch]
(requires_): New member: tell the feature this macro requires
(MacroTable::insert): take new requires arg
* src/mathed/MathMacroTemplate.C
(MathMacroTemplate::asMacroData): adjust to change above
* src/mathed/MathSupport.C
(fontinfos): add esint10 font
* src/mathed/InsetMathHull.C
(InsetMathHull::doDispatch): AMS_ON -> package_on
* src/mathed/MathMacroTable.h
* src/mathed/MathFactory.C
(initSymbols): read and store requires field for symbols
* src/mathed/InsetMathSymbol.C
(InsetMathSymbol::metrics): handle esint
(InsetMathSymbol::takesLimits): ditto
* src/buffer.C
(LYX_FORMAT): update format
(Buffer::validate): handle esint, AMS_ON -> package_on
* src/bufferparams.C:
(AMSTranslator): Rename to PackageTranslator
(BufferParams::readToken): Read \use_esint
(BufferParams::writeFile): Write \use_esint
* src/frontends/qt4/QDocumentDialog.C: handle esint
* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes
* src/frontends/qt4/GuiFontLoader.C
(symbol_fonts: Add esint10 font
(symbolFamily): handle esint10 font
(isChosenFont): Add comment
* src/frontends/controllers/ControlMath.C
(latex_varsz): Add new integral symbols
* src/support/fontutils.C
(win_fonts_truetype): Add esint10 font
* src/bufferparams.h
(enum AMS): rename to enum Package
(use_esint): new parameter
* src/lyxfont.[Ch]: Add esint font
* lib/symbols: Add new integral symbols
* lib/lyx2lyx/LyX.py
(format_relation): Update format
* lib/lyx2lyx/lyx_1_5.py: handle new format
* lib/chkconfig.ltx: Test esint package
* lib/images/math/oiintop.xpm
* lib/images/math/sqintop.xpm
* lib/images/math/sqint.xpm
* lib/images/math/ointctrclockwiseop.xpm
* lib/images/math/ointctrclockwise.xpm
* lib/images/math/iiintop.xpm
* lib/images/math/iintop.xpm
* lib/images/math/sqiint.xpm
* lib/images/math/iiint.xpm
* lib/images/math/ointclockwiseop.xpm
* lib/images/math/oiint.xpm
* lib/images/math/dotsintop.xpm
* lib/images/math/sqiintop.xpm
* lib/images/math/ointclockwise.xpm
* lib/images/math/iiiintop.xpm
* lib/images/math/dotsint.xpm
* lib/images/math/iiiint.xpm
* lib/images/math/iint.xpm: new icons
* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package
* lib/doc/UserGuide.lyx: Add short documentation of integral symbols
* lib/Makefile.am: Add new files
* development/scons/scons_manifest.py: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 13 Nov 2006 17:28:37 +0000 (17:28 +0000)]
re-enable opaque widget optimization following Trolltech developer advice (in order to speed up Mac).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15906
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 13 Nov 2006 16:59:10 +0000 (16:59 +0000)]
* LyXText::erase(): make sure the paragraph breaking is up to date. This might be not needed with current svn but will be needed for the future optimize-drawing patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15905
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 16:53:49 +0000 (16:53 +0000)]
Extend the navigate menu to child docs
* src/buffer_funcs.h
(updateLabels): Add bool childonly argument
* src/insets/insetbase.h
(addToToc): New virtual method
* src/insets/insetinclude.[Ch]
(addToToc): New virtual method
(updateLabels): New method
* src/TocBackend.h: reorganize classes so that we can forward
declare TocList
* src/insets/insetfloat.[Ch]
* src/insets/insetwrap.[Ch]
(addToToc): Adjust to type changes in TocBackend.h
* src/frontends/qt4/TocModel.[Ch]: ditto
* src/frontends/controllers/ControlToc.[Ch]: ditto
* src/TocBackend.C: ditto
(TocBackend::update) Remove test for float and wrap inset,
call virtual method instead
* src/BufferView.C
(BufferView::dispatch): make LFUN_PARAGRAPH_GOTO work even if the
target paragraph is in a different buffer
* src/MenuBackend.C: Adjust to type changes in TocBackend.h
(expandToc): Add an entry for the master doc in child docs
* src/buffer_funcs.C
(setLabel): Add text class parameter
(updateLabels): handle included docs if requested by the caller
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15904
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 13 Nov 2006 15:05:17 +0000 (15:05 +0000)]
The cursor works on mac now according to Bennet.
Add a replacement bug :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15903
a592a061 -630c-0410-9148-
cb99ea01b6c8