]>
git.lyx.org Git - lyx.git/log
Abdelrazak Younes [Thu, 17 Aug 2006 08:52:32 +0000 (08:52 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14740
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:52:14 +0000 (08:52 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14739
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:51:54 +0000 (08:51 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14738
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:51:41 +0000 (08:51 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14737
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:51:30 +0000 (08:51 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14736
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:51:02 +0000 (08:51 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14735
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:50:34 +0000 (08:50 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14734
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:50:14 +0000 (08:50 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14733
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:49:57 +0000 (08:49 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14732
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:49:40 +0000 (08:49 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14731
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:49:05 +0000 (08:49 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14730
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:48:24 +0000 (08:48 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14729
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:47:52 +0000 (08:47 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14728
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:47:20 +0000 (08:47 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14727
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:46:59 +0000 (08:46 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14726
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:46:38 +0000 (08:46 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14725
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:46:00 +0000 (08:46 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14724
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:45:48 +0000 (08:45 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14723
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:45:13 +0000 (08:45 +0000)]
some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14722
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:44:15 +0000 (08:44 +0000)]
some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14721
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:43:48 +0000 (08:43 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14720
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:37:46 +0000 (08:37 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14718
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:37:26 +0000 (08:37 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14717
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Aug 2006 08:36:59 +0000 (08:36 +0000)]
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14716
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 16 Aug 2006 23:10:31 +0000 (23:10 +0000)]
autotools support for including moc files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14715
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 16 Aug 2006 22:10:20 +0000 (22:10 +0000)]
Add #include "xxx_moc.cpp" to xxx.C files, and stop compiling _moc.cpp individually.
* src/frontends/qt3/[all mocable files].C: add #include _moc.cpp at the end.
* development/scons/SConstruct: do not compile _moc files individually.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14714
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 21:54:55 +0000 (21:54 +0000)]
* configure.ac: add LYX_DATE variable for release date.
* config/lyxinclude.m4: reset release date for development versions.
* src/version.C.in: make lyx_release_date a placeholder.
* src/lyx_main.C (parse_version):
* src/frontends/controllers/ControlAboutlyx.C (getVersion): change a
bit the display of LyX release date.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14712
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 16 Aug 2006 21:50:26 +0000 (21:50 +0000)]
Scons: minor Sconstruct fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14711
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 16 Aug 2006 21:34:24 +0000 (21:34 +0000)]
Scons: add support for msvc qt3
* src/support/package.C.in: use PATH_MAX instead of MAX_PATH
* INSTALL.scons: add instruction for building qt3 2ith msvc
* development/scons/SConstruct: use the right lib (qt-mt3) and manifest file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14709
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 21:12:20 +0000 (21:12 +0000)]
Fix bug 2068 and do some cleanup
* src/CutAndPaste.C (setSelectionRange, replaceWord): remove.
(replaceSelectionWithString): select the new string after
replacement; add a bool parameter indicating in which sense the
selection is made.
* src/lyxfind.C (replace): adapt to above changes.
(find): comment out debug message.
* src/frontends/controllers/ControlSpellchecker.C (isLetter):
rename parameter.
(nextWord): take a LCursor as parameter; set the selection over
the word that has been found.
(check): adapt to changes above (the length of the word is not
necessarily the length of the selection -- fixes bug 2068).
(replace): use cap::replaceSelectionWithString
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14708
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 21:06:40 +0000 (21:06 +0000)]
* src/BufferView_pimpl.C (getStatus, dispatch): do not handle
LFUN_GOTOERROR.
* src/bufferview_funcs.C (findInset): exit early when at end of
document (and avoid a crash).
* src/insets/insetbase.[Ch]: remove ERROR_CODE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14706
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 16 Aug 2006 15:24:38 +0000 (15:24 +0000)]
This commit should hopefully fix all scrolling issues. As an added bonus, mouse scrolling should be faster due to a deleted call to BufferView::update() that was not usefull (the important call to updateMetrics() is done in WorkArea()).
Log:
* BufferView/pimpl:
- scrollDocView(): call to BufferView::update() deleted.
- scrollDocView(): second part is now in setCursorFromScrollbar()
- setCursorFromScrollbar(): new method.
* WorkArea:
- setBufferView(): show the cursor immediately
- redraw(): call to updateScrollbar()
- updateScrollbar(): new method
- scrollBufferView(): fix it and show the cursor immediately.
* qt4/GuiWorkArea
- setScrollbarParams(): now disable the Qt scrollbar tracking.
- paintEvent(): scrollbar related code deleted
* qt3/QWorkArea
- setScrollbarParams(): now disable the Qt scrollbar tracking.
* qt3/QContentPane
- paintEvent(): scrollbar related code deleted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14704
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Wed, 16 Aug 2006 14:22:47 +0000 (14:22 +0000)]
rework mathdelimiter dialog and add size combo...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14703
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 14:07:33 +0000 (14:07 +0000)]
Fix crash in tialian locale when setting Theorem environment (bug2774)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14702
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 16 Aug 2006 11:56:06 +0000 (11:56 +0000)]
Start to export palin text in utf8 (no insets besides InsetText for now)
* src/output_plaintext.C
(asciiParagraph): output utf8 instead of ucs4 garbage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14700
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 10:09:23 +0000 (10:09 +0000)]
* text2.C (init): do not reset curent font (bug 2664)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14698
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 16 Aug 2006 09:57:24 +0000 (09:57 +0000)]
* po/*.po:
* po/POTFILES.in: remerge
* po/Makefile.in.in: get rid of Qt shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14697
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 16 Aug 2006 08:57:00 +0000 (08:57 +0000)]
Port of Martin Vermeer's QNote work: fix of framed and shaded note.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14696
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 15 Aug 2006 21:57:23 +0000 (21:57 +0000)]
This commit transfers most of the LyXView use from BufferView to WorkArea, most notably:
LyXView::updateLayoutChoice();
LyXView::updateToolbars();
LyXView::getLyXFunc().processKeySym(key, state);
LyXView::dispatch(cmd);
* BufferView
- workAreaKeyPress(): deleted
* BufferView::pimpl
- gui(): deleted
- workAreaKeyPress(): deleted
- workAreaDispatch(): special FuncRequest transfered to WorkArea::dispatch()
* WorkArea
- WorkArea(): now needs a LyXView
- lyx_view: new member
- scrollBufferView(): new method
* qt4/GuiWorkArea: adapted to above changes
* qt4/GuiImplementation: ditto
* qt3/GuiWorkArea: ditto
* qt3/QContentPane: ditto
* gtk/GuiWorkArea: ditto
* gtk/GWorkArea: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14695
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 15 Aug 2006 15:43:33 +0000 (15:43 +0000)]
unused code I forgot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14694
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 15 Aug 2006 15:12:26 +0000 (15:12 +0000)]
Fix bug 2768 (inset comment eats space after it)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14692
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Tue, 15 Aug 2006 14:55:34 +0000 (14:55 +0000)]
replace depreciated bitBlt() with calls to qpainter's drawPixmap()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14691
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 15 Aug 2006 14:23:57 +0000 (14:23 +0000)]
Scons: fix ICONV support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14690
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 15 Aug 2006 13:28:23 +0000 (13:28 +0000)]
remove unused stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14687
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 15 Aug 2006 12:31:35 +0000 (12:31 +0000)]
* src/support/docstring.h: Add char_traits template functions for
gcc 3.3.x and older. They were first supplied with the libstdc++ of
gcc 3.4.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14685
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 15 Aug 2006 07:08:58 +0000 (07:08 +0000)]
Update file format for unicode
* src/buffer.C
(LYX_FORMAT): update
* src/bufferparams.h
(inputenc): document
* lib/lyx2lyx/LyX.py
(format_relation): last format is now 249
(get_encoding): return utf8 for formats > 248
* lib/lyx2lyx/lyx_1_5.py
(convert_utf8): don't change \inputencoding anymore
(revert_utf8): new, revert encoding if possible
* development/FORMAT: describe format 249
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14684
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Mon, 14 Aug 2006 21:54:42 +0000 (21:54 +0000)]
Debris from earlier typo fix in file name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14683
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 14 Aug 2006 21:19:03 +0000 (21:19 +0000)]
generate_enconding_info.py renamed to generate_encoding_info.py
As a python advocate Jose you could do better ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14682
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 14 Aug 2006 20:20:36 +0000 (20:20 +0000)]
- avoid testing for fortran when setting up libtool
- test for iconv library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14681
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 14 Aug 2006 20:14:41 +0000 (20:14 +0000)]
LYX_CHECK_ERRORS: exit with status 1 if there is an error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14680
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 14 Aug 2006 19:46:36 +0000 (19:46 +0000)]
* src/output_plaintext.C
(asciiParagraph): fix constant overflow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14679
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 14 Aug 2006 19:14:44 +0000 (19:14 +0000)]
* text2.C (changeDepthAllowed): exit early when selection spans
several cells (bug 2630)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14678
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 14 Aug 2006 16:47:37 +0000 (16:47 +0000)]
Scons: add ICONV_CONST to common/config.h, require library iconv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14676
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 14 Aug 2006 16:38:04 +0000 (16:38 +0000)]
check for ICONV_CONST
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14675
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 14 Aug 2006 16:30:47 +0000 (16:30 +0000)]
deleted "#include <boost/cstdint.hpp>" as it is already in unicode.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14674
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Mon, 14 Aug 2006 15:11:57 +0000 (15:11 +0000)]
rename generate_enconding_info.py to generate_encoding_info.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14673
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Mon, 14 Aug 2006 15:07:13 +0000 (15:07 +0000)]
* furter simplifications:
- simplify setting/unsetting of item
- consolidate 2 methods that set bulletSelected
- store character (int) instead of pointer to item
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14672
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 14 Aug 2006 14:19:52 +0000 (14:19 +0000)]
Windows compilation fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14671
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 14 Aug 2006 11:46:57 +0000 (11:46 +0000)]
enable nls with option >all<, print instruction to enable nls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14670
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 14 Aug 2006 11:18:51 +0000 (11:18 +0000)]
require iconv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14669
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 14 Aug 2006 11:10:43 +0000 (11:10 +0000)]
use module to find support libraries, also search for win32libs( http://www.kdelibs.com/wiki/index.php/3rd-party_libraries_required_for_KDElibs_4 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14668
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 14 Aug 2006 09:33:49 +0000 (09:33 +0000)]
* src/buffer.C
(Buffer::errorList): simplify
* src/buffer.h
emptyErrorList_ move to buffer.C and make it static const
* src/lyx_main.C
(LyX::exec2): Use for_each instead of for loop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14667
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 14 Aug 2006 09:15:37 +0000 (09:15 +0000)]
unicode.C needs inconv.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14666
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 14 Aug 2006 09:00:53 +0000 (09:00 +0000)]
add docstring.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14665
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 14 Aug 2006 08:59:30 +0000 (08:59 +0000)]
search for alloca also in malloc.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14664
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 14 Aug 2006 07:34:43 +0000 (07:34 +0000)]
add docstring.h
reorder alphabetically
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14663
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 14 Aug 2006 00:33:39 +0000 (00:33 +0000)]
Scons: fix a uic bug, add unicode.hC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14662
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sun, 13 Aug 2006 22:54:59 +0000 (22:54 +0000)]
Merge the unicode branch into trunk.
- src/support/unicode.[Ch]: new files with functions for converting
to and fro ucs4, ucs2 and utf8.
- src/support/docstring.h: specialization of basic_string that
holds a uint32_t internally.
- Several functions changed to use char_type instead of char or unsigned char.
- Qt3 and Qt4 sends ucs2 on to core
- Gtk sends ucs4 on to core
- Read and write utf-8 .lyx files.
- font_metrics and painter updated to handle ucs4 chars as input.
- Quite a bit of ugly compability code, conversion string->docstring, etc.
- Have fun...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14661
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 13 Aug 2006 19:07:43 +0000 (19:07 +0000)]
Fix bug 2637
* src/graphics/GraphicsConverter.C
(Converter::Impl::Impl): Don't call the default converter directly,
but create a temporary script with build_script() as for the
configured converters. This makes sure that the file name does not
need to be passed on the command line anymore.
(build_script): This cannot fail anymore, so change the return type
to void
(build_script): Use build_conversion_command also for the default
converter. This has the advantage that the special code for moving
${outfile}.0, ${outfile}.1 is actually used for ImageMagick's convert.
(build_conversion_command): factored out from build_script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14657
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 13 Aug 2006 17:36:49 +0000 (17:36 +0000)]
Fix bug 2723
* src/lyx_sty.C
(lyxgreyedout_def): Use \textcolor instead of \color
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14654
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 13 Aug 2006 16:23:50 +0000 (16:23 +0000)]
Scons: minor INSTALL.scons fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14653
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 13 Aug 2006 16:16:43 +0000 (16:16 +0000)]
This commit creates a error_lists map member inside the Buffer class.
I had no choice but to use string for the map key. This is
because the only information that could be passed to the controller is a
string.
With this new architecture, persistent error lists are now possible.
* Buffer
- errorList_, addError(), : deleted
- std::map<std::string, ErrorList> errorLists_ : new member
- errorList(std::string const & type): associated accessors
* buffer_funcs.C
- bufferErrors(Buffer const & buf, TeXErrors const & terr): now needs a third errorList argument
- bufferErrors(Buffer const & buf, ErrorList const & el): deleted.
* Converter
- convert(): now needs an ErrorList argument instead of filling the Buffer errorList member directly.
- runLaTeX(): ditto
- scanLog(): ditto
* CutAndPaste.C
- pasteParagraphList(): ditto
- pasteSelection(): ditto
* lyxtext.h/text.C
- readParagraph(): ditto
- LyXText::read(): ditto
* importer:
- Importer::Import(): ditto
* BufferView_pimpl.C
- loadLyXFile(): send the Buffer::errors() signal instead of calling LyXView::showErrorList() directly.
* exporter.C
- Export(): send the Buffer::errors() signal instead of calling LyXView::showErrorList() directly in lyxfunc.C
* ControlErrorList.C
- initialiseParams(): translation operation transfered here from LyXView::showErrorList().
* LyXView.C
- LoadLyXFile(): add a showErrorList("Parse") call.
- showErrorList(): simplified due to code transferred to the ControlErrorList.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14652
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 13 Aug 2006 15:55:03 +0000 (15:55 +0000)]
GuiWorkArea: #undef QT3_SUPPORT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14649
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Sun, 13 Aug 2006 15:44:05 +0000 (15:44 +0000)]
make bullet configuration functional in the document settings dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14647
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 13 Aug 2006 15:43:27 +0000 (15:43 +0000)]
* lib/doc/Extended.lyx: Remove the registered-sign from a heading,
since it can not be represented in the Czech sdoc_toc in latin2
encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14646
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Sun, 13 Aug 2006 15:29:59 +0000 (15:29 +0000)]
* dociterator.C (forwardPosNoDescend): when at the end of the
inset, leave it, like forwardPos does (bug 2510).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14645
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 13 Aug 2006 14:30:40 +0000 (14:30 +0000)]
Scons: fix a filelist bug (missing spell.C)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14643
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 13 Aug 2006 13:57:32 +0000 (13:57 +0000)]
* lib/doc/doc_toc.py: Add language info for Czech
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14642
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 13 Aug 2006 10:21:06 +0000 (10:21 +0000)]
* development/tools/mkdoclinks.sh:
* development/tools/makeLyXsigc.sh:
* development/tools/scgen.pl: remove obsolete files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14637
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 13 Aug 2006 09:46:28 +0000 (09:46 +0000)]
Fix bug 2289
* src/tex2lyx/text.C
(void parse_noweb): new, parse a noweb code chunck
(void parse_text): handle noweb <<xxx>>= and [[xxx]] constructs
* src/tex2lyx/tex2lyx.[Ch]: new global variable noweb_mode and
command line option to set it
* src/tex2lyx/preamble.C
(parse_preamble): prepend "literate-" to the textclass name in
noweb mode
* lib/configure.py
(checkConverterEntries): fix literate -> lyx converter
(checkConverterEntries): fix typo in latex -> sxw converter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14635
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 13 Aug 2006 04:54:25 +0000 (04:54 +0000)]
Scons: stop globbing filenames, use explicit file list instead.
* INSTALL.scons: stop lyx1.4.x/qt2 support
* development/scons/scons_manifest.py: list of all filenames
* development/scons/SConstruct: use explicit file list
* development/scons/scons_utils.py: remove globFiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14634
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 13 Aug 2006 01:51:05 +0000 (01:51 +0000)]
Scons: check minor version number (>=0.96.92)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14633
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 12 Aug 2006 20:58:11 +0000 (20:58 +0000)]
remove lyxsocket and all obsolete Win32-related files from ./development
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14632
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 12 Aug 2006 20:48:38 +0000 (20:48 +0000)]
* lib/chkconfig.ltx: fix comments ("LyXConfig.lyx.in" =>
LaTeXConfig.lyx.in")
* lib/doc/LyXConfig.lyx.in: remove obsolete file
* lib/doc/Makefile.am: remove LyXConfig.lyx.in from EXTRA_DIST
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14630
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 12 Aug 2006 20:05:28 +0000 (20:05 +0000)]
* src/tex2lyx/test.ltx:
* lib/layouts/revtex4.layout: refer to tex2lyx rather than
reLyX in comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14627
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Sat, 12 Aug 2006 16:38:51 +0000 (16:38 +0000)]
* buffer.C (updateDocLang): update labels when changing language.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14625
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 12 Aug 2006 16:25:51 +0000 (16:25 +0000)]
* GuiView:
- mainWidget(): deleted
* GuiImplementation.C: adapted to above change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14624
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Sat, 12 Aug 2006 11:26:09 +0000 (11:26 +0000)]
* Customization.lyx:
* fr_Customization.lyx:
* de_Customization.lyx: remove reference to reLyX.
* Tutorial.lyx: rename sec:relyx label to sec:tex2lyx.
* fr_Tutorial.lyx: ditto, and change references to reLyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14622
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 12 Aug 2006 10:39:12 +0000 (10:39 +0000)]
Move quoteArg to LyXLex so that it can be used e.g. for writing viewers to
preferences
* src/lyxfunc.C
(quoteArg): move to LyXLex
(LyXFunc::dispatch): adjust to the change above
* src/lyxlex.[Ch]
(quoteString): new, moved from lyxfunc.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14620
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 11 Aug 2006 22:11:33 +0000 (22:11 +0000)]
* lyx_main.C (init): Do automatic reconfiguration even when
running in batch mode (bug 2741).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14619
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 11 Aug 2006 21:41:56 +0000 (21:41 +0000)]
Fix bug 2756:
* src/BufferView_pimpl.C (dispatch/LFUN_NEXT_INSET_TOGGLE): moved from
LyXText.
* src/text3.C (dispatch/LFUN_NEXT_INSET_TOGGLE): moved to
BufferView::Pimpl, since this should work in mathed too.
* src/mathed/math_nestinset.C (doDispatch/LFUN_INSET_TOGGLE): do not try to
do the work which belongs to LFUN_NEXT_INSET_TOGGLE (bug 2756).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14617
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 11 Aug 2006 09:42:25 +0000 (09:42 +0000)]
new Czech splash; update Czech tutorial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14614
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 11 Aug 2006 04:47:22 +0000 (04:47 +0000)]
Correct Russian->English translation for development/Win32/hidecmd.c, by hasherfrog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14612
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 10 Aug 2006 15:55:11 +0000 (15:55 +0000)]
add Sanda Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14610
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Thu, 10 Aug 2006 14:16:30 +0000 (14:16 +0000)]
remove accelerator keys (Alt+) from designer files...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14608
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 10 Aug 2006 09:23:52 +0000 (09:23 +0000)]
update from Sanda Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14603
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 10 Aug 2006 08:56:59 +0000 (08:56 +0000)]
new Czech translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14600
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Wed, 9 Aug 2006 22:22:59 +0000 (22:22 +0000)]
Add language and encoding information
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14599
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Wed, 9 Aug 2006 22:18:27 +0000 (22:18 +0000)]
Add language attribute to default file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14598
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 9 Aug 2006 22:06:38 +0000 (22:06 +0000)]
add Kostantino
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14595
a592a061 -630c-0410-9148-
cb99ea01b6c8